/* Modern Login Page Styles */
.login-main-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}
.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,122,123,0.13);
    padding: 48px 38px 32px 38px;
    max-width: 410px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-weight: 700;
}
.login-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 22px;
}
.login-error {
    border-left: 4px solid #e53e3e;
    background: #fff5f5;
    color: #c53030;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 0.95rem;
    width: 100%;
}
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.97rem;
    color: var(--text-dark);
    font-weight: 500;
}
.form-group input {
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    background: #f9fafb;
    transition: border 0.2s;
}
.form-group input:focus {
    outline: none;
    border: 1.5px solid var(--primary);
}
.login-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    font-size: 0.95rem;
}
.remember-me-label {
    display: flex;
    align-items: center;
    gap: 6px;
}
.forgot-link {
    color: var(--secondary);
    text-decoration: underline;
    font-size: 0.93rem;
}
.login-demo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0 0;
    font-size: 0.97rem;
}
.demo-dropdown {
    padding: 7px 12px;
    border-radius: var(--radius);
    border: 1px solid #cbd5e1;
    background: #f9fafb;
    font-size: 1rem;
}
.login-btn {
    width: 100%;
    margin-top: 18px;
    background: #38a169;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 13px 0;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(56,161,105,0.08);
    transition: background 0.2s;
}
.login-btn:hover {
    background: #2f855a;
}
.demo-login-section {
    width: 100%;
    margin: 28px 0 0 0;
    text-align: center;
}
.demo-login-label {
    color: var(--text-gray);
    font-size: 0.97rem;
    margin-bottom: 10px;
}
.demo-login-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}
.demo-btn {
    min-width: 90px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: none;
    color: #fff;
    transition: background 0.2s;
}
.demo-student {
    background: #4299e1;
}
.demo-student:hover {
    background: #2b6cb0;
}
.demo-teacher {
    background: #ed8936;
}
.demo-teacher:hover {
    background: #c05621;
}
.demo-admin {
    background: #805ad5;
}
.demo-admin:hover {
    background: #553c9a;
}
.demo-icon {
    font-size: 1.2em;
}
.auth-switch {
    margin-top: 28px;
    color: var(--text-gray);
    font-size: 0.97rem;
    text-align: center;
}
.signup-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .login-card {
        padding: 28px 8px 18px 8px;
        max-width: 98vw;
    }
}
/* Event Details Modal Split-Panel */
.event-detail-modal-split .event-detail-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    min-height: 320px;
}
.event-detail-modal-split .event-detail-left {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    min-width: 220px;
}
.event-detail-modal-split .event-detail-right {
    padding: 32px 28px 24px 28px;
    background: #fff;
    border-radius: 0 16px 16px 0;
    min-width: 260px;
}
@media (max-width: 700px) {
    .event-detail-modal-split .event-detail-grid {
        grid-template-columns: 1fr;
    }
    .event-detail-modal-split .event-detail-left {
        border-radius: 16px 16px 0 0;
        min-height: 120px;
        min-width: 0;
    }
    .event-detail-modal-split .event-detail-right {
        border-radius: 0 0 16px 16px;
        padding: 22px 12px 18px 12px;
        min-width: 0;
    }
}
:root {
    --primary: #2c7a7b;
    --primary-dark: #234e52;
    --secondary: #2b6cb0;
    --accent: #d69e2e;
    --bg-light: #f7fafc;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.section-padding { padding: 60px 0; }
.page-padding { padding: 40px 0; }
.page-max-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.page-max-400 { max-width: 420px; margin-left: auto; margin-right: auto; }
.width-100-percent { width: 100%; display: block; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.row .container { display: flex; flex-wrap: wrap; padding: 0 20px; }
.col-lg-12 { width: 100%; }
.nopadding { padding: 0 !important; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-secondary { background-color: var(--secondary); color: var(--white); }
.btn-secondary:hover { background-color: #1a4971; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-link { background: none; color: var(--secondary); padding: 0; text-decoration: underline; font-size: 0.9rem; }
.btn-sm { font-size: 0.8rem; padding: 5px 10px; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }

header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; gap: 16px; }
.logo-area { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.logo-text h1 { font-size: 1.2rem; color: var(--primary); line-height: 1.1; }
.logo-text span { font-size: 0.85rem; color: var(--text-gray); }
.nav-links { display: flex; gap: 14px; align-items: center; flex-wrap: nowrap; }
.nav-links a { font-weight: 500; color: var(--text-gray); font-size: 0.92rem; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }

/* Dropdown nav */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
    background: none; border: none; cursor: pointer;
    font-weight: 500; color: var(--text-gray); font-size: 0.95rem;
    padding: 0; display: flex; align-items: center; gap: 0;
    font-family: inherit;
    transition: color 0.2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--primary); }
.nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 160px;
    overflow: hidden;
    z-index: 200;
    /* hidden by default, revealed on hover */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateX(-50%) translateY(-6px);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    border-width: 0 6px 6px; border-style: solid;
    border-color: transparent transparent var(--white);
}
.nav-dropdown-menu a {
    display: block; padding: 11px 20px;
    color: var(--text-gray); font-size: 0.9rem;
    white-space: nowrap; border-bottom: 1px solid #f0f0f0;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--bg-light); color: var(--primary); }

.nav-arrow { font-size: 0.7em; margin-left: 2px; vertical-align: middle; line-height: 1; }

#nav-portal-btn { font-size: 0.82rem; padding: 6px 14px; white-space: nowrap; }

.nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    background-color: #e2e8f0;
    flex-shrink: 0;
}
.user-profile-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7fafc;
    padding: 4px 10px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.user-profile-info { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.user-name { font-weight: 600; font-size: 0.82rem; color: var(--text-dark); white-space: nowrap; }
.user-role { font-size: 0.7rem; color: var(--text-gray); white-space: nowrap; }

.hero {
    background: linear-gradient(rgba(44, 122, 123, 0.85), rgba(43, 108, 176, 0.85)), url('https://picsum.photos/seed/school/1920/1080');
    background-size: cover; background-position: center; color: var(--white); padding: 100px 0; text-align: center;
}
.hero h2 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.25rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero .btn + .btn { margin-left: 12px; }

.nav-active { color: var(--primary) !important; font-weight: 700 !important; }

.btn:disabled { opacity: 0.65; cursor: not-allowed; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { text-align: center; border-top: 4px solid var(--primary); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); }
.service-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.service-card h3 { margin-bottom: 10px; color: var(--text-dark); }
.service-card ul { text-align: left; margin-top: 15px; padding-left: 20px; list-style: disc; color: var(--text-gray); }

.home-header-subtitle { font-size: 1.1rem; color: var(--text-gray); margin-top: 5px; }
.filter-placeholder {
    background: var(--white); padding: 20px; border-radius: var(--radius);
    box-shadow: var(--shadow); margin-bottom: 30px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
}
.filter-placeholder label { font-weight: 600; color: var(--text-dark); }
.filter-placeholder select {
    padding: 8px; border-radius: 4px; border: 1px solid #cbd5e0; min-width: 200px;
}
.filter-placeholder #event-search {
    padding: 8px 12px; border-radius: 4px; border: 1px solid #cbd5e0;
    min-width: 220px; flex: 1; font-size: 0.9rem;
}
.filter-placeholder #event-search:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
}

