/* ==========================================================
   AUTH MODAL
========================================================== */

.history-modal.auth-modal{

    max-width:420px;

}

.auth-tabs{

    display:flex;

    gap:4px;

    margin:18px 28px 0;

    background:#F1F5F9;

    border-radius:10px;

    padding:4px;

}

.auth-tab{

    flex:1;

    background:none;

    border:none;

    border-radius:8px;

    padding:9px;

    font-size:13.5px;

    font-weight:600;

    color:#64748B;

    cursor:pointer;

    transition:.2s;

}

.auth-tab.active{

    background:#fff;

    color:#0E6544;

    box-shadow:0 1px 3px rgba(15,23,42,.08);

}

.auth-form{

    display:flex;

    flex-direction:column;

    gap:28px;

    padding:24px 28px 28px;

    overflow-y:auto;

    flex:1 1 auto;

    min-height:0;

}

.auth-form input{

    height:48px;

    padding:0 16px;

    border:1.5px solid #CBD5E1;

    border-radius:10px;

    font-size:16px;

    color:#111827;

    background:#F8FAFC;

    box-shadow:0 1px 2px rgba(15,23,42,.04);

    transition:.2s;

    width:100%;

    box-sizing:border-box;

}

.auth-form input::placeholder{

    color:#94A3B8;

}

.auth-password-wrap{

    position:relative;

}

.auth-password-wrap input{

    padding-right:46px;

}

.auth-toggle-password{

    position:absolute;

    right:4px;

    top:50%;

    transform:translateY(-50%);

    width:38px;

    height:38px;

    border:none;

    background:none;

    font-size:16px;

    cursor:pointer;

    opacity:.5;

    transition:.2s;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0;

}

.auth-toggle-password:hover{

    opacity:.9;

}

.auth-toggle-password.active{

    opacity:1;

}

.auth-form input:focus{

    outline:none;

    border-color:#0E6544;

    background:#fff;

    box-shadow:0 0 0 4px rgba(14,101,68,.08);

}

.account-login-btn{

    display:block;

    width:100%;

    box-sizing:border-box;

    text-align:center;

    background:#0E6544;

    color:#fff;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    padding:12px;

    border-radius:10px;

    transition:.2s;

}

.account-login-btn:hover{

    background:#0A4E35;

    color:#fff;

}

.auth-form .account-login-btn{

    margin-top:4px;

    border:none;

    cursor:pointer;

}

.auth-hint{

    font-size:13.5px;

    color:#64748B;

    margin:0 0 4px;

    line-height:1.5;

}

.auth-link{

    text-align:center;

    font-size:13px;

    color:#0E6544;

    text-decoration:none;

    font-weight:600;

}

.auth-link:hover{

    text-decoration:underline;

}

.auth-error{

    display:none;

    margin:16px 28px 0;

    padding:12px 14px;

    background:#FEF2F2;

    border:1px solid #FEE2E2;

    border-radius:10px;

    color:#DC2626;

    font-size:13.5px;

}

.auth-error.active{

    display:block;

}

/* ==========================================================
   HONEYPOT (invisible to humans, visible to basic bots)
========================================================== */

.png-honeypot-field{

    position:absolute;

    left:-9999px;

    top:-9999px;

    width:1px;

    height:1px;

    overflow:hidden;

}

/* ==========================================================
   ALERT / CONFIRM MODAL
========================================================== */

.png-alert-modal{

    max-width:400px;

    padding:32px 28px 28px;

    text-align:center;

}

.png-alert-icon{

    font-size:32px;

    margin-bottom:14px;

}

.png-alert-message{

    font-size:15px;

    color:#1F2937;

    line-height:1.55;

    margin-bottom:24px;

    white-space:pre-wrap;

    word-break:break-word;

}

.png-alert-buttons{

    display:flex;

    gap:10px;

    justify-content:center;

}

.png-alert-ok-btn{

    background:#0E6544;

    color:#fff;

    border:none;

    border-radius:10px;

    padding:11px 28px;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

    flex:1;

    max-width:160px;

}

.png-alert-ok-btn:hover{

    background:#0A4E35;

}

.png-alert-cancel-btn{

    background:#F1F5F9;

    color:#334155;

    border:none;

    border-radius:10px;

    padding:11px 28px;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

    flex:1;

    max-width:160px;

}

.png-alert-cancel-btn:hover{

    background:#E2E8F0;

}

.png-alert-modal.danger .png-alert-ok-btn{

    background:#DC2626;

}

.png-alert-modal.danger .png-alert-ok-btn:hover{

    background:#B91C1C;

}

.png-delete-account-input{

    width:100%;

    height:44px;

    padding:0 14px;

    border:1.5px solid #CBD5E1;

    border-radius:10px;

    font-size:16px;

    margin-bottom:8px;

    box-sizing:border-box;

}

.png-delete-account-input:focus{

    outline:none;

    border-color:#DC2626;

}
