/* ============================================================
   Retriever Show Platform – Fő stíluslap
   Elsődleges szín: #2f855a (sötétzöld)
   Másodlagos szín: #1e40af (kék)
   ============================================================ */

/* CSS változók */
:root {
    --primary:        #2f855a;
    --primary-dark:   #276749;
    --primary-light:  #48bb78;
    --secondary:      #1e40af;
    --secondary-dark: #1e3a8a;
    --secondary-light: #3b82f6;
    --danger:         #e53e3e;
    --danger-dark:    #c53030;
    --warning:        #d69e2e;
    --warning-light:  #faf089;
    --success:        #2f855a;
    --info:           #2b6cb0;
    --white:          #ffffff;
    --gray-50:        #f9fafb;
    --gray-100:       #f3f4f6;
    --gray-200:       #e5e7eb;
    --gray-300:       #d1d5db;
    --gray-400:       #9ca3af;
    --gray-500:       #6b7280;
    --gray-600:       #4b5563;
    --gray-700:       #374151;
    --gray-800:       #1f2937;
    --gray-900:       #111827;
    --navbar-height:  64px;
    --radius:         8px;
    --radius-lg:      12px;
    --shadow:         0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
    --shadow-md:      0 4px 6px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:      0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl:      0 20px 25px rgba(0,0,0,.15), 0 10px 10px rgba(0,0,0,.04);
    --transition:     all 0.2s ease;
}

/* ============================================================
   RESET ÉS ALAP STÍLUSOK
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

/* ============================================================
   ELRENDEZÉSI SEGÉDOSZTÁLYOK
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-md {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 24px;
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-danger { color: var(--danger); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   NAVIGÁCIÓ
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    height: var(--navbar-height);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-logo:hover { color: var(--primary-dark); }

.logo-icon { font-size: 1.5rem; }
.logo-text { color: var(--gray-800); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-nav-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 6px 16px;
}

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

.btn-nav-primary {
    background: var(--primary);
    color: white !important;
    padding: 6px 16px;
}

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

/* Dropdown menü */
.nav-dropdown {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.nav-user-btn:hover { background: var(--gray-100); }

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.dropdown-arrow {
    font-size: 0.75rem;
    color: var(--gray-400);
    transition: transform 0.2s ease;
}

.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px;
    background: transparent;
    z-index: 100;
}

.dropdown-menu-inner {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    min-width: 200px;
    padding: 8px;
    animation: dropdownFade 0.15s ease;
}

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

