

/* Popup Background */
.iafwzdesk-auth-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

/* Popup Content */
.iafwzdesk-auth-popup-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

/* Show Popup */
.iafwzdesk-auth-popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Form Styles */
.iafwzdesk-auth-popup-title {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.iafwzdesk-auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.iafwzdesk-auth-label {
    font-size: 1em;
    font-weight: 600;
    color: #110303;
    text-align: left;
}

.iafwzdesk-auth-input,
.iafwzdesk-auth-select {
    width: 100% !important;
    padding: 5px !important;
    font-size: 1em !important;
    border: 1px solid #7e7a7a  !important;
    border-radius: 4px !important;
    color: #504b4b !important;
}


.iafwzdesk-auth-input:focus,
.iafwzdesk-auth-select:focus {
    border-color: #007bff;
    outline: none;
}

/* Center alignment for button */
.iafwzdesk-auth-button-container {
    display: flex;
    justify-content: center;
}

.iafwzdesk-auth-button {
    padding: 5px 10px;
    color: #fff; /* WordPress blue */
    border: 1px solid #0073aa; /* Outlined border */
    background-color: #2271b1;
    border-radius: 3px;
    font-size: 13px; /* Adjusted to match WordPress button size */
    font-weight: normal; /* Matches the WordPress button weight */
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 1.2; /* Adjust for balanced button height */
}

.iafwzdesk-auth-button:hover {
    /* color: #006799;
    border-color: #006799; */
    background-color: #1a5a8a; 
}

/* Message Styles */
.iafwzdesk-auth-message {
    /* display: none; */
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

.iafwzdesk-auth-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.iafwzdesk-auth-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .iafwzdesk-auth-popup-content {
        padding: 15px;
        width: 90%;
    }

    .iafwzdesk-auth-popup-title {
        font-size: 1.2em;
    }

    .iafwzdesk-auth-input,
    .iafwzdesk-auth-select,
    .iafwzdesk-auth-button {
        font-size: 0.9em;
        padding: 8px;
    }
}

.iafwzdesk-auth-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}
.iafwzdesk-auth-label > span:first-of-type {
    color: red;
    font-weight: bold;
}
