/* ===== CSS Variables ===== */
:root {
    --color-primary: #33A0BE;
    --color-primary-dark: #2889A3;
    --color-primary-light: #5BB8CE;
    --color-secondary: #034A5E;
    --color-secondary-dark: #023544;
    --color-secondary-light: #056b88;
    --color-accent: #FF9894;
    --color-tertiary: #1BCEC8;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-bg-dark: #f3f4f6;
    --color-white: #ffffff;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --color-success: #10b981;
    --color-success-bg: #f0fdf4;
    --color-warning: #f59e0b;
    --color-warning-bg: #fffbeb;
    --color-danger: #ef4444;
    --color-danger-bg: #fef2f2;
    --color-info: #3b82f6;
    --color-info-bg: #eff6ff;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --font: 'Montserrat', sans-serif;
    --font-alt: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-alt);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary-light);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-secondary-light);
    color: var(--color-white);
}

.btn--cta {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(255, 152, 148, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn--outline:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn--danger {
    background: var(--color-danger);
    color: var(--color-white);
}

.btn--danger:hover {
    background: #dc2626;
    color: var(--color-white);
}

.btn--success {
    background: var(--color-success);
    color: var(--color-white);
}

.btn--sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--new { background: var(--color-info-bg); color: var(--color-info); }
.badge--contacted { background: var(--color-warning-bg); color: var(--color-warning); }
.badge--opportunity { background: #f0f9ff; color: #0284c7; }
.badge--confirmed { background: var(--color-success-bg); color: var(--color-success); }
.badge--reward_delivered { background: #faf5ff; color: #7c3aed; }

/* ===== Flash Messages ===== */
.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.flash--success {
    background: var(--color-success-bg);
    color: #065f46;
    border: 1px solid #bbf7d0;
}

.flash--error {
    background: var(--color-danger-bg);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.flash--warning {
    background: var(--color-warning-bg);
    color: #92400e;
    border: 1px solid #fde68a;
}

/* ===== Tables ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th {
    background: var(--color-bg-alt);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
}

.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.9rem;
}

.table tr:hover td {
    background: var(--color-bg-alt);
}

.table tr:last-child td {
    border-bottom: none;
}

/* ===== Cards ===== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-small { font-size: 0.85rem; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
