:root {
    --togu-blue: #1b365d;
    --togu-light-blue: #2c5e8a;
    --togu-accent: #0284c7;
    --togu-gold: #c59b27;
    --togu-bg: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background-color: var(--togu-bg);
}

.bg-togu {
    background: linear-gradient(135deg, #12243f 0%, #1b365d 60%, #224373 100%);
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffd166;
}

.brand-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 0.2px;
}

.card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.card-header {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--togu-accent);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.badge-q1 {
    background-color: #059669;
    color: #ffffff;
    font-weight: 600;
}

.badge-q2 {
    background-color: #0284c7;
    color: #ffffff;
    font-weight: 600;
}

.badge-q3 {
    background-color: #d97706;
    color: #ffffff;
    font-weight: 600;
}

.badge-q4 {
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 600;
}

.badge-other {
    background-color: #64748b;
    color: #ffffff;
    font-weight: 500;
}

.apa-preview-box {
    background-color: #f1f5f9;
    border-left: 4px solid var(--togu-accent);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #0f172a;
}

.stat-card {
    border-radius: 10px;
    border: none;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}
