body {
    margin: 0;
    padding: 0;
    background: #f6f5f7;
    overflow-x: hidden;
    height: 100vh;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.login-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.shape:first-child {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape:last-child {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.login-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    margin: 0 20px;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease forwards;
}

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

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    margin: 0;
    color: #764ba2;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-header p {
    color: #666;
    margin-top: 5px;
}

.login-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.form-group label {
    display: flex;
    align-items: center;
    color: #777;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    transform-origin: left;
    transition: all 0.3s ease;
}

.form-group label i {
    margin-right: 8px;
    color: #764ba2;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(118, 75, 162, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(102, 126, 234, 0.4);
}

.btn-login i {
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(5px);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    color: #666;
    font-size: 12px;
}

.alert {
    border-radius: 8px;
    animation: slideDown 0.5s ease forwards;
    margin-bottom: 25px;
    border-left: 4px solid #17a2b8;
}

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

/* Reszponzív design */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
}