/* styles.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
    --navy: #0f172a;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --text: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 56px 20px;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #dbeafe 0%, transparent 38%),
        linear-gradient(135deg, #f8fafc 0%, #eaf1fb 100%);
}

.container {
    width: min(100%, 920px);
    margin: 0 auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

h1 {
    margin: 0;
    padding: 30px 36px;
    color: var(--white);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #0f172a, #1e3a8a);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 18px 28px;
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}

td {
    font-size: 0.92rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
}

tbody tr {
    transition: background 0.2s ease, transform 0.2s ease;
}

tbody tr:nth-child(even) {
    background: #fcfdff;
}

tbody tr:hover {
    background: var(--blue-light);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Optional: style a status label inside a table cell */
.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    background: #dcfce7;
    border-radius: 999px;
}

.status::before {
    width: 7px;
    height: 7px;
    content: "";
    background: #22c55e;
    border-radius: 50%;
}

@media (max-width: 640px) {
    body {
        padding: 24px 12px;
    }

    h1 {
        padding: 24px 20px;
        font-size: 1.35rem;
    }

    th,
    td {
        padding: 14px 16px;
    }

    th {
        font-size: 0.65rem;
    }
}