*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #001A8E;
    --primary-dark: #001166;
    --primary-light: #1a3ab8;
    --accent: #C9A227;
    --brick: #B33A2B;
    --text: #12122a;
    --text-muted: #5b6478;
    --border: #d8dee9;
    --white: #ffffff;
    --bg: #eef1f8;
    --card-shadow: 0 4px 6px -1px rgba(0, 26, 142, 0.08), 0 2px 4px -2px rgba(0, 26, 142, 0.05);
    --card-hover: 0 20px 25px -5px rgba(0, 26, 142, 0.14), 0 8px 10px -6px rgba(0, 26, 142, 0.1);
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #eef1f8;
    background-image:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 162, 39, 0.16), transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 26, 142, 0.12), transparent 45%),
        linear-gradient(180deg, #e8ecf8 0%, #eef1f8 45%, #e6ebf6 100%);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.dashboard-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: linear-gradient(135deg, #000d4d 0%, #001A8E 40%, #1a3ab8 75%, #2a4fd4 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 14px rgba(0, 26, 142, 0.28);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand .company-logo {
    width: 220px;
    height: auto;
    border-radius: 6px;
    background: var(--primary);
}

.brand-text h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-top: 2px;
}

.admin-dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.admin-dashboard-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(201, 162, 39, 0.65);
    color: #fff;
    transform: translateY(-1px);
}

.dashboard-main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 24px;
}

.forms-section h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 32px;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.form-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.form-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-hover);
    border-color: var(--accent);
}

.form-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.form-title {
    flex: 1;
    font-size: 1.0625rem;
    font-weight: 600;
}

.form-arrow {
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
}

.form-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}

.form-card:hover .form-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.dashboard-footer {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.footer-link:hover {
    color: var(--primary);
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .forms-grid {
        grid-template-columns: 1fr;
    }

    .brand .company-logo {
        width: 160px;
    }
}
