@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f8fafc; 
    color: #0f172a; 
}

.glass-panel { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(226, 232, 240, 0.8); 
}

.fade-in { 
    animation: fadeIn 0.3s ease-in-out; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.tab-active { 
    border-bottom: 2px solid #0ea5e9; 
    color: #0ea5e9; 
}

.btn-primary { 
    background: #0f172a; 
    color: white; 
    transition: all 0.2s; 
}

.btn-primary:hover { 
    background: #334155; 
    transform: translateY(-1px); 
}

/* Custom Scroller */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* Table borders between steps */
.table-divider-left {
    border-left: 2px solid #e2e8f0 !important;
}

.auth-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.auth-error {
    min-height: 1rem;
    margin-top: 0.35rem;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
}

.auth-rule {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    background: #f9fafb;
    padding: 0.35rem 0.5rem;
    text-align: center;
}

.auth-rule-ok {
    border-color: #bbf7d0;
    color: #047857;
    background: #ecfdf5;
}

.profile-avatar-preview {
    background-color: #10b981;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.modal-open {
    overflow: hidden;
}
