/* === COMPONENTS.CSS === */
/* Reusable UI elements compatible with both themes via variables */

/* 1. LAYOUT GRIDS */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.layout-cols-3 {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 24px;
    height: calc(100vh - 100px);
    /* Full height minus header */
    overflow: hidden;
}

/* 2. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: var(--font-hud);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    clip-path: var(--cut-corner);
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 3. DOSSIER CARDS */
.dossier-card,
.dossier-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.dossier-panel--tight {
    padding: 14px;
}

.dossier-panel--pad {
    padding: 24px;
}

.dossier-card::after {
    /* Corner Tick Mark */
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-secondary);
    border-right: 2px solid var(--accent-secondary);
}

/* 4. UTILS */
.u-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.u-full-width {
    width: 100%;
}

.u-mt-4 {
    margin-top: 1rem;
}

.u-mb-4 {
    margin-bottom: 1rem;
}

/* 5. TYPOGRAPHY HELPERS */
.label-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 600;
}

.value-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}