/* Általános stílusok */
body {
    background: linear-gradient(125deg, #2c3e50 0%, #3498db 50%, #2980b9 100%),
                linear-gradient(45deg, #2c3e50 0%, #3498db 50%, #2980b9 100%);
    background-blend-mode: multiply;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    color: #fff;
}

/* Dashboard konténer */
.dashboard-container {
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

.dashboard-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Üdvözlő szekció */
.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(44, 62, 80, 0.5);
}

.dashboard-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(44, 62, 80, 0.5);
}

/* Dashboard grid elrendezés */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

/* Fő tartalom rész */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Feature kártyák */
.feature-card {
    background: rgba(44, 62, 80, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.2);
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(41, 128, 185, 0.4);
    box-shadow: 0 15px 30px rgba(41, 128, 185, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #3498db;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Bejelentkező kártya */
.login-wrapper {
    position: sticky;
    top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(41, 128, 185, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: slideIn 0.5s ease-out;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.25);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
/* Űrlap elemek */
.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid rgba(41, 128, 185, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: #fff;
}

.form-label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Gombok */
.btn {
    padding: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #3498db;
    color: #2c3e50;
    background: transparent;
    margin-top: 1rem;
}

.btn-outline-secondary:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #2c3e50;
    transform: translateY(-2px);
    border-color: #2980b9;
}

/* Nyelvválasztó */
.language-selector {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.language-selector .dropdown-toggle {
    border-radius: 20px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(41, 128, 185, 0.2);
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.language-selector .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #3498db;
}

.language-selector .dropdown-menu {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.language-selector .dropdown-item {
    padding: 8px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.language-selector .dropdown-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.fi {
    width: 1.2em;
    height: 1.2em;
    line-height: 1em;
    object-fit: cover;
}

/* Animációk */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reszponzív beállítások */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        order: -1;
    }
    
    .login-wrapper {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .language-selector {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Scrollbar stílus */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 128, 185, 0.7);
}

/* Kijelölés stílus */
::selection {
    background: rgba(52, 152, 219, 0.3);
    color: #fff;
}
