

/* Popup Background */
.integrazo-wz-accounts-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;
    z-index: 9999; /* ADD THIS */
}

/* Popup Content */
.integrazo-wz-accounts-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;
    z-index: 10000; /* ADD THIS */
}

.integrazo-wz-accounts-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

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

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

.integrazo-wz-accounts-auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

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



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

/* Center alignment for button */
.integrazo-wz-accounts-auth-button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.integrazo-wz-accounts-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 */
}

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

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

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

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

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

    .integrazo-wz-accounts-auth-popup-title {
        font-size: 1.2em;
    }

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

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