.glivu-login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 9999;
    min-height: 200px;
}

/* THE NUCLEAR OPTION */
.glivu-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.glivu-form-wrapper {
    width: 100%;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* --- TABS NAVIGATION --- */
.glivu-tabs-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.glivu-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px; /* Overlap border */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
}

.glivu-tab-item:hover {
    color: #333;
}

.glivu-tab-item.active {
    color: #0073aa; /* Default WP Blue, customizable via CSS overrides */
    border-bottom-color: #0073aa;
}
/* ------------------------ */

.glivu-field {
    margin-bottom: 15px;
}

.glivu-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.glivu-field input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.glivu-field input:focus {
    outline: none;
    border-color: #0073aa; 
}

/* Strength Meter */
.glivu-strength-container {
    margin-bottom: 15px;
    margin-top: -10px;
    display: block; 
}

.glivu-strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.glivu-strength-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.glivu-strength-text {
    font-size: 12px;
    font-weight: 600;
    display: block;
    text-align: right;
}

.glivu-field-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.glivu-field-checkbox input {
    width: auto;
    margin-right: 10px;
}

.glivu-field-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

button.glivu-submit {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s, opacity 0.3s;
}

button.glivu-submit:hover {
    background-color: #555;
}

button.glivu-submit:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.glivu-message {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.glivu-message.error {
    color: #d63638;
    background: #fbeaea;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #dc3232;
}

.glivu-message.success {
    color: #00a32a;
    background: #edfaef;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #46b450;
}

.glivu-toggle-text {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.glivu-toggle-text a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.glivu-toggle-text a:hover {
    text-decoration: underline;
}
/* Biometric Prompt Modal - Estilo Bancario */
.glivu-biometric-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glivu-biometric-modal-overlay.show {
    opacity: 1;
}

.glivu-biometric-modal {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.glivu-biometric-modal-overlay.show .glivu-biometric-modal {
    transform: scale(1);
}

.glivu-biometric-icon {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1;
}

.glivu-biometric-modal h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.glivu-biometric-modal p {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.glivu-biometric-subtitle {
    font-size: 14px !important;
    color: #999 !important;
    margin-bottom: 25px !important;
}

.glivu-biometric-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.glivu-biometric-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.glivu-biometric-decline {
    background: #f0f0f0;
    color: #666;
}

.glivu-biometric-decline:hover {
    background: #e0e0e0;
}

.glivu-biometric-accept {
    background: #007bff;
    color: white;
}

.glivu-biometric-accept:hover {
    background: #0056b3;
}

.glivu-biometric-close {
    background: #007bff;
    color: white;
    width: 100%;
    margin-top: 20px;
}

.glivu-biometric-close:hover {
    background: #0056b3;
}

.glivu-biometric-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .glivu-biometric-modal {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .glivu-biometric-modal h2 {
        font-size: 20px;
    }

    .glivu-biometric-icon {
        font-size: 48px;
    }

    .glivu-biometric-buttons {
        flex-direction: column;
    }
}
