/* ============================================================
   PAGE HEADER — Reusable page title + action buttons bar
   Used by: dashboard, brief, and any future pages
   ============================================================ */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header .header-left h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header .header-left h1 span {
    color: var(--secondary, #e67e22);
}

.page-header .header-left p {
    color: var(--text-muted, #8a8aaa);
    font-size: 15px;
    margin-top: 4px;
}

.page-header .header-right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   SHARED BUTTON STYLES
   ============================================================ */

.btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm, 10px);
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary, #0f3b5e);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark, #0a2a42);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 20px rgba(0, 0, 0, 0.08));
}

.btn-secondary {
    background: var(--bg-body, #f0f2f5);
    color: var(--text-secondary, #4a4a6a);
}

.btn-secondary:hover {
    background: var(--text-muted, #8a8aaa);
    color: #fff;
}

.btn-success {
    background: var(--success, #27ae60);
    color: #fff;
}

.btn-success:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger, #e74c3c);
    color: #fff;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary, #4a4a6a);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-outline:hover {
    background: var(--bg-body, #f0f2f5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header .header-right {
        width: 100%;
    }

    .page-header .header-right .btn {
        flex: 1;
        justify-content: center;
    }

    .page-header .header-left h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .page-header .header-left h1 {
        font-size: 20px;
    }
}
