:root {
    --navy: #0A2540;
    --navy-light: #1e3a5f;
    --teal: #00A8B5;
    --teal-dark: #008a94;
    --magenta: #E83E8C;
    --magenta-dark: #c7256e;
    --gold: #E8A13E;
    --gold-dark: #c78225;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --border: #e2e8f0;
    --text: #334155;
    --text-light: #64748b;
    --error: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --info: #2563eb;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 0 0.5rem;
}

.container-narrow {
    max-width: 900px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    color: var(--navy);
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--slate-100);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.nav-brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    max-width: 220px;
}

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

.nav-link {
    color: var(--slate-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--teal);
}

.nav-cta {
    background-color: var(--magenta);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
}

.nav-cta:hover {
    background-color: var(--magenta-dark);
    color: var(--white);
}

/* Main content */
.main-content {
    flex-grow: 1;
    padding: 0;
}

.main-content > .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--slate-100);
}

.card-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.card-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 168, 181, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--magenta);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--magenta-dark);
}

.btn-teal {
    background-color: var(--teal);
    color: var(--white);
}

.btn-teal:hover {
    background-color: var(--teal-dark);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background-color: var(--navy-light);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background-color: var(--slate-50);
}

.btn-danger {
    background-color: var(--error);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-success {
    background-color: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background-color: #15803d;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

/* Tables */
.table {
    width: auto;
    min-width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    vertical-align: middle;
}

.table td p,
.table td .btn-block {
    white-space: normal;
}

.table th {
    font-weight: 700;
    color: var(--navy);
    background-color: var(--slate-50);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tr:hover {
    background-color: var(--slate-50);
}

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

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-navy {
    background-color: rgba(10, 37, 64, 0.1);
    color: var(--navy);
}

/* Hero sections */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity:  0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Split hero (homepage) */
.hero-split {
    padding: 5rem 0 11rem;
    text-align: left;
    background: var(--navy);
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-split::before {
    opacity: 0.15;
}

.hero-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-waves svg {
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45%;
    z-index: 0;
    pointer-events: none;
}

.hero-shape-left {
    left: 0;
    width: 55%;
    background: var(--magenta);
    clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
    opacity: 0.9;
}

.hero-shape-right {
    right: 0;
    width: 55%;
    background: var(--gold);
    clip-path: polygon(100% 100%, 100% 0%, 0% 100%);
    opacity: 0.9;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-split h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    line-height: 1.1;
    max-width: none;
    text-align: left;
    color: var(--white);
}

.hero-split p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin: 0 0 1.75rem 0;
    max-width: none;
    text-align: left;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-magenta {
    background-color: var(--magenta);
    color: var(--white);
    border: 1px solid var(--magenta);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-magenta:hover {
    background-color: var(--magenta-dark);
    border-color: var(--magenta-dark);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--navy);
    border: 1px solid var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background-color 0.2s;
}

.btn-white:hover {
    background-color: var(--slate-100);
    border-color: var(--slate-100);
    color: var(--navy);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.hero-stats {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 1rem;
}

.hero-stats-card {
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 2.5rem;
    display: inline-flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-stat-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    .hero h1 {
        font-size: 1.625rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .hero-split {
        min-height: auto;
        padding: 2rem 0 2rem;
        display: block;
        margin-bottom: 0;
    }
    .hero-waves svg {
        height: 120%;
    }
    .hero-shape {
        height: 30%;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        text-align: center;
    }
    .hero-content {
        order: 2;
        max-width: none;
    }
    .hero-image {
        order: 1;
        justify-content: center;
    }
    .hero-image img {
        max-width: 200px;
    }
    .hero-split h1,
    .hero-split p {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .hero-actions .btn-magenta,
    .hero-actions .btn-white {
        justify-content: center;
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    .hero-stats-card {
        border-radius: var(--radius-lg);
        padding: 1.25rem;
        gap: 1rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-stat {
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }
    .hero-stat:not(:last-child) {
        border-bottom: 1px solid var(--slate-100);
    }
    .hero-stat-value {
        font-size: 1.25rem;
    }
    .hero-stat-icon {
        width: 1.5rem !important;
        height: 1.5rem !important;
        flex-shrink: 0;
    }
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .nav-brand-subtitle {
        display: none;
    }
    .nav-logo {
        height: 2.5rem;
    }
    .nav-brand-name {
        font-size: 1.1rem;
    }
    .nav-links {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .nav-cta {
        padding: 0.4rem 0.9rem;
    }
}

/* Mission section */
.mission-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.icon-circle svg {
    width: 2rem;
    height: 2rem;
}

.icon-circle.navy {
    background-color: rgba(10, 37, 64, 0.08);
    color: var(--navy);
}

.icon-circle.teal {
    background-color: rgba(0, 168, 181, 0.1);
    color: var(--teal);
}

.icon-circle.magenta {
    background-color: rgba(232, 62, 140, 0.1);
    color: var(--magenta);
}

.mission-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--slate-50);
    border-radius: var(--radius);
    border: 1px solid var(--slate-100);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.mission-card h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.mission-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Events section */
.events-section {
    padding: 4rem 0;
    background-color: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}

.events-section .section-header {
    margin-bottom: 2rem;
}

/* Stats cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--slate-100);
}

.stat-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.stat-icon.navy {
    background-color: rgba(10, 37, 64, 0.08);
    color: var(--navy);
}

.stat-icon.teal {
    background-color: rgba(0, 168, 181, 0.1);
    color: var(--teal);
}

.stat-icon.magenta {
    background-color: rgba(232, 62, 140, 0.1);
    color: var(--magenta);
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

/* Dashboard layout */
.dashboard-layout {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.dashboard-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.dashboard-main {
    flex: 1;
    min-width: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (max-width: 1100px) {
    .dashboard-layout {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
    }
}

/* Profile card */
.profile-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--slate-100);
}

.profile-card-header {
    height: 120px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

.profile-card-body {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid var(--white);
    background-color: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -45px auto 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.profile-card-handle {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.profile-card-since {
    color: var(--slate-500);
    font-size: 0.8rem;
}

/* Quick links */
.quick-links {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    border: 1px solid var(--slate-100);
}

.quick-links-title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.quick-link:hover,
.quick-link.active {
    background-color: var(--slate-50);
    color: var(--navy);
}

.quick-link-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Page header */
.page-header {
    margin-bottom: 2rem;
}

.page-header-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.page-header-back:hover {
    color: var(--navy);
}

.page-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

/* Event cards */
.event-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

.event-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.event-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.75rem;
    margin-bottom: 0.35rem;
}

.event-meta svg {
    width: 1rem;
    height: 1rem;
    color: var(--teal);
}

.event-description {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.event-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.event-spots {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Signup list items */
.signup-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--slate-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.signup-item-info h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.signup-item-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.signup-item-info svg {
    width: 0.875rem;
    height: 0.875rem;
    color: var(--teal);
}

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

/* Profile */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    background-color: var(--slate-100);
}

.profile-info h2 {
    color: var(--navy);
    margin-bottom: 0.25rem;
}

/* Certificate slots */
.cert-slot {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s;
}

.cert-slot:hover {
    border-color: var(--teal);
}

.cert-slot.has-file {
    border-style: solid;
    border-color: var(--success);
    background-color: #f0fdf4;
}

.cert-slot h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-light { color: var(--text-light); }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.text-magenta { color: var(--magenta); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none; }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.empty-state-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--slate-300);
    margin: 0 auto 1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0.75rem;
        font-size: 0.875rem;
    }
    .table th,
    .table td {
        padding: 0.5rem;
    }
}

/* Auth */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo img {
    max-width: 150px;
}

.auth-logo h1 {
    color: var(--navy);
    font-size: 1.75rem;
    margin-top: 0.5rem;
}

/* Inline icon helpers */
.icon-sm {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
}

/* Admin dashboard */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Inline icon button */
.btn-icon {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    background-color: var(--slate-100);
    border: none;
    cursor: pointer;
    color: var(--text);
}

.btn-icon:hover {
    background-color: var(--slate-200);
}

/* Logo in navbar */
.nav-logo {
    height: 3.75rem;
    width: auto;
    display: block;
}

/* Dropdown in navbar */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 0.5rem 0;
    display: none;
    z-index: 101;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--slate-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

.nav-dropdown-item:hover {
    background-color: var(--slate-100);
    color: var(--teal);
}

@media (max-width: 768px) {
    .nav-logo {
        height: 2.5rem;
    }
    .nav-brand-subtitle {
        display: none;
    }
}

/* Footer with logo & contact */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.footer-logo {
    height: 4rem;
    width: auto;
}

.footer-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    opacity: 1;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.75;
    margin: 0.15rem 0 0;
}

.footer-contact a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand {
        flex-direction: column;
        text-align: center;
    }
}

/* Resource cards */
.resource-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
}

.resource-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.resource-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.resource-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.resource-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.resource-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.resource-download {
    color: var(--teal);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.resource-download:hover {
    text-decoration: underline;
}