.tooltip {
    visibility: hidden;
    width: 180px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
}

.lock-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.lock-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #b8a14f;
    /* Gold color for a premium look */
    font-size: 1.2em;
    /* Size of the lock icon */
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    padding-right: 30px;
    /* Space for the lock icon */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[readonly] {
    background-color: #f3f3f3;
    /* Light grey color for readonly fields */
    cursor: not-allowed;
}

/* Base Container */
.team-mxt-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Arial', sans-serif;
}

/* Form Layout */
.team-mxt-wrap h1 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

/* Labels and Input Fields */
.team-mxt-wrap label {
    display: block;
    margin: 10px;
    color: #555;
    font-size: 1em;
    font-weight: bold;
}

.team-mxt-wrap input[type="text"],
.team-mxt-wrap input[type="email"],
.team-mxt-wrap input[type="url"],
.team-mxt-wrap input[type="number"],
.team-mxt-wrap textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    color: #333;
}

.team-mxt-wrap input[type="text"]:focus,
.team-mxt-wrap input[type="email"]:focus,
.team-mxt-wrap input[type="url"]:focus,
.team-mxt-wrap input[type="number"]:focus,
.team-mxt-wrap textarea:focus {
    border-color: #0085ba;
    box-shadow: 0 0 8px rgba(0, 133, 186, 0.3);
    outline: none;
}

/* Image Upload Section */
.team-mxt-image-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

#team_mxt_image_preview {
    flex-grow: 1;
    margin-right: 20px;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    text-align: center;
    background-color: #fff;
}

/* Buttons */
.team-mxt-wrap .button {
    background-color: #0073aa;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s, transform 0.2s;
}

.team-mxt-wrap .button:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

/* Submit Button */
.team-mxt-wrap button.button-primary {
    background-color: #46b450;
    border-color: #46b450;
}

.team-mxt-wrap button.button-primary:hover {
    background-color: #39963a;
}

/* Advanced Styling */
.team-mxt-wrap input[type="text"]:invalid,
.team-mxt-wrap input[type="email"]:invalid,
.team-mxt-wrap input[type="number"]:invalid,
.team-mxt-wrap input[type="url"]:invalid {
    border-color: #ff6c6c;
}

.lock-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #007bff;
    /* Aesthetic blue color, you can change this to match your design */
    font-size: 20px;
    /* Size of the lock icon */
    z-index: 2;
}

.team-mxt-field {
    position: relative;
    padding-right: 30px;
    /* Space for lock icon */
}

input[readonly] {
    background-color: #f3f3f3;
    /* Gray background for readonly fields */
    cursor: not-allowed;
}

/* Additional styling for buttons */
.button.add-more-department,
.button.delete-department {
    margin-left: 10px;
    background-color: #4CAF50;
    /* Green color for buttons */
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.button.add-more-department:hover,
.button.delete-department:hover {
    background-color: #45a049;
}

.team-mxt-social-field {
    margin-bottom: 15px;
}

.team-mxt-social-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    width: 100%;
}

.team-mxt-social-field input[type="text"] {
    width: 100% !important;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.team-mxt-social-field input[type="text"]:focus {
    border-color: #90ff95;
    outline: none;
}

.toggle-dropdown {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #000;
    color: #90ff95;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.toggle-dropdown:hover {
    background-color: #333;
}

#socialMediaDropdown {
    display: none;
    padding: 20px;
    border-top: 1px solid #ccc;
    margin-top: 20px;
}

#socialMediaDropdown .team-mxt-social-field {
    margin-top: 10px;
}

.toggle-dropdown {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-dropdown:hover {
    background-color: #2275d7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.toggle-dropdown i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.toggle-dropdown:hover i {
    transform: rotate(180deg);
}