.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.dropdown-menu li a.text-danger { color: var(--danger); }
.dropdown-menu li a.text-danger:hover { background: #fff5f5; }

.dropdown-divider {
    border-top: 1px solid var(--gray-200);
    margin: 4px 0;
}

/* Hamburger gomb */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-spacer { height: var(--navbar-height); }

/* ============================================================
   FLASH ÜZENETEK
   ============================================================ */
.flash-container {
    position: fixed;
    top: calc(var(--navbar-height) + 16px);
    right: 16px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

.flash-success { background: #f0fff4; border-left: 4px solid var(--primary);   color: #276749; }
.flash-error   { background: #fff5f5; border-left: 4px solid var(--danger);    color: var(--danger-dark); }
.flash-warning { background: #fffbeb; border-left: 4px solid var(--warning);   color: #744210; }
.flash-info    { background: #ebf8ff; border-left: 4px solid var(--secondary); color: var(--secondary-dark); }

.flash-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 0 4px;
    flex-shrink: 0;
}

.flash-close:hover { opacity: 1; }

/* ============================================================
   HŐSKÉP SZEKCIÓ
   ============================================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1a4731 100%);
    color: white;
    padding: 100px 0 80px;
    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.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================================
   KÁRTYÁK
   ============================================================ */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h2,
.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

/* Esemény kártya */
.event-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.event-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 24px;
}

.event-card-date {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.event-card-body {
    padding: 20px 24px;
    flex: 1;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.event-meta-icon { font-size: 1rem; }

.event-card-footer {
    padding: 16px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Kutya kártya */
.dog-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

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

.dog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}

.dog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dog-card-body { padding: 20px; }

.dog-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.dog-card-breed {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.dog-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.dog-card-actions {
    display: flex;
    gap: 8px;
}

/* Statisztika kártyák */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon-green   { background: #f0fff4; }
.stat-icon-blue    { background: #ebf8ff; }
.stat-icon-orange  { background: #fffaf0; }
.stat-icon-purple  { background: #faf5ff; }

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ============================================================
   GOMBOK
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47,133,90,.4);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-secondary {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

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

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

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

.btn-outline-danger {
    background: transparent;
    color: var(--danger);
    border-color: var(--danger);
}

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

.btn-light {
    background: var(--gray-100);
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.btn-light:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-hero {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
}

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

.btn-hero-primary:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,.6);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: white;
    color: white;
}

/* ============================================================
   ŰRLAPOK
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-label .required { color: var(--danger); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: white;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(47,133,90,.15);
}

.form-control:disabled {
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: not-allowed;
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(229,62,62,.15);
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 4px;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

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

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.form-card-subtitle {
    color: var(--gray-500);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

/* ============================================================
   TÁBLÁZATOK
   ============================================================ */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th {
    background: var(--gray-50);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover td { background: var(--gray-50); }

.table-striped tbody tr:nth-child(even) td { background: var(--gray-50); }
.table-striped tbody tr:nth-child(even):hover td { background: var(--gray-100); }

/* ============================================================
   JELVÉNYEK (BADGE)
   ============================================================ */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-aktiv  { background: #f0fff4; color: var(--primary);    border: 1px solid #c6f6d5; }
.badge-lezart { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-300); }
.badge-torolt { background: #fff5f5; color: var(--danger);     border: 1px solid #fed7d7; }
.badge-admin  { background: #ebf8ff; color: var(--secondary);  border: 1px solid #bee3f8; }
.badge-user   { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-300); }
.badge-fizetve  { background: #f0fff4; color: var(--primary);  border: 1px solid #c6f6d5; }
.badge-pending  { background: #fffbeb; color: #92400e;         border: 1px solid #fcd34d; }

/* ============================================================
   OLDAL FEJ
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    color: white;
    padding: 48px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--gray-300);
    font-size: 1rem;
}

.page-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.page-header-breadcrumb a { color: var(--gray-300); }
.page-header-breadcrumb a:hover { color: white; }

/* ============================================================
   CTA SZEKCIÓ
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ============================================================
   SZŰRŐ ÉS KERESÉS
   ============================================================ */
.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
}

/* ============================================================
   ÜRES ÁLLAPOT
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-500);
}

.empty-state-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.25rem; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p  { font-size: 0.9rem; margin-bottom: 24px; }

/* ============================================================
   LÁBLÉC
   ============================================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: block;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: var(--transition);
}
.footer-links a:hover { color: white; }

.footer-contact li {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 8px;
}

/* ============================================================
   FŐ TARTALOM TERÜLETE
   ============================================================ */
.main-content {
    min-height: calc(100vh - var(--navbar-height) - 300px);
}

/* ============================================================
   BEJELENTKEZÉSI / REGISZTRÁCIÓS OLDAL
   ============================================================ */
.auth-page {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fff4, #e8f4f8);
    padding: 40px 0;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-icon { font-size: 3rem; }
.auth-logo h1 { font-size: 1.5rem; font-weight: 800; color: var(--gray-800); margin-top: 8px; }
.auth-logo p  { color: var(--gray-500); font-size: 0.9rem; }

.auth-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--gray-200);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================================
   EREDMÉNY TÁBLA
   ============================================================ */
.result-table .rank-1 td { background: #fffbeb; }
.result-table .rank-2 td { background: #f7fafc; }
.result-table .rank-3 td { background: #fff8f1; }

.rank-medal {
    font-size: 1.2rem;
}

/* ============================================================
   TAGDÍJ OLDAL
   ============================================================ */
.tagdij-status-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 32px;
}

.tagdij-paid {
    background: linear-gradient(135deg, #f0fff4, #e6ffed);
    border: 2px solid #c6f6d5;
}

.tagdij-unpaid {
    background: linear-gradient(135deg, #fff5f5, #ffe5e5);
    border: 2px solid #fed7d7;
}

.tagdij-icon { font-size: 3rem; margin-bottom: 12px; }
.tagdij-amount { font-size: 2.5rem; font-weight: 800; color: var(--gray-800); }
.tagdij-year { color: var(--gray-500); font-size: 0.9rem; }

/* ============================================================
   SZEKCIÓ FEJLÉCEK
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
}

.section-subtitle {
    color: var(--gray-500);
    margin-top: 6px;
    font-size: 0.9rem;
}

/* ============================================================
   RESZPONZÍV – TABLET
   ============================================================ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESZPONZÍV – MOBIL
   ============================================================ */
@media (max-width: 768px) {
    /* Navigáció */
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        gap: 4px;
        align-items: stretch;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }

    .nav-links.open { display: flex; }

    .nav-link { padding: 12px 16px; }

    .btn-nav-outline,
    .btn-nav-primary { text-align: center; }

    .nav-dropdown { width: 100%; }

    .dropdown-menu {
        display: none;
        position: static;
        padding-top: 0;
        background: transparent;
        animation: none;
    }

    .dropdown-menu-inner {
        box-shadow: none;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius);
        margin-top: 4px;
        animation: none;
    }

    .nav-dropdown.open .dropdown-menu { display: block; }

    /* Rácsok */
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

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

    /* Hero */
    .hero { padding: 60px 0 50px; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
    .hero-buttons { flex-direction: column; }

    /* Táblázat */
    .table th, .table td { padding: 10px 12px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Flash */
    .flash-container { left: 16px; right: 16px; max-width: 100%; }

    /* Section header */
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }

    .page-header { padding: 32px 0; }
    .page-header h1 { font-size: 1.5rem; }

    .auth-card { padding: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 40px 0; }
    .stat-card { flex-direction: column; text-align: center; }
}
