@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&display=swap');

* {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f4f4f7 0%, #e8eef5 100%);
    color: #111;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #001F3F 0%, #003d66 100%);
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.15);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand span {
    font-size: 1.2rem;
    font-weight: 700;
}

.links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dropdown {
    position: relative;
}

.dropbtn {
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #0d274b;
    min-width: 220px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #1a3168;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.user-pill {
    background: #fff;
    color: #001f3f;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

main {
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.08);
    border: 1px solid rgba(0, 31, 63, 0.05);
    transition: box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 12px 40px rgba(0, 31, 63, 0.12);
}

section h2 {
    margin-bottom: 1.5rem;
    color: #001f3f;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 3px solid #ffb703;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric {
    background: linear-gradient(135deg, #fff 0%, #f9fbff 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.12);
}

.metric span {
    font-weight: 700;
    color: #001f3f;
    font-size: 1.75rem;
    display: block;
    margin-top: 0.5rem;
}

.metric label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.table-responsive {
    overflow-x: auto;
}

.badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.badge.success {
    background: #d1fbe3;
    color: #1f8c3b;
}

.badge.warning {
    background: #fff4d6;
    color: #996b00;
}

.badge.danger {
    background: #fdecea;
    color: #b82f2f;
}
.card {
    background: linear-gradient(135deg, #f9fbff 0%, #f0f4ff 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #dfe7f5;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.06);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 31, 63, 0.12);
    border-color: #ffb703;
}

.card h3 {
    color: #001f3f;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card small {
    color: #999;
    font-size: 0.85rem;
}

.card p {
    color: #555;
    margin-top: 0.75rem;
    line-height: 1.5;
}

footer {
    text-align: center;
    padding: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: linear-gradient(135deg, #001f3f 0%, #003d66 100%);
    color: #fff;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #ffb703;
}

table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #e3e8f0;
    text-align: left;
}

table tbody tr {
    transition: background-color 0.2s ease;
}

table tbody tr:hover {
    background-color: #f9fbff;
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

input,
select,
textarea {
    padding: 0.75rem;
    border: 2px solid #cbd5f5;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ffb703;
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.1);
}

label {
    font-weight: 600;
    color: #001f3f;
    margin-bottom: 0.5rem;
    display: block;
}

button {
    background: linear-gradient(135deg, #ffb703 0%, #f09f00 100%);
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

button:hover {
    background: linear-gradient(135deg, #f09f00 0%, #e68900 100%);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.4);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.flash-error {
    background: #fdecea;
    color: #b82f2f;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #f6c1bf;
    margin-bottom: 1rem;
}
