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

:root {
    --primary-color: #7B2CBF;
    --secondary-color: #FF6B35;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --dark-text: #1a1a1a;
    --border-color: #e0e0e0;
    --success: #27ae60;
    --warning: #f39c12;
    --error: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(123, 44, 191, 0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--primary-color);
}

.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-brand .logo {
    height: 46px;
    width: auto;
}

.brand-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    position: relative;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(123, 44, 191, 0.08);
}

.nav-link.primary-btn {
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(123, 44, 191, 0.2);
}

.nav-link.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(123, 44, 191, 0.25);
    color: white;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6A1FA6 100%);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.secondary-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.full-width {
    width: 100%;
}

.logout-btn {
    background: var(--error);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6A1FA6 50%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-item .icon {
    width: 30px;
    height: 30px;
    stroke: white;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.detail-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

.hero-illustration {
    width: 100%;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==================== HIGHLIGHTS SECTION ==================== */
.highlights {
    padding: 4rem 0;
    background: white;
}

.highlights h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.highlight-card {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.15);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--secondary-color);
}

.highlight-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: #666;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ==================== EVENT DETAILS ==================== */
.event-details {
    padding: 3rem 0;
}

.event-details h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary-color);
}

.detail-box h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.detail-box p {
    margin: 0.5rem 0;
    color: #666;
}

.text-muted {
    font-size: 0.9rem;
    color: #999 !important;
}

.info-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card ol,
.info-card ul {
    margin-left: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* ==================== REGISTRATION ==================== */
.registration-section {
    padding: 3rem 0;
}

.registration-form-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    text-align: center;
}

.form-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.registration-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin: 0;
}

.help-text {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.25rem;
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.registration-info {
    background: var(--light-bg);
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.registration-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.registration-info ul {
    list-style: none;
}

.registration-info li {
    padding: 0.5rem 0;
    color: #666;
}

/* Staff toggle buttons */
.toggle-group {
    display: inline-flex;
    gap: 0.5rem;
    background: var(--light-bg);
    padding: 0.35rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    background: rgba(123, 44, 191, 0.08);
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6A1FA6 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.25);
}

/* ==================== SUCCESS PAGE ==================== */
.success-section {
    padding: 3rem 0;
}

.success-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--success) 0%, #2ecc71 100%);
}

.success-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.success-section h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    padding: 2rem 2rem 0;
    margin: 0;
}

.success-message {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.confirmation-details {
    background: var(--light-bg);
    padding: 2rem;
    margin: 0 2rem;
    border-radius: 8px;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail:last-child {
    border-bottom: none;
}

.detail .label {
    font-weight: 600;
    color: var(--primary-color);
}

.detail .value {
    color: #666;
}

.next-steps {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.next-steps h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.next-steps ol {
    margin-left: 2rem;
    color: #666;
    line-height: 1.8;
}

.next-steps li {
    margin-bottom: 1rem;
}

.important-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 2rem;
    margin: 2rem;
    border-radius: 8px;
}

.important-note h3 {
    color: #856404;
    margin-top: 0;
}

.important-note p {
    color: #856404;
    margin: 0.5rem 0;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
}

/* ==================== LOGIN PAGE ==================== */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-form {
    padding: 2rem;
}

.login-footer {
    padding: 1rem 2rem;
    text-align: center;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* ==================== ADMIN SECTION ==================== */
.admin-section {
    padding: 2rem 0;
}

.admin-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.admin-navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--light-bg);
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary-color);
    color: white;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6A1FA6 100%);
    color: white;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-icon.staff-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.stat-icon.guest-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e74c3c 100%);
}

