:root {
    --bf-dark: #111827;
    --bf-indigo: #4f46e5;
    --bf-purple: #7c3aed;
    --bf-light: #f6f7fb;
}

body {
    background: var(--bf-light);
    color: #1f2937;
    min-height: 100vh;
}

.app-navbar {
    background: linear-gradient(100deg, var(--bf-dark), #312e81 55%, var(--bf-purple));
    box-shadow: 0 8px 30px rgba(17, 24, 39, .18);
}

.fw-black { font-weight: 900; }

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #312e81;
    background: #fff;
    margin-right: .35rem;
}

.card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
}

.stat-card {
    overflow: hidden;
    position: relative;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: rgba(79, 70, 229, .1);
    color: var(--bf-indigo);
}

.preview-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e5e7eb;
    border-radius: 14px;
}

.project-card .preview-thumb { height: 210px; }

.badge-soft {
    padding: .5rem .7rem;
    border-radius: 999px;
    font-weight: 700;
}

.table > :not(caption) > * > * {
    padding: .85rem;
    vertical-align: middle;
}

.form-control, .form-select {
    border-radius: 11px;
    padding: .7rem .85rem;
    border-color: #dce1ea;
}

.btn {
    border-radius: 10px;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(100deg, var(--bf-indigo), var(--bf-purple));
    border: 0;
}

.page-title {
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 900;
    margin: 0;
}

.review-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, .22), transparent 30%),
        radial-gradient(circle at 90% 15%, rgba(124, 58, 237, .18), transparent 26%),
        #f8fafc;
}

.review-preview-wrap {
    position: relative;
    background: #111827;
    border-radius: 18px;
    overflow: hidden;
}

.review-preview {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    cursor: crosshair;
}

.comment-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ef4444;
    color: white;
    font-weight: 900;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.timeline {
    border-left: 2px solid #e5e7eb;
    margin-left: .6rem;
    padding-left: 1.25rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.58rem;
    top: .2rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--bf-indigo);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--bf-indigo);
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(17,24,39,.96), rgba(49,46,129,.92));
}

.login-card {
    width: min(430px, 100%);
    padding: 2rem;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

@media print {
    .no-print, nav { display: none !important; }
    body { background: white; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}
