@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Poppins:wght@500;700&display=swap');

:root {
    --bg-main: #f4f6fb;
    --bg-surface: #ffffff;
    --bg-muted: #eef1f7;

    --text-main: #1e293b;
    --text-muted: #64748b;

    --primary: #2563eb;
    --primary-soft: #dbeafe;
    --secondary: #22c55e;
    --danger: #ef4444;

    --radius-sm: 8px;
    --radius-lg: 16px;

    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(37, 99, 235, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100vh;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
}


.container,
main,
header,
footer {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

header {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    margin-top: 20px;
    box-shadow: var(--shadow-soft);
}

header nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
}

header nav a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

header nav a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.btn,
button,
input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    padding: 12px 22px;
    border-radius: 999px;
    border: none;

    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;

    background: var(--primary);
    color: #fff;
    cursor: pointer;

    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-danger {
    background: var(--danger);
}

.btn-block {
    width: 100%;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.auth-card h1,
.auth-card h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #d1d5db;
    background: var(--bg-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.table-container {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

th {
    text-align: left;
    padding: 14px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--bg-muted);
}

td {
    padding: 14px;
    font-size: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
}

tr:hover td {
    background: #f8fafc;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .auth-card {
        padding: 25px;
    }

    .btn,
    button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    th,
    td {
        padding: 10px;
        font-size: 0.8rem;
    }
}

ul {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}


ul li {
    padding: 10px 14px;
    margin-bottom: 8px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-main);
}
