/* css/style.css */
:root {
    /* --- APP SZÍNSÉMA (colors.js alapján) --- */
    --primary: #2694ab;       /* Élénk, modern Türkiz */
    --primary-dark: #005f73;  /* A Premium képernyő gradient sötét vége */
    
    --secondary: #FF8A65;     /* Pasztell Korall */
    --secondary-dark: #E66A45; /* Gomb hover hatáshoz sötétítve */
    
    --text: #2D3748;          /* Sötétszürke (Elegánsabb, mint a fekete) */
    --text-light: #A0AEC0;    /* Világosszürke */
    
    --bg-light: #F8F9FA;      /* Törtfehér háttér */
    --white: #FFFFFF;
    
    --radius: 16px;           /* Kicsit modernebb, nagyobb lekerekítés */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

html {
    scroll-behavior: smooth; /* Ettől szépen odacsúszik, nem csak oda ugrik */
}

/* Navigáció */
.navbar {
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(38, 148, 171, 0.1); /* Enyhe türkiz árnyék */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-login {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(38, 148, 171, 0.3);
}

/* Konténerek */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Gombok */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

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

.btn-secondary {
    background: var(--secondary);
    color: white; /* A korallhoz a fehér szöveg jobban illik */
}

/* Back Button */
.back-nav {
    margin-bottom: 20px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light); /* Halványabb, diszkrétebb vissza gomb */
    font-weight: 600;
    transition: color 0.2s;
}
.back-link:hover {
    color: var(--primary);
}
.back-link span { margin-left: 8px; }

/* Language Switch */
.language-switch { text-align: right; margin-bottom: 20px; }
.language-switch button { 
    padding: 6px 14px; 
    cursor: pointer; 
    background: #EDF2F7; /* App-hű világos háttér */
    border: none; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    color: var(--text);
    font-weight: 600;
    margin-left: 5px;
}
.language-switch button.active { 
    background: var(--primary); 
    color: white; 
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}
footer a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* Hero Section (Főoldal) */
.hero {
    text-align: center;
    padding: 80px 20px;
}
.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 10px; 
    color: var(--primary); /* A fő szín */
    font-weight: 900;
}
.hero p { 
    font-size: 1.25rem; 
    color: var(--text); 
    max-width: 600px; 
    margin: 0 auto 40px auto; 
    line-height: 1.5;
}

/* Shelter Section - App Gradient */
.shelter-cta {
    /* Ugyanaz a gradient, mint a PremiumScreen.js háttere */
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius);
    padding: 50px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 10px 30px rgba(38, 148, 171, 0.4);
}
.shelter-cta h2 { color: white; margin-top: 0; font-size: 2rem; }
.shelter-cta p { opacity: 0.9; margin-bottom: 30px; font-size: 1.1rem; }

/* --- LOGÓK ÉS IKONOK --- */

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 8px;
    vertical-align: middle;
}

.app-icon-lg {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(38, 148, 171, 0.25); /* Színes árnyék */
    margin-bottom: 25px;
}

/* Űrlap elemek (Loginhoz) */
input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 1rem;
    color: var(--text);
    background: #F7FAFC;
}
input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(38, 148, 171, 0.1);
}

/* Nyelvválasztó legördülő */
.lang-select {
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    background-color: #F7FAFC;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}
.lang-select:focus {
    border-color: var(--primary);
}

/* --- ÁRAZÁS / ÖSSZEHASONLÍTÓ SZEKCIÓ --- */

.pricing-section {
    padding: 60px 20px;
    text-align: center;
}

.pricing-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 800;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Mobilon egymás alá kerülnek */
}

