:root {
    --page-background: #f5f8fb;
    --surface: #ffffff;
    --surface-soft: #eef7f6;
    --text: #183042;
    --text-soft: #5a6f7d;
    --primary: #0067c5;
    --primary-dark: #004b91;
    --accent: #16a98b;
    --border: #dce6ec;
    --shadow: 0 18px 45px rgba(20, 52, 74, 0.10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(22,169,139,0.16), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    color: var(--text);
}

.container {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
}

.admin-header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.tagline {
    color: var(--text-soft);
    margin-top: 5px;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

main {
    padding: 70px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.card {
    background: var(--surface);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

form {
    margin-top: 20px;
}

label {
    font-weight: 700;
}

input,
select {
    width: 100%;
    max-width: 420px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1rem;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.error {
    color: #b00020;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--surface-soft);
}

/* Workforce Ready Admin Branding */

.admin-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-logo {
    width: 90px;
    height: auto;
    max-width: 100%;
}

@media (max-width: 600px) {

    .admin-logo {
        width: 60px;
    }

    .admin-branding {
        gap: 10px;
    }

}


/* Admin back navigation */

.back-button {
    display: inline-block;
    margin-bottom: 20px;
}


/* Admin page components */

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    margin-bottom: 8px;
}

.page-description {
    color: var(--text-soft);
    font-size: 1.05rem;
}

.status-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.status-card h3 {
    margin-top: 0;
}

.status {
    font-weight: 800;
}

.status-new {
    color: var(--primary);
}

.status-success {
    color: var(--accent);
}

.table-container {
    overflow-x: auto;
    margin-top: 25px;
}

.action-button {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

footer {
    padding: 30px 0;
    color: var(--text-soft);
    text-align: center;
}

@media (max-width: 700px) {

    .admin-nav {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

}

