/* --- TRALO DESIGN SYSTEM --- */
:root {
    --navy: #0f172a;
    --accent: #2563eb;
    --danger: #dc2626;
    --border: #e2e8f0;
}



body { 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background: #f8fafc; 
    margin: 0; 
    color: var(--navy); 
}

/* --- PILLS & STATUS --- */
.pill { 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.7rem; 
    font-weight: 900; 
    display: inline-block;
    text-transform: uppercase;
}

.CRITICAL { background: #fee2e2; color: var(--danger); }
.HIGH { background: #fef3c7; color: #b45309; }
.STABLE { background: #d1fae5; color: #065f46; }

/* --- LANDING PAGE HIERARCHY --- */
.landing-page { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--navy); 
    color: white; 
    text-align: center; 
}

.hero-container { 
    max-width: 800px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 20px; 
}

.brand-logo { 
    font-size: 4.5rem; 
    font-weight: 900; 
    letter-spacing: 10px; 
    margin-bottom: 10px; 
}

.main-title { 
    font-size: 2.2rem; 
    font-weight: 300; 
    margin-bottom: 20px; 
    color: #94a3b8; 
}

.main-subtitle { 
    font-size: 1.2rem; 
    opacity: 0.8; 
    margin-bottom: 50px; 
    max-width: 600px; 
    line-height: 1.6; 
}

/* --- CLICKABLE ACTION BUTTONS --- */
.button-row { 
    display: flex; 
    gap: 20px; 
    position: relative; 
    z-index: 50; 
}

.btn-filled, .btn-ghost { 
    padding: 16px 32px; 
    border-radius: 4px; 
    font-weight: 700; 
    text-decoration: none; 
    cursor: pointer; 
    transition: 0.2s; 
}

.btn-filled { 
    background: var(--accent); 
    color: white; 
    border: none; 
}

.btn-ghost { 
    border: 1.5px solid white; 
    color: white; 
}

.btn-filled:hover { 
    opacity: 0.9; 
}

.btn-ghost:hover { 
    background: white; 
    color: var(--navy); 
}

/* --- DASHBOARD UI --- */
.nav-header { 
    background: var(--navy); 
    padding: 15px 40px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: white; 
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    margin-left: 20px; 
    font-size: 0.9rem; 
}

.nav-links a:hover {
    text-decoration: underline;
}

.container { 
    padding: 40px; 
    max-width: 1400px; 
    margin: auto; 
}

/* --- SUMMARY STATS --- */
.summary-stats { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 40px; 
}

.stat-box { 
    background: white; 
    padding: 25px; 
    border-radius: 8px; 
    flex: 1; 
    border-top: 4px solid var(--border); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
}

.alert-border { 
    border-top-color: var(--danger); 
}

.stat-box label { 
    font-size: 0.7rem; 
    font-weight: 800; 
    color: #64748b; 
    text-transform: uppercase; 
}

.stat-box .stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 10px;
    display: block;
}

/* --- TABLES --- */
.data-table { 
    width: 100%; 
    border-collapse: collapse; 
    background: white; 
    border-radius: 8px; 
    overflow: hidden; 
}

.data-table th { 
    background: #f1f5f9; 
    padding: 15px; 
    text-align: left; 
    font-size: 0.75rem; 
    color: #475569; 
    border-bottom: 2px solid var(--border); 
}

.data-table td { 
    padding: 18px 15px; 
    border-bottom: 1px solid var(--border); 
    font-size: 0.9rem; 
}

.workflow-btn { 
    background: white; 
    border: 1.5px solid var(--navy); 
    color: var(--navy); 
    padding: 8px 14px; 
    border-radius: 4px; 
    font-weight: 700; 
    cursor: pointer; 
    width: 100%; 
}

.workflow-btn:hover { 
    background: var(--navy); 
    color: white; 
}

.expand-btn { 
    background: #f1f5f9; 
    border: none; 
    padding: 6px 12px; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 0.75rem; 
}



/* --- HELP & GOVERNANCE --- */
.help-wrapper { 
    max-width: 850px; 
    margin: 60px auto; 
    padding: 20px; 
}

.help-card { 
    background: white; 
    padding: 35px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
}

/* --- TIMELINE STYLES --- */
.timeline { 
    margin-top: 30px; 
    border-left: 2px solid var(--border); 
    padding-left: 20px; 
}

.timeline-item { 
    margin-bottom: 25px; 
    position: relative; 
}

.timeline-item::before { 
    content: ""; 
    position: absolute; 
    left: -26px; 
    top: 5px; 
    width: 10px; 
    height: 10px; 
    background: var(--accent); 
    border-radius: 50%; 
}

/* --- READER STYLES --- */
.reader-split { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 30px; 
    margin-top: 20px; 
}

.dummy-pdf { 
    background: #fff; 
    padding: 40px; 
    border: 1px solid #ccc; 
    height: 400px; 
    font-family: serif; 
    color: #555; 
    overflow-y: scroll; 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05); 
}

.doc-preview h3 { 
    color: #64748b; 
    font-size: 0.9rem; 
}