.plan-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Kiemelt Premium Kártya */
.plan-card.premium {
    border-color: var(--secondary); /* Narancs keret */
    background: linear-gradient(to bottom, #fff, #fff9f5); /* Enyhe narancs beütés alul */
}
.plan-card.premium strong {
    color: var(--primary-dark); /* Kicsit sötétebb szín a kiemelt funkcióknak */
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 138, 101, 0.4);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.feature-list li {
    padding: 12px 0; 
    border-bottom: 1px solid #f0f0f0;
    color: var(--text);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.3;
    
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Pipák és X-ek */
.check { color: var(--primary); margin-right: 10px; font-weight: bold; }
.cross { color: #ccc; margin-right: 10px; }
.feature-disabled {
    color: #cbd5e0; /* Világosabb szürke */
    text-decoration: none; /* Kivettem az áthúzást, mert sokszor csúnya, inkább csak halvány legyen */
}

.check, .cross {
    display: inline-block;
    width: 25px; /* Fix szélesség az ikonnak, hogy a szöveg egy vonalban kezdődjön */
    text-align: center;
    flex-shrink: 0;
}

/* =========================================
   MOBIL OPTIMALIZÁLÁS (Javított)
   ========================================= */

@media (max-width: 768px) {

    /* 1. HERO GOMBOK KÖZÉPRE IGAZÍTÁSA */
    .hero {
        padding: 40px 15px;
        display: flex;
        flex-direction: column;
        align-items: center; /* Ez középre húz mindent */
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    /* A gombokat tartalmazó div */
    .hero > div {
        display: flex;
        flex-direction: column; /* Egymás alá kerüljenek */
        align-items: center;
        width: 100%;
        gap: 15px; /* Távolság a két gomb között */
        margin-top: 30px !important;
    }

    .hero .btn {
        width: 100%; /* Teljes szélesség mobilon */
        max-width: 280px; /* De ne legyen túl széles */
        margin-left: 0 !important; /* A második gomb bal margóját töröljük */
        text-align: center;
        box-sizing: border-box; /* Hogy a padding ne növelje a méretet */
    }

    /* 2. PRICING TÁBLÁZAT JAVÍTÁSA */
    .pricing-section {
        padding: 40px 10px; /* Kisebb szél */
    }

    .pricing-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 30px;
    }

    .plan-card {
        width: 100% !important; /* Kitölti a képernyőt */
        max-width: 100% !important; /* Felülírja a korábbi 350px korlátot */
        margin: 0;
        box-sizing: border-box; /* Fontos! Hogy a padding ne lógassa ki */
        padding: 20px; /* Kisebb belső térköz mobilon (30px helyett) */
    }

    /* Ha a lista elemek túl hosszúak lennének, tördeljük őket */
    .feature-list li {
        font-size: 0.9rem; /* Picit kisebb betű */
        white-space: normal; /* Sortörés engedélyezése */
    }

    /* 3. SHELTER BELÉPÉS KÁRTYA */
    .login-container {
        padding: 10px;
    }
    
    .login-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.free-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.free-badge .icon {
    margin-right: 6px;
    color: #FFD700; /* Arany színű pipa vagy csillag */
}

/* --- SHELTER PORTAL LAYOUT --- */

.portal-container {
    display: flex;
    min-height: calc(100vh - 70px); /* Navbar magasság levonva */
    background-color: #F8F9FA;
}

/* Oldalsáv */
.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.sidebar-btn:hover, .sidebar-btn.active {
    background-color: #E0F7FA; /* Halvány türkiz */
    color: var(--primary);
    font-weight: bold;
}

.sidebar-btn .icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Fő tartalom terület */
.portal-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.portal-header {
    margin-bottom: 30px;
}

.portal-greeting {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
}

.portal-org-name {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Statisztika Kártyák (DashboardScreen.js stílusa alapján) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: white;
}

.stat-info h3 { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--text); }
.stat-info p { margin: 0; color: var(--text-light); font-size: 0.9rem; }

/* Színek az app alapján */
.bg-orange { background-color: #FFB74D; }
.bg-blue { background-color: #4DD0E1; }
.bg-green { background-color: #81C784; }
.bg-red { background-color: #E57373; }

/* Reszponzivitás */
@media (max-width: 768px) {
    .portal-container { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #eee; padding: 10px; }
    .sidebar-menu { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 5px; }
    .sidebar-btn { white-space: nowrap; }
}

/* --- SHELTER LOGIN JAVÍTÁS --- */

.login-container {
    display: flex;
    justify-content: center; /* Vízszintesen középre */
    align-items: center;     /* Függőlegesen középre */
    min-height: calc(100vh - 140px); /* Teljes magasság mínusz navbar */
    padding: 20px;
    background-color: var(--bg-light);
}

.login-card {
    width: 100%;
    max-width: 420px; /* EZ A LÉNYEG: Ne legyen szélesebb 420px-nél */
    margin: 0 auto;   /* Biztonsági középre igazítás */
}

/* Ha a gomb még mindig túl "agresszív", kicsit finomítunk rajta */
.login-card .btn {
    width: 100%; /* Kitölti a 420px-es kártyát */
    margin-top: 15px;
    font-size: 1.1rem;
}
/* =========================================
   RESPONSIVE DESIGN (MOBIL OPTIMALIZÁLÁS)
   ========================================= */

/* Mobilos és Tablet nézet (max 768px) */
@media (max-width: 768px) {

    /* --- GLOBÁLIS --- */
    .container {
        padding: 0 15px; /* Kisebb lapszélek */
    }

    /* --- NAVIGÁCIÓ --- */
    .navbar {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }

    .brand {
        margin-bottom: 5px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap; /* Ha nem fér ki, törje a sort */
        gap: 10px;
    }

    .lang-select {
        width: auto;
        flex-grow: 1; /* Töltse ki a helyet */
    }

    /* --- HERO SZEKCIÓ --- */
    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 2rem; /* Kisebb cím */
    }

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

    .app-icon-lg {
        width: 80px;
        height: 80px;
    }

    /* --- MENHELY PORTÁL (DASHBOARD) --- */
    /* Az oldalsáv ne oldalt legyen, hanem felül */
    .portal-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
        overflow-x: auto; /* Ha sok menüpont van, lehessen görgetni */
    }

    .sidebar-menu {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding-bottom: 5px;
        white-space: nowrap; /* Ne törje a sorokat a menüben */
    }

    .sidebar-menu li {
        margin-bottom: 0;
    }

    .sidebar-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        background: #fff;
        border: 1px solid #eee;
    }
    
    .sidebar-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .portal-content {
        padding: 15px;
    }

    /* --- STATISZTIKÁK --- */
    .stats-grid {
        grid-template-columns: 1fr; /* Egymás alá kerüljenek */
        gap: 15px;
    }

    /* --- TÁBLÁZATOK --- */
    /* Vízszintes görgetés engedélyezése a táblázatoknak */
    .view-section table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap; /* Hogy ne nyomódjon össze a tartalom */
    }

    /* --- ŰRLAPOK --- */
    .form-grid {
        grid-template-columns: 1fr; /* Egy oszlop */
        gap: 0;
    }
    
    .card {
        padding: 20px; /* Kisebb belső térköz */
    }

    /* --- ÁRAZÁS --- */
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 100%; /* Kitölti a képernyőt */
    }

    /* --- EGYÉB --- */
    .shelter-cta {
        padding: 30px 15px;
    }
    
    .login-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .chip-container {
        gap: 5px;
    }
    
    .chip-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
/* --- KÉPERNYŐKÉPEK SZEKCIÓ (APP SHOWCASE) --- */

.screenshots-section {
    padding: 60px 0;
    background-color: var(--white); /* Vagy hagyhatod átlátszónak is */
    text-align: center;
    overflow: hidden; /* Hogy a kilógó árnyékok ne növeljék az oldal szélességét */
}

.screenshots-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 40px;
    padding: 0 20px;
}

/* A görgethető konténer */
.screenshots-scroll {
    display: flex;
    gap: 30px;
    
    /* ASZTALI NÉZET ALAPÉRTELMEZÉS: KÖZÉPRE IGAZÍTÁS */
    justify-content: center; 
    
    overflow-x: auto;
    padding: 20px 40px 40px 40px; /* Alul nagyobb padding az árnyékok miatt */
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
    
    /* Görgetősáv elrejtése */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

/* Ha a képernyő kisebb, mint amennyi helyet a képek foglalnak (pl. Tablet/Mobil),
   akkor váltson vissza balra igazításra, hogy lehessen görgetni! 
   (4 kép * 260px + hézagok kb. 1200px) */
@media (max-width: 1200px) {
    .screenshots-scroll {
        justify-content: flex-start; /* Fontos: mobilon így működik a swipe */
        padding-left: 20px; /* Mobilon kisebb szél */
        padding-right: 20px;
    }
}

.screenshots-scroll::-webkit-scrollbar {
    display: none; 
}

/* Maga a kép (Telefon keret imitáció) */
.screenshot-item {
    flex: 0 0 auto;
    width: 260px; /* Állítsd be a képernyőképeid arányához */
    /* border-radius: 30px;  A kép kerekítéséhez */
    scroll-snap-align: center;
    transition: transform 0.3s ease;
    
    /* Telefon keret effektus */
    border: 8px solid #1a1a1a; /* Sötét keret */
    border-radius: 35px; /* A keret kerekítése */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Elegáns árnyék */
    overflow: hidden; /* Hogy a kép ne lógjon ki a keretből */
    background: #000; /* Ha a kép nem töltene be, legyen fekete */
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hover effekt (asztali gépen) */
.screenshot-item:hover {
    transform: translateY(-10px); /* Kicsit felemelkedik */
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border: 1px solid #eee;
    max-width: 600px;
    margin: 0 auto; /* Középre mobilon */
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* FAQ Accordion */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Nyíl elrejtése */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Egyedi plusz jel a végére */
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: normal;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 20px 20px 20px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* --- JAVÍTOTT ADMIN ÉS LOGIN STÍLUSOK (style.css vége) --- */

/* 1. JAVÍTÁS: A gomb csak a LOGIN DOBOZBAN legyen teljes szélességű */
/* Így a főoldali iOS gomb visszaáll eredeti méretére */
.login-box .btn-primary {
    width: 100%;
}

/* 2. JAVÍTÁS: A bejelentkező doboz stílusa */
/* Nem a konténert állítjuk középre, hanem magát a dobozt margókkal */
.login-box {
    max-width: 400px;
    width: 90%;
    margin: 10vh auto; /* Fentről 10vh, vízszintesen automatikusan középre */
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.login-box h2 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 5px;
}

/* 3. JAVÍTÁS: Form elemek */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

/* 4. JAVÍTÁS: Admin Dashboard szélesség */
/* Hogy a táblázat ne legyen összenyomva */
.dashboard-content {
    width: 100%;
    max-width: 1200px; /* Vagy amennyit szeretnél */
    margin: 0 auto;    /* Középre igazítja a tartalmat */
    padding: 20px;
}
/* --- MODERN ADMIN PRO DASHBOARD (style.css vége) --- */

/* Alapok */
body {
    background-color: #f3f4f6; /* Modern szürke háttér */
    color: #1f2937;
    font-family: 'Inter', system-ui, sans-serif;
}

.dashboard-content {
    max-width: 1400px; /* Szélesebb nézet */
    margin: 30px auto;
    padding: 0 20px;
}

/* Header Szekció */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.welcome-text h1 { margin: 0; font-size: 1.8rem; font-weight: 800; color: #111827; }
.welcome-text p { margin: 5px 0 0 0; color: #6b7280; font-size: 0.95rem; }

.header-actions { display: flex; gap: 10px; }

/* Statisztika Kártyák (Widgets) */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.stat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.stat-icon {
    width: 45px; height: 45px;
    border-radius: 10px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem;
}
/* Színek */
.bg-blue { background: #E0F2FE; color: #0284C7; }
.bg-orange { background: #FFEDD5; color: #EA580C; }
.bg-purple { background: #F3E8FF; color: #9333EA; }

.stat-value { font-size: 2rem; font-weight: 800; color: #111827; line-height: 1; }
.stat-label { font-size: 0.85rem; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 5px; }

/* Navigációs Fülek (Tabs) */
.nav-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 25px;
}
.nav-tab {
    padding: 12px 5px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.nav-tab:hover { color: var(--primary); }
.nav-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Toolbar & Search */
.toolbar-container {
    background: white;
    padding: 15px;
    border-radius: 12px 12px 0 0; /* Alul nincs kerekítés, mert ott a táblázat */
    border: 1px solid #e5e7eb;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-box {
    position: relative;
    width: 300px;
}
.search-box ion-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af;
}
.search-input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border 0.2s;
}
.search-input:focus { border-color: var(--primary); outline: none; }

/* Modern Táblázat */
.table-wrapper {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.modern-table { width: 100%; border-collapse: collapse; }
.modern-table th {
    background: #f9fafb;
    padding: 15px 20px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
}
.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 0.95rem;
    vertical-align: middle;
}
.modern-table tr:last-child td { border-bottom: none; }
.modern-table tr:hover { background-color: #f9fafb; }

/* Avatar és Info a táblázatban */
.user-cell { display: flex; align-items: center; gap: 12px; }
.user-avatar {
    width: 40px; height: 40px;
    background: #e5e7eb; color: #6b7280;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem;
}
.user-meta h4 { margin: 0; font-size: 0.95rem; font-weight: 600; color: #111827; }
.user-meta span { font-size: 0.8rem; color: #6b7280; }

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-badge.pending { background: #FEF3C7; color: #D97706; }
.status-badge.alert { background: #FEE2E2; color: #DC2626; }
.status-badge.success { background: #DCFCE7; color: #16A34A; }
.status-badge.neutral { background: #F3F4F6; color: #4B5563; }

/* Akció Gombok */
.btn-action {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    transition: all 0.2s;
}
.btn-action:hover { background: #f3f4f6; border-color: #9ca3af; }
.btn-action.primary { background: var(--primary); color: white; border: none; }
.btn-action.primary:hover { opacity: 0.9; }

/* Export Gomb */
.btn-export {
    display: flex; align-items: center; gap: 8px;
    background: #10B981; color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-export:hover { transform: translateY(-2px); background: #059669; }

/* MODAL - PREVIEW CARD (Mint egy telefon) */
.phone-preview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 320px;
    margin: 0 auto 20px auto;
}
.phone-img { width: 100%; height: 200px; object-fit: cover; }
.phone-body { padding: 20px; }
.phone-title { font-size: 1.4rem; font-weight: 800; margin: 0 0 5px 0; color: #111827; }
.phone-subtitle { color: #6b7280; font-size: 0.9rem; margin-bottom: 15px; }
.phone-badge { background: #f3f4f6; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; color: #4b5563; }