/* ================================================
   FUTÓPÁLYÁZAT 2025 - ATHLETIC DESIGN SYSTEM
   ================================================ */

:root {
    /* Színpaletta - Energikus, sportos */
    --primary: #FF6B35;
    --primary-dark: #E5521B;
    --primary-light: #FF8D68;
    --secondary: #004E89;
    --secondary-dark: #003861;
    --accent: #FFD23F;
    --success: #2ECC71;
    --danger: #E74C3C;
    --warning: #F39C12;
    
    /* Szürke skála */
    --gray-50: #F8F9FA;
    --gray-100: #E9ECEF;
    --gray-200: #DEE2E6;
    --gray-300: #CED4DA;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --gray-900: #0D1117;
    
    /* Tipográfia */
    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Work Sans', -apple-system, system-ui, sans-serif;
    
    /* Térközök */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Árnyékok */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ================================================
   ALAPVETŐ STÍLUSOK
   ================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   TIPOGRÁFIA
   ================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ================================================
   LAYOUT
   ================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: var(--space-2xl) 0;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.title-small {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 3px;
    opacity: 0.8;
}

.title-big {
    font-size: 4.5rem;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlide 0.8s ease-out;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-top: var(--space-md);
    opacity: 0.9;
}

/* ================================================
   STATISZTIKAI KÁRTYÁK
   ================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

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

.stat-card.stat-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary-dark);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-primary .stat-value {
    color: white;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-primary .stat-label {
    color: rgba(255,255,255,0.9);
}

/* Státusz-specifikus színek az admin felületen */
.stat-pending { color: var(--warning); }
.stat-approved { color: var(--success); }
.stat-rejected { color: var(--danger); }

/* ================================================
   PROGRESS BAR
   ================================================ */

.progress-section {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.progress-percent {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
}

.progress-bar-container {
    position: relative;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: visible;
    margin-bottom: var(--space-md);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    to { left: 200%; }
}

.milestone {
    position: absolute;
    top: -10px;
    transform: translateX(-50%);
}

.milestone-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-300);
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.milestone-marker.reached {
    background: var(--success);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.milestone-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ================================================
   LAYOUT: KÉT OSZLOP
   ================================================ */

.two-column-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.content-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--primary);
}

/* ================================================
   RANGLISTA
   ================================================ */

.leaderboard {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 40px 1fr 100px;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-sm);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.leaderboard-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.rank {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: var(--gray-200);
    border-radius: var(--radius-md);
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: white; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A8A8A8); color: white; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #B87333); color: white; }

.leaderboard-info {
    min-width: 0;
}

.org-name {
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-stats {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.divider {
    margin: 0 var(--space-xs);
}

.org-bar-container {
    width: 100px;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.org-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    transition: width 0.6s ease;
}

/* ================================================
   LEGUTÓBBI FUTÁSOK
   ================================================ */

.recent-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.recent-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.recent-item:hover {
    background: var(--gray-100);
}

.recent-avatar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
}

.recent-info {
    flex: 1;
    min-width: 0;
}

.recent-name {
    font-weight: 600;
    color: var(--gray-800);
}

.recent-org {
    font-size: 0.85rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-distance {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.cta-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

/* ================================================
   GOMBOK
   ================================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

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

.btn-success:hover {
    background: #27AE60;
}

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

.btn-danger:hover {
    background: #C0392B;
}

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

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

.btn-tiny {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* ================================================
   NAVBAR
   ================================================ */

.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-user {
    font-weight: 500;
    color: #fff;
}

.admin-nav {
    background: var(--secondary);
    color: white;
}

.admin-nav .nav-brand {
    color: white;
}

/* ================================================
   FORM STÍLUSOK
   ================================================ */

.form-container {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.form-header h1 {
    margin-bottom: var(--space-sm);
}

.form-header p {
    color: var(--gray-600);
}

.submission-form {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--gray-700);
}

.required {
    color: var(--danger);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-help {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Fájl feltöltés */
.file-upload-wrapper {
    position: relative;
}

.form-input-file {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.file-upload-label:hover {
    background: var(--gray-200);
    border-color: var(--primary);
}

.file-name {
    display: inline-block;
    margin-left: var(--space-sm);
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    display: block;
    color: white;
    font-size: 14px;
    text-align: center;
    line-height: 16px;
}

.checkbox-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* ================================================
   ALERT ÜZENETEK
   ================================================ */

.alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-warning {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEAA7;
}

/* ================================================
   INFO BOX
   ================================================ */

.info-box {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-top: var(--space-xl);
}

.info-box h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.info-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ================================================
   ADMIN FELÜLET
   ================================================ */

.admin-body {
    background: var(--gray-100);
}

.admin-container {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-2xl);
}

.filters-section {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

.filters-form {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.filter-group label {
    font-weight: 600;
    color: var(--gray-700);
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
}

/* Táblázat */
.submissions-table-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

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

.submissions-table th {
    background: var(--secondary);
    color: white;
    padding: var(--space-md);
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.submissions-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
}

.submission-row:hover {
    background: var(--gray-50);
}

.submission-row.status-pending {
    border-left: 4px solid var(--warning);
}

.submission-row.status-approved {
    border-left: 4px solid var(--success);
}

.submission-row.status-rejected {
    border-left: 4px solid var(--danger);
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-pending {
    background: #FFF3CD;
    color: #856404;
}

.status-badge.status-approved {
    background: #D4EDDA;
    color: #155724;
}

.status-badge.status-rejected {
    background: #F8D7DA;
    color: #721C24;
}

.distance-badge {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary);
}

.actions-cell {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.notes-row td {
    background: var(--gray-50);
    font-style: italic;
    border-bottom: 2px solid var(--gray-300);
}

.admin-footer {
    text-align: center;
    padding-top: var(--space-lg);
}

/* ================================================
   MODAL
   ================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 2px solid var(--gray-100);
}

.modal-header h2 {
    font-size: 1.8rem;
}

.modal-close {
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--gray-700);
}

.modal-content form {
    padding: var(--space-lg);
}

.modal-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* ================================================
   LOGIN FELÜLET
   ================================================ */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: var(--space-md);
}

.login-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--space-xl);
    text-align: center;
}

.login-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.login-header p {
    opacity: 0.9;
}

.login-form {
    padding: var(--space-xl);
}

.login-footer {
    padding: var(--space-md);
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.login-info {
    background: var(--gray-50);
    padding: var(--space-md);
    text-align: center;
    color: var(--gray-600);
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: var(--space-xl) 0;
    text-align: center;
    margin-top: var(--space-2xl);
}

.footer p {
    margin: var(--space-xs) 0;
}

.admin-link {
    color: var(--gray-400);
    font-size: 0.9rem;
}

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

/* ================================================
   ÜRES ÁLLAPOTOK
   ================================================ */

.empty-state {
    text-align: center;
    padding: var(--space-lg);
    color: var(--gray-500);
    font-style: italic;
}

.empty-state-large {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--gray-500);
}

.text-muted {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ================================================
   RESZPONZÍV DESIGN
   ================================================ */

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .title-big {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .submissions-table-container {
        overflow-x: auto;
    }
    
    .submissions-table {
        font-size: 0.85rem;
    }
    
    .submissions-table th,
    .submissions-table td {
        padding: var(--space-sm);
    }
    
    .actions-cell {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: var(--space-xl) 0;
    }
    
    .title-big {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .leaderboard-item {
        grid-template-columns: 35px 1fr;
        font-size: 0.9rem;
    }
    
    .org-bar-container {
        display: none;
    }
}
