/* Authentication / access enhancements */
#auth-screen{background:#f4f6fb!important;color:#172033!important;}
#auth-screen .auth-card{background:#fff!important;border:1px solid #d8deea!important;box-shadow:0 18px 55px rgba(23,32,51,.10)!important;}
#auth-screen .auth-brand-icon{background:linear-gradient(135deg,#3858d6 0%,#4f68dc 68%,#d97722 150%)!important;box-shadow:0 8px 22px rgba(56,88,214,.20);}
#auth-screen h1{color:#172033!important;}
#auth-screen p,#auth-screen .auth-muted{color:#68748a!important;}
#auth-screen .vault-input{background:#fff!important;border-color:#d8deea!important;color:#172033!important;}
#auth-screen .field-label{color:#68748a!important;}
#auth-screen .auth-tabs{background:#f1f3f8!important;border:1px solid #e0e5ef!important;}
#auth-screen .auth-tabs button{color:#68748a!important;}
#auth-screen .auth-tabs button.active{color:#fff!important;background:linear-gradient(135deg,#3858d6,#4f68dc 72%,#d97722 155%)!important;box-shadow:0 3px 10px rgba(56,88,214,.16);}
#auth-screen .auth-primary{background:linear-gradient(135deg,#3858d6 0%,#4f68dc 72%,#d97722 155%)!important;color:#fff!important;}
#auth-screen .auth-secondary{background:#fff!important;border:1px solid #d8deea!important;color:#3858d6!important;}
#auth-screen .password-eye{color:#68748a!important;}
#auth-screen .password-eye:hover{color:#3858d6!important;background:#eef1fc!important;}

.auth-card{border-radius:1rem;padding:1.5rem;}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;border-radius:.65rem;margin-bottom:1.1rem;}
.auth-tabs button{padding:.62rem;border-radius:.5rem;font-size:.82rem;font-weight:600;}
.auth-primary{width:100%;border-radius:.58rem;padding:.72rem .9rem;font-size:.84rem;font-weight:700;}
.auth-secondary{width:100%;border-radius:.58rem;padding:.68rem .9rem;font-size:.8rem;font-weight:600;}
.auth-divider{display:flex;align-items:center;gap:.75rem;color:#8a96aa;font-size:.68rem;margin:.9rem 0;}
.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:#d8deea;}
.password-wrap{position:relative;}
.password-wrap .vault-input{padding-right:2.65rem!important;}
.password-eye{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);width:2rem;height:2rem;border-radius:.4rem;display:flex;align-items:center;justify-content:center;}
.auth-link{font-size:.72rem;color:#3858d6!important;font-weight:600;}
#google-login-button>div{margin:0 auto;max-width:100%;}
#google-login-note{font-size:.64rem;line-height:1.35;text-align:center;margin-top:.4rem;color:#8a96aa;}
.role-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.15rem .42rem;border-radius:999px;background:rgba(56,88,214,.10);color:#3858d6;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;}
.admin-user-row{display:grid;grid-template-columns:minmax(180px,1fr) 110px 90px auto;gap:.65rem;align-items:center;padding:.7rem;border:1px solid #d8deea;border-radius:.65rem;background:#fff;}
.admin-user-row strong{display:block;color:#172033;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-user-row small{display:block;color:#68748a;font-size:.61rem;margin-top:.12rem;}
.admin-active{font-size:.7rem;display:flex;align-items:center;gap:.35rem;color:#526079;}
.reset-success-box{border:1px solid #b9dfc8;background:#f0faf4;border-radius:.8rem;padding:1rem;text-align:center;}
.reset-success-icon{width:42px;height:42px;margin:0 auto .65rem;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#dff4e7;color:#237248;}
.reset-success-box h3{font-size:1rem;font-weight:800;color:#172033;margin-bottom:.35rem;}
.reset-success-box p{font-size:.76rem;line-height:1.55;color:#4e5e73!important;}
.reset-success-box strong{color:#172033;}
.reset-success-box .reset-success-note{margin-top:.45rem;color:#68748a!important;font-size:.68rem;}
body.process-dark .admin-user-row{background:#0d1423;border-color:#25314a;}
body.process-dark .admin-user-row strong{color:#f3f6fc;}
body.process-dark .admin-user-row small,body.process-dark .admin-active{color:#8793aa;}
@media(max-width:650px){.admin-user-row{grid-template-columns:1fr 95px}.admin-user-row .admin-active,.admin-user-row .admin-save{grid-row:2}.auth-card{padding:1.15rem}}
