/* ===================================================
   GRONTHOTORI AUTH MODAL CSS
   =================================================== */

.auth-modal-overlay {
    display: none; 
    position: fixed; 
    z-index: 999999; 
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.65); 
    backdrop-filter: blur(4px);
    justify-content: center; align-items: center;
}

.auth-modal-content {
    background: #ffffff;
    width: 90%; max-width: 380px;
    padding: 25px 20px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
    animation: popupFade 0.3s ease-out;
}

@keyframes popupFade {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.auth-modal-close {
    position: absolute; right: 15px; top: 10px;
    font-size: 26px; font-weight: bold; color: #888;
    cursor: pointer; transition: 0.2s;
}
.auth-modal-close:hover { color: var(--gt-purple); }

.auth-modal-close {
    border: 0;
    background: transparent;
    line-height: 1;
    padding: 0;
}
.gt-auth-root { color: var(--gt-ink); }
.gt-auth-root h3 {
    color: var(--gt-purple);
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 10px;
}
.gt-auth-root .monkey-avatar-container { margin: 0 0 8px; text-align: center; }
.gt-auth-monkey { display: inline-block; font-size: 58px; line-height: 1.1; transition: transform .18s ease; }
.gt-auth-root label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    margin: 0 0 11px;
}
.gt-auth-root label .form-control {
    margin-top: 5px;
    min-height: 42px;
    border-radius: 9px;
    border-color: #ded8e9;
}
.gt-auth-root label .form-control:focus {
    border-color: var(--gt-purple);
    box-shadow: 0 0 0 3px rgba(77,44,145,.12);
}
.gt-auth-root .btn-primary {
    background: var(--gt-purple);
    border-color: var(--gt-purple);
    min-height: 43px;
}
.gt-auth-switch { font-size: 13px; margin: 12px 0 0; }
.gt-auth-switch a { color: var(--gt-purple); font-weight: 700; }
.gt-auth-help { font-size: 13px; line-height: 1.55; margin: 0 0 12px; color: var(--gt-muted); text-align: left; }
.gt-auth-notice { min-height: 0; margin: 0; font-size: 13px; font-weight: 600; }
.gt-auth-notice:not(:empty) { margin: 0 0 9px; }
.gt-auth-notice.is-loading { color: var(--gt-purple); }
.gt-auth-notice.is-success { color: #18743e; }
.gt-auth-notice.is-error { color: #b3261e; }
.gt-auth-view[hidden] { display: none !important; }
.gt-auth-page { max-width: 450px; margin: 34px auto; padding: 26px; background: #fff; border: 1px solid var(--gt-line); border-radius: 16px; box-shadow: var(--gt-shadow); text-align: center; }
body.woocommerce-account:not(.logged-in) #customer_login { display: none !important; }

@media (max-width: 991.98px) {
    .auth-modal-overlay { padding: 16px; overflow-y: auto; }
    .auth-modal-content { width: min(100%, 390px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 18px; }
}