.auth-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:clamp(12px,4vw,24px);background:#0f172a8c;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:auth-modal-fade-in .18s ease-out}.auth-modal-dialog{width:clamp(320px,95vw,440px);max-height:min(90vh,640px);overflow:hidden;display:flex;flex-direction:column;background:#fff;color:#1e1b4b;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.45;border-radius:clamp(0px,4vw,16px);box-shadow:0 20px 50px #0f172a59;animation:auth-modal-pop-in .22s cubic-bezier(.16,1,.3,1)}@keyframes auth-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes auth-modal-pop-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.auth-modal-backdrop,.auth-modal-dialog{animation:none}}.auth-modal-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 14px 24px;border-bottom:1px solid #e2e8f0}.auth-modal-title{margin:0;font-size:1.0625rem;font-weight:600;letter-spacing:-.005em;color:#1e1b4b}.auth-modal-close{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:#64748b;font-family:inherit;font-size:24px;line-height:1;cursor:pointer;transition:background-color .15s ease}.auth-modal-close:hover{background:#f1f5f9}.auth-modal-close:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}.auth-modal-content{overflow-y:auto;display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:24px;text-align:center}.auth-modal-welcome{display:flex;flex-direction:column;align-items:center;gap:6px}.auth-modal-heading{margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-.01em;color:#1e1b4b}.auth-modal-description{margin:0;font-size:.875rem;font-weight:400;color:#64748b;line-height:1.5}.auth-modal-error{width:100%;padding:clamp(8px,2vw,12px) clamp(12px,3vw,16px);background:#fee2e2;color:#991b1b;border-radius:clamp(6px,1.5vw,8px);font-size:clamp(.8125rem,2.5vw,.875rem)}.auth-providers{display:flex;flex-direction:column;gap:10px;width:100%}.auth-provider-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:10px 20px;border:1px solid #dadce0;border-radius:10px;background:#fff;color:#3c4043;font-family:inherit;font-size:.9375rem;font-weight:500;letter-spacing:-.005em;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease}.auth-provider-btn:hover:not(:disabled){background:#f8f9fa;border-color:#c6c9cc;transform:translateY(-1px);box-shadow:0 2px 8px #0f172a14}.auth-provider-btn:active:not(:disabled){transform:translateY(0)}.auth-provider-btn:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}.auth-provider-btn:disabled{opacity:.7;cursor:not-allowed}.auth-provider-icon{width:22px;height:22px;flex-shrink:0}.auth-provider-label{text-align:center}.auth-provider-spinner{width:22px;height:22px;border-radius:50%;border:2px solid rgba(79,70,229,.25);border-top-color:#4f46e5;animation:auth-provider-spin .8s linear infinite}@keyframes auth-provider-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.auth-provider-spinner{animation-duration:2s}}@media(prefers-color-scheme:dark){.auth-modal-backdrop{background:#000000a6}.auth-modal-dialog{background:#161432;color:#e2e8f0;box-shadow:0 20px 50px #0009}.auth-modal-header{border-bottom-color:#ffffff14}.auth-modal-title,.auth-modal-heading{color:#f5f7fb}.auth-modal-description{color:#94a3b8}.auth-modal-close{color:#cbd5e1}.auth-modal-close:hover{background:#ffffff0f}.auth-modal-error{background:#dc262626;color:#fca5a5}.auth-provider-btn{background:#1f1a3d;border-color:#ffffff1f;color:#f5f7fb}.auth-provider-btn:hover:not(:disabled){background:#251f48;border-color:#ffffff2e}}
