.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #1A1F3C, #2A2F4C);
}

.mystical-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    animation: fadeInBg 1s ease-in forwards;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(26, 31, 60, 0.95), rgba(42, 47, 76, 0.95)),
        radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 140, 0, 0.2) 0%, transparent 60%);
    animation: bgAnimation 15s infinite alternate;
    backdrop-filter: blur(8px);
}

@keyframes fadeInBg {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bgAnimation {
    0% {
        background-position: 0% 0%;
        opacity: 0.8;
    }
    50% {
        background-position: 100% 100%;
        opacity: 1;
    }
    100% {
        background-position: 0% 0%;
        opacity: 0.8;
    }
}

.login-form {
    background: rgba(20, 20, 30, 0.85);
    padding: 2.5rem;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: formAppear 0.5s ease-out;
}

.login-form h2 {
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-orange));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #4CAF50;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #f44336;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.form-footer a:hover {
    color: var(--primary-orange);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reszponzív design */
@media (max-width: 480px) {
    .login-form {
        margin: 1rem;
        padding: 1.5rem;
    }
} 