

/* Popup Background */
.iafwzc-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 */
.iafwzc-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 */
.iafwzc-auth-popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

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

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

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

.iafwzc-auth-input,
.iafwzc-auth-select {
    width: 100% !important;
    padding: 5px !important;
    font-size: 1em !important;
    border: 1px solid #7e7a7a  !important;
    border-radius: 4px !important;
    color: #504b4b !important;
      height: 36px !important;
  min-height: 36px !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
}


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

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

.iafwzc-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 */
}

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

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

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

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

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

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

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

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