@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #0044ff;
    --primary-dark: #0033cc;
    --accent: #ff6600;
    --accent-hover: #e65c00;
    --bg-light: #f4f7f9;
    --card-bg: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --border-color: #d2d2d7;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 60px;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

/* Glassmorphism Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

/* Forms */
h1,
h2,
h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 68, 255, 0.1);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Tracking Page */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.search-box input {
    flex: 1;
}

/* Status Tracker Visual */
.tracker-visual {
    margin: 3rem 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.tracker-visual::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 80px;
}

.dot {
    width: 32px;
    height: 32px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.step.active .dot {
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.2);
}

.step.current .dot {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(0, 68, 255, 0.2);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step.active .step-label,
.step.current .step-label {
    color: var(--text-main);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.admin-table th {
    background: #f8f9fa;
    padding: 1rem 0.85rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1rem 0.85rem;
    border-bottom: 1px solid #f0f0f5;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: #fafbff;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.Aangemeld {
    background: #e9ecef;
    color: #495057;
}

.status-badge.Verwerkt {
    background: #fff3cd;
    color: #856404;
}

.status-badge.Verzonden {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.Onderweg {
    background: #cce5ff;
    color: #004085;
}

.status-badge.Bezorgd {
    background: #d4edda;
    color: #155724;
}

.status-badge.Geannuleerd {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .tracker-visual {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .tracker-visual::before {
        display: none;
    }

    .step {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .dot {
        margin: 0;
    }

    .search-box {
        flex-direction: column;
    }
}