/* --- GLOBAL & DASHBOARD BASE --- */
.material-symbols-outlined { 
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; 
    vertical-align: middle; 
}

body { font-family: 'Montserrat', sans-serif; }
h1, h2, h3, .headline { font-family: 'Cormorant Garamond', serif; }

/* Sidebar Logic */
#sidebar { 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    transform: translateX(-100%); 
}
#sidebar.open { transform: translateX(0); }

/* Custom Scrolling */
.main-content-scroll { 
    height: 100vh; 
    overflow-y: auto; 
    scrollbar-width: thin; 
}

/* Splash Screen (Index specific) */
#splash-screen { transition: opacity 0.8s ease, visibility 0.8s; }
.splash-hidden { opacity: 0; visibility: hidden; }


/* --- FORM SPECIFIC (Namespaced to avoid Dashboard Conflict) --- */
.upf-form-step { 
    display: none; 
}

.upf-form-step.upf-active { 
    display: block; 
    animation: upfFadeIn 0.4s ease-out; 
}

.upf-form-progress-bar { 
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

@keyframes upfFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


 .loader-line {
            width: 0%;
            height: 2px;
            background: #ffffff;
            position: relative;
            transition: width 2.5s cubic-bezier(0.1, 0, 0.1, 1);
        }


/* --- COUNSEL PAGE CARDS (Namespaced: csl-) --- */
.csl-lawyer-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.csl-lawyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.csl-badge {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* --- REGISTRY PAGE SPECIFIC (Namespaced: reg-) --- */
.reg-table-row {
    transition: background-color 0.2s ease;
}

.reg-table-row:hover {
    background-color: #f8f9fa;
}

.status-flag {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-flag.default {
    background-color: #ffdad6;
    color: #ba1a1a;
}

.status-flag.resolved {
    background-color: #d1e4ff;
    color: #001d36;
}