.event-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s; position: relative;
}
.event-card:hover { transform: translateY(-5px); }
.event-img {
    height: 160px; background-color: #e2e8f0; background-size: cover; background-position: center;
}
.event-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }

.badge-container { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.badge {
    font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; font-weight: 700; text-transform: uppercase;
}
.badge-virtual { background-color: #e3f2fd; color: #1565c0; }
.badge-hybrid { background-color: #f3e5f5; color: #7b1fa2; }
.badge-person { background-color: #e8f5e9; color: #2e7d32; }
.badge-spots { background-color: #fff3e0; color: #ef6c00; margin-left: auto; }
.badge-category { background-color: #2d3748; color: white; }

.event-date { font-size: 0.85rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.event-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; color: var(--text-dark); }

.event-schedule-line {
    font-size: 0.85rem; color: var(--text-gray); margin-bottom: 10px; font-weight: 500; display: flex; align-items: center; gap: 5px;
}

.event-meta {
    font-size: 0.85rem; color: var(--text-gray); margin-top: auto; padding-top: 15px;
    border-top: 1px solid #eee; display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
}
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-weight: 600; font-size: 0.75rem; color: #718096; }

.event-footer { margin-top: 15px; display: flex; gap: 10px; }
.btn-small { font-size: 0.8rem; padding: 8px 0; flex: 1; text-align: center; }

.detail-row {
    display: flex; justify-content: space-between; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px;
}
.detail-label { font-weight: bold; color: var(--text-dark); width: 40%; }
.detail-value { color: var(--text-gray); width: 60%; text-align: right; }
.instructor-pending { color: #e53e3e; font-style: italic; }
.instructor-assigned { color: #38a169; font-weight: bold; }

.schedule-list { list-style: disc; padding-left: 20px; margin-bottom: 15px; color: var(--text-gray); }
.registration-message {
    background: #ebf8ff; border-left: 4px solid var(--secondary); padding: 15px;
    margin-bottom: 20px; font-size: 0.9rem; color: #2c5282;
}

.contact-form-wrapper {
    background: var(--white); padding: 30px; border-radius: var(--radius);
    box-shadow: var(--shadow); max-width: 600px; margin: 0 auto; width: 100%;
}
.contact-form-wrapper .form-group { margin-bottom: 20px; }
.contact-form-wrapper label { display: block; margin-bottom: 8px; font-weight: 600; }
.contact-form-wrapper input, .contact-form-wrapper textarea {
    width: 100%; padding: 12px; border: 1px solid #cbd5e0; border-radius: var(--radius); font-family: inherit;
}
.contact-form-wrapper textarea { resize: vertical; min-height: 120px; }

.dashboard-container { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 70px); }
.sidebar { background: var(--primary-dark); color: var(--white); padding: 20px; }
.sidebar h3 { margin-bottom: 30px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.sidebar-menu li { margin-bottom: 10px; }
.sidebar-menu button {
    width: 100%; text-align: left; background: none; color: rgba(255,255,255,0.8);
    padding: 10px; border-radius: var(--radius);
}
.sidebar-menu button:hover, .sidebar-menu button.active {
    background: rgba(255,255,255,0.1); color: var(--white);
}
.dashboard-content { padding: 30px; background: #edf2f7; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }

.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 15px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.data-table th { background: var(--primary); color: var(--white); }
.status-badge { padding: 4px 8px; border-radius: 12px; font-size: 0.8rem; font-weight: 600; }
.status-pass { background: #c6f6d5; color: #22543d; }
.status-pending { background: #feebc8; color: #744210; }
.status-fail { background: #fed7d7; color: #822727; }

.widget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--secondary); }
.stat-number { font-size: 2rem; font-weight: bold; color: var(--secondary); }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center;
    z-index: 1000; opacity: 0; pointer-events: none; transition: 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--white); padding: 30px; border-radius: var(--radius);
    width: 90%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-lg { max-width: 800px; }

.close-modal { position: absolute; top: 15px; right: 15px; font-size: 1.5rem; background: none; color: var(--text-gray); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #cbd5e0; border-radius: var(--radius); font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44,122,123,0.15); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }
.auth-switch { text-align: center; margin-top: 15px; font-size: 0.9rem; }
.auth-switch a { color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: underline; }
.login-options { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 15px; }

/* Remember Me checkbox label */
.remember-me-label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 0.88rem;
    user-select: none;
}
.remember-me-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}

/* Demo login section */
.demo-login-section {
    margin-top: 22px;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
}
.demo-login-label {
    text-align: center;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}
.demo-login-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.demo-btn {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    padding: 8px 6px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.demo-student {
    background: #e6fffa;
    color: #276749;
    border-color: #81e6d9;
}
.demo-student:hover { background: #b2f5ea; color: #1d4731; }
.demo-teacher {
    background: #ebf8ff;
    color: #2c5282;
    border-color: #90cdf4;
}
.demo-teacher:hover { background: #bee3f8; color: #1a365d; }
.demo-admin {
    background: #faf5ff;
    color: #553c9a;
    border-color: #d6bcfa;
}
.demo-admin:hover { background: #e9d8fd; color: #322659; }

#toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--text-dark); color: var(--white); padding: 12px 24px; border-radius: var(--radius); box-shadow: var(--shadow); animation: slideIn 0.3s ease-out forwards; min-width: 250px; display: flex; justify-content: space-between; align-items: center; }
.toast.success { border-left: 5px solid #48bb78; }
.toast.error { border-left: 5px solid #f56565; }
.toast.info { border-left: 5px solid var(--primary); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

footer {
    background: linear-gradient(160deg, #0f2027 0%, #1a3a3c 55%, #234e52 100%);
    color: var(--white);
    padding: 0;
    margin-top: auto;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 48px;
    padding: 56px 0 40px;
    align-items: flex-start;
}

/* Brand column */
.footer-brand {}
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.footer-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(44,122,123,0.25);
}
.footer-logo-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.footer-logo-sub {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.footer-tagline {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 22px;
}
.footer-divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Link columns */
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-title {
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col a {
    color: rgba(255,255,255,0.62);
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
    transition: background 0.2s;
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-col a:hover::before { background: var(--accent); }

/* Social buttons */
.footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
}
.footer-social-btn:hover { color: var(--white); transform: translateX(4px); }
.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.footer-social-btn:hover .footer-social-icon {
    background: var(--primary);
    border-color: var(--primary);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }

.footer-nav { display: flex; justify-content: center; gap: 25px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 0 28px; }
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 20px; }
    .footer-tagline { max-width: 100%; }
}

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 50px; }
.about-images { display: flex; flex-direction: column; gap: 15px; }
.about-img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.testimonial-img { width: 100%; height: 200px; object-fit: cover; }
.testimonial-body { padding: 20px; flex-grow: 1; }
.testimonial-quote { font-style: italic; color: var(--text-gray); margin-bottom: 12px; line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--primary); font-size: 0.9rem; }

/* Section title */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 10px; }
.section-title p { color: var(--text-gray); font-size: 1.05rem; }

#nav-toggle { display: none; font-size: 1.4rem; padding: 6px 12px; line-height: 1; }

/* Sidebar admin link */
.sidebar a.btn-outline {
    text-align: center;
    font-size: 0.85rem;
}

/* Detail actions */
.detail-actions { margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; }

/* Dashboard search input */
.dashboard-search {
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    max-width: 340px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dashboard-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44,122,123,0.15);
}

/* Event form date inputs */
input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: var(--radius);
    font-family: inherit;
    transition: border-color 0.2s;
}
input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44,122,123,0.15);
}

/* Cancel button in tables */
.btn-danger { background: #fed7d7; color: #c53030; border: none; }
.btn-danger:hover { background: #feb2b2; }

@media (max-width: 768px) {
    #nav-toggle { display: inline-block; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow); padding: 20px; gap: 15px; z-index: 99; }
    .nav-links.nav-open { display: flex; }
    .nav-dropdown { flex-direction: column; width: 100%; }
    .nav-dropdown-toggle { width: 100%; justify-content: center; padding: 4px 0; }
    .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border-radius: 0; background: var(--bg-light); min-width: 100%; left: auto; }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: flex; }
    .dashboard-container { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .hero h2 { font-size: 2rem; }
    .form-row { flex-direction: column; gap: 0; }
    .event-detail-grid { grid-template-columns: 1fr !important; }
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
}