.stat-icon.checkin-icon {
    background: linear-gradient(135deg, var(--success) 0%, #27ae60 100%);
}

.stat-icon.pending-icon {
    background: linear-gradient(135deg, var(--warning) 0%, #e67e22 100%);
}

.stat-content h3 {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    margin: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* ==================== TABLES ==================== */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

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

.admin-table th {
    background: var(--light-bg);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tr:hover {
    background: var(--light-bg);
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-staff {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-guest {
    background: #fff3e0;
    color: #f57c00;
}

.badge-success {
    background: #e8f5e9;
    color: #388e3c;
}

.badge-warning {
    background: #fff3e0;
    color: #f57c00;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: var(--primary-color);
    color: white;
}

.pagination-current {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* ==================== FILTERS ==================== */
.filters-section {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

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

.filters-form input,
.filters-form select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

@media (max-width: 1024px) {
    .navbar .container {
        padding: 0.8rem 15px;
    }

    .navbar-brand .logo {
        height: 42px;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .navbar-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 15px;
    }

    .navbar-brand {
        flex: 0 0 auto;
    }

    .navbar-menu {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.4rem;
    }

    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }

    .brand-text {
        font-size: 1rem;
        display: none;
    }

    .navbar-brand .logo {
        height: 40px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-illustration {
        max-width: 300px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-details {
        align-items: center;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .detail-item {
        flex-direction: column;
        align-items: center;
    }

    .detail-item .icon {
        width: 24px;
        height: 24px;
    }

    .detail-label {
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .highlights h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .highlight-card {
        padding: 1.5rem;
    }

    .highlight-card h3 {
        font-size: 1.1rem;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-box {
        padding: 1.5rem;
    }

    .event-details h1 {
        font-size: 1.8rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .registration-section {
        padding: 2rem 0;
    }

    .form-header {
        padding: 2rem;
    }

    .form-header h1 {
        font-size: 1.8rem;
    }

    .registration-form {
        padding: 2rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 1rem;
    }

    .toggle-group {
        gap: 0.3rem;
        padding: 0.3rem;
    }

    .toggle-btn {
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
    }

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

    .registration-info {
        padding: 1.5rem;
    }

    .success-section {
        padding: 2rem 0;
    }

    .success-icon {
        padding: 2rem;
    }

    .success-icon svg {
        width: 80px;
        height: 80px;
    }

    .success-section h1 {
        font-size: 1.8rem;
        padding: 1.5rem 1.5rem 0;
    }

    .confirmation-details {
        margin: 0 1.5rem;
        padding: 1.5rem;
    }

    .next-steps {
        padding: 1.5rem;
    }

    .next-steps h2 {
        font-size: 1.2rem;
    }

    .important-note {
        margin: 1.5rem;
        padding: 1.5rem;
    }

    .actions {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .login-container {
        max-width: 100%;
        margin: 0 15px;
    }

    .admin-section {
        padding: 1rem 0;
    }

    .admin-container {
        padding: 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .admin-navigation {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .table-wrapper {
        overflow-x: auto;
        margin: -1rem;
        padding: 1rem;
    }

    .admin-table {
        font-size: 0.85rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.6rem 0.4rem;
    }

    .filters-form {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .filters-form input,
    .filters-form select {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .verification-container {
        grid-template-columns: 1fr;
    }

    .info-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-field {
        padding: 0.75rem;
    }

    .large-btn {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .qrcode-image {
        max-width: 150px;
    }

    .event-info-card {
        padding: 1.5rem;
    }

    .scanner-container {
        grid-template-columns: 1fr;
    }

    #scanner {
        max-width: 100%;
        height: 400px;
    }

    .scanner-info-panel {
        padding: 1.5rem;
    }

    .pagination {
        gap: 0.3rem;
    }

    .pagination-link,
    .pagination-current {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .navbar .container {
        padding: 0.6rem 12px;
    }

    .navbar-brand .logo {
        height: 36px;
    }

    .navbar-menu {
        padding: 0.3rem;
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.45rem 0.6rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-details {
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .detail-item {
        gap: 0.75rem;
    }

    .detail-label {
        font-size: 0.75rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .cta-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .highlights h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .highlight-card {
        padding: 1.2rem;
    }

    .highlight-card h3 {
        font-size: 1rem;
    }

    .highlight-card p {
        font-size: 0.9rem;
    }

    .form-header {
        padding: 1.5rem;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    .registration-form {
        padding: 1.5rem;
    }

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

    .toggle-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem 0.3rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-error {
    background: #ffebee;
    border-left-color: var(--error);
    color: #c62828;
}

.alert-success {
    background: #e8f5e9;
    border-left-color: var(--success);
    color: #2e7d32;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-text);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
}

.main-content {
    min-height: calc(100vh - 100px);
}
