.team-mxt-body .image-preview-container {
    position: absolute;
    padding: 1px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 300px;
    display: none;
}

.team-mxt-body .image-preview {
    width: 250px;
    height: auto;
    margin: 5px;
}

.team-mxt-body .shortcodeandcarouselsettings {
    display: flex;
    flex-wrap: wrap;
    max-width: 249px;
    justify-content: center;
}

.team-mxt-body input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.team-mxt-body input[type="checkbox"]:hover {
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.team-mxt-body input[type="submit"] {
    background-color: #4caf50;
    background-image: linear-gradient(to right, #66bb6a, #43a047);
    color: white;
    padding: 7px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.team-mxt-body input[type="submit"]:hover {
    background-color: #388e3c;
    transform: translateY(-2px);
}

.team-mxt-body input[type="submit"]:active {
    transform: translateY(1px);
}

.team-mxt-body .design-section {
    padding: 20px;
    box-sizing: border-box;
}

.team-mxt-body .design-section h2 {
    background: linear-gradient(45deg, #4ca6af, #4caf508c);
    color: white;
    padding: 10px;
    border-radius: 5px;
}

.team-mxt-body .style-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.team-mxt-body .style-category {
    flex: 0 0 auto;
    margin-right: 20px;
}

.team-mxt-body .category-title {
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

.team-mxt-body .style-label {
    display: block;
}

.team-mxt-body .card {
    padding: 0 !important;
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.team-mxt-body .speech-bubble {
    animation: popIn 0.7s ease-out forwards;
}

.team-mxt-body .department-filter {
    display: none;
}

.team-mxt-body .containerx {
    max-width: 900px;
    margin: 0 auto;
}

.team-mxt-admin-wrap2 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* General button styling */
}

.team-mxt-admin-wrap2 form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-mxt-admin-wrap2 form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
}

.team-mxt-admin-wrap2 form label:hover {
    color: #000;
}

.team-mxt-admin-wrap2 form select {
    width: 100%;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.team-mxt-admin-wrap2 form select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.team-mxt-admin-wrap2 form input[type="checkbox"] {
    margin-right: 10px;
}

.team-mxt-admin-wrap2 form .image-preview-container {
    margin-top: 10px;
}

.team-mxt-admin-wrap2 form .image-preview-container img {
    width: 100%;
    max-width: 250px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.team-mxt-shortcode-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.team-mxt-shortcode-display input {
    flex: 1;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.team-mxt-shortcode-display input:focus {
    outline: none;
    border-color: #007bff;
}

.team-mxt-shortcode-display button {
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.3s;
}

.team-mxt-shortcode-display button:hover {
    background-color: #0056b3;
}

.team-mxt-admin-wrap2 button,
.team-mxt-admin-wrap2 input[type="submit"] {
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #28a745;
    color: white;
    transition: background-color 0.3s;
}

.team-mxt-admin-wrap2 button:hover,
.team-mxt-admin-wrap2 input[type="submit"]:hover {
    background-color: #218838;
}
.notification .close-btn {
	 position: absolute;
	 top: 0;
	 right: 0;
	 padding: 10px;
	 cursor: pointer;
	 font-size: 18px;
	 color: #666;
}
 .notification .close-btn:hover {
	 color: #333;
}

@media (max-width: 768px) {
    .team-mxt-admin-wrap2 form {
        flex-direction: column;
    }
}

#wpfooter p,
#footer-thankyou {
    display: none;
}
.notification {
	 position: fixed;
	 bottom: -100%;
	 right: 20px;
	 width: 300px;
	 background-color: #f9f9f9;
	 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	 border-radius: 10px;
	 transition: bottom 0.3s ease-in-out;
	 z-index: 1000;
}
 .notification .close-btn {
	 position: absolute;
	 top: 5px;
	 right: 10px;
	 cursor: pointer;
	 color: #666;
	 font-size: 20px;
}
 .notification .character {
	 font-size: 30px;
	 text-align: center;
	 padding: 10px;
}
 .notification .character .fas {
	 color: #4a76a8;
}
 .notification .speech-bubble {
	 padding: 15px;
}
 .notification .speech-bubble .message {
	 font-size: 14px;
	 line-height: 1.4;
	 color: #333;
}
 .notification .speech-bubble .message a {
	 color: green;
	 text-decoration: none;
}
 .notification .speech-bubble .message a:hover {
	 text-decoration: underline;
}


.modal {
  position: relative;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  display: none;
  width:200px;
  border-radius:12px;
  text-align: center;
  }
.modal a {
    padding: 4px 5px;
    background: #4caf50;
    border-radius: 13px;
    color:#fff;
  text-decoration: none !important;
}
.modal a:hover {
    background: #409143;
}

.button.disabled:hover {
  background-color: #f0f0f0;
}
.button-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Premium */
.premium-badge {
    color: #000000;
    font-size: 12px;
    cursor: pointer;
    position: relative;
}

.premium-tooltip {
    display: none;
    position: absolute;
    background: #000000;
    color: rgb(255, 217, 0);
    padding: 8px 12px;
    border-radius: 4px;
    width: 250px;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
}

.premium-tooltip:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #000000 transparent transparent transparent;
}

.premium-badge:hover .premium-tooltip {
    display: block;
}

.premium-link:hover {
    color: #ffffff;
    transition: color 0.3s ease;
}
.blur-field {
    filter: blur(2px);
    -webkit-filter: blur(2px);
    user-select: none;
    -webkit-user-select: none;
  }