/* Oost AI - Auth Modal Styles | Session 54 */
.oost-auth-overlay{position:fixed;inset:0;background:rgba(31,41,55,0.45);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:9000;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;padding:20px}
.oost-auth-overlay.visible{opacity:1;visibility:visible}
.oost-auth-modal{background:#fff;border:1px solid #E5E7EB;border-radius:16px;width:100%;max-width:420px;padding:40px 36px 36px;box-shadow:0 20px 60px rgba(0,0,0,.08),0 4px 16px rgba(0,0,0,.04);transform:translateY(12px) scale(.97);transition:transform .3s cubic-bezier(.16,1,.3,1);position:relative}
.oost-auth-overlay.visible .oost-auth-modal{transform:translateY(0) scale(1)}
.oost-auth-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border:none;background:transparent;color:#9CA3AF;font-size:20px;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}
.oost-auth-close:hover{background:#F3F4F6;color:#1F2937}
.oost-auth-header{text-align:center;margin-bottom:28px}
.oost-auth-logo{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px}
.oost-auth-logo-icon{width:36px;height:36px;background:#0891B2;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:16px}
.oost-auth-logo-text{font-size:22px;font-weight:700;color:#1F2937;letter-spacing:-.3px}
.oost-auth-logo-text span{color:#0891B2}
.oost-auth-title{font-size:18px;font-weight:600;color:#1F2937;margin:0 0 6px}
.oost-auth-subtitle{font-size:14px;color:#6B7280;margin:0;line-height:1.5}
.oost-auth-google-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;border:1px solid #E5E7EB;border-radius:10px;background:#fff;color:#1F2937;font-size:14px;font-weight:500;cursor:pointer;transition:border-color .15s,box-shadow .15s;margin-bottom:20px}
.oost-auth-google-btn:hover{border-color:#D1D5DB;background:#FAFBFC;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.oost-auth-google-btn svg{width:18px;height:18px;flex-shrink:0}
.oost-auth-divider{display:flex;align-items:center;gap:12px;margin-bottom:20px;color:#9CA3AF;font-size:13px}
.oost-auth-divider::before,.oost-auth-divider::after{content:"";flex:1;height:1px;background:#E5E7EB}
.oost-auth-form{display:flex;flex-direction:column;gap:14px}
.oost-auth-field{display:flex;flex-direction:column;gap:5px}
.oost-auth-field label{font-size:13px;font-weight:500;color:#374151}
.oost-auth-field input{width:100%;padding:11px 14px;border:1px solid #E5E7EB;border-radius:10px;font-size:14px;color:#1F2937;background:#FAFBFC;outline:none;transition:border-color .15s,box-shadow .15s}
.oost-auth-field input::placeholder{color:#9CA3AF}
.oost-auth-field input:focus{border-color:#0891B2;box-shadow:0 0 0 3px rgba(8,145,178,.1);background:#fff}
.oost-auth-field input.error{border-color:#EF4444;box-shadow:0 0 0 3px rgba(239,68,68,.08)}
.oost-auth-submit{width:100%;padding:12px 16px;border:none;border-radius:10px;background:#0891B2;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,transform .1s;margin-top:4px}
.oost-auth-submit:hover{background:#0E7490}
.oost-auth-submit:active{transform:scale(.985)}
.oost-auth-submit:disabled{opacity:.6;cursor:not-allowed}
.oost-auth-submit.loading{position:relative;color:transparent;pointer-events:none}
.oost-auth-submit.loading::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:oost-spin .6s linear infinite}
@keyframes oost-spin{to{transform:rotate(360deg)}}
.oost-auth-error{background:#FEF2F2;border:1px solid #FECACA;color:#991B1B;font-size:13px;padding:10px 14px;border-radius:8px;line-height:1.5;display:none}
.oost-auth-error.visible{display:block}
.oost-auth-success{background:#F0FDF4;border:1px solid #BBF7D0;color:#166534;font-size:13px;padding:10px 14px;border-radius:8px;line-height:1.5;display:none}
.oost-auth-success.visible{display:block}
.oost-auth-footer{margin-top:20px;text-align:center;font-size:13px;color:#6B7280}
.oost-auth-footer a,.oost-auth-footer button.link{color:#0891B2;text-decoration:none;font-weight:500;background:none;border:none;cursor:pointer;font-size:inherit;padding:0}
.oost-auth-footer a:hover,.oost-auth-footer button.link:hover{color:#0E7490;text-decoration:underline}
.oost-auth-forgot{text-align:right;margin-top:-6px;margin-bottom:2px}
.oost-auth-forgot button.link{font-size:12px;color:#6B7280}
.oost-auth-forgot button.link:hover{color:#0891B2}
.oost-user-indicator{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border-radius:10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);font-size:13px;color:#f0f0f0}
.oost-user-avatar{width:28px;height:28px;border-radius:50%;background:#0891B2;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:12px;text-transform:uppercase;overflow:hidden}
.oost-user-avatar img{width:100%;height:100%;object-fit:cover}
.oost-user-email{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.oost-user-signout{background:none;border:none;color:#a0a0b0;cursor:pointer;font-size:12px;padding:4px 8px;border-radius:6px;margin-left:2px}
.oost-user-signout:hover{background:rgba(239,68,68,.15);color:#FCA5A5}
.oost-signin-btn{padding:8px 18px;border:1px solid #0891B2;border-radius:10px;background:transparent;color:#0891B2;font-size:13px;font-weight:600;cursor:pointer}
.oost-signin-btn:hover{background:#0891B2;color:#fff}
@media(max-width:480px){.oost-auth-modal{padding:32px 24px 28px;max-width:100%}.oost-user-email{max-width:100px}}
/* Session 58: Terms checkbox */
.oost-auth-terms{margin-top:2px}
.oost-auth-terms-label{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:#6B7280;cursor:pointer;line-height:1.5}
.oost-auth-terms-label input[type="checkbox"]{margin-top:3px;accent-color:#0891B2;width:15px;height:15px;flex-shrink:0;cursor:pointer}
.oost-auth-terms-label a{color:#0891B2;text-decoration:underline;text-underline-offset:1px}
.oost-auth-terms-label a:hover{color:#0E7490}
.oost-auth-terms.error .oost-auth-terms-label{color:#991B1B}
.oost-auth-terms.error input[type="checkbox"]{outline:2px solid #EF4444;outline-offset:1px;border-radius:2px}
