/* ============================================================
   Outreach Web App — Custom Styles (on top of Bootstrap 5)
   ============================================================ */

/* --- Root variables --- */
:root {
    --brand-primary: #4361ee;
    --brand-secondary: #3a0ca3;
    --brand-accent: #7209b7;
    --brand-light: #f0f4ff;
    --brand-success: #06d6a0;
    --brand-warning: #ffd166;
    --brand-danger: #ef476f;
}

/* --- Body --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* --- Navbar --- */
.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* --- Cards --- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* --- Dashboard cards --- */
.dashboard-card {
    text-decoration: none;
    color: inherit;
}

.dashboard-card:hover {
    color: inherit;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* --- Status badges --- */
.badge-pending {
    background-color: var(--brand-warning);
    color: #333;
}

.badge-accepted {
    background-color: var(--brand-success);
    color: #fff;
}

.badge-rejected {
    background-color: var(--brand-danger);
    color: #fff;
}

.badge-under-review {
    background-color: var(--brand-primary);
    color: #fff;
}

/* --- Hero section (landing page) --- */
.hero-section {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: white;
    padding: 5rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
}

.hero-section p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* --- Forms --- */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

/* --- Footer --- */
.footer {
    background-color: #fff;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 0;
    margin-top: auto;
}

/* --- Alerts --- */
.alert {
    border-radius: 8px;
    border: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 3rem 0;
    }
}
