* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #1a237e, #4a148c, #880e4f);
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-container {
    width: 360px;
    padding: 35px;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    color: #fff;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 82, 82, 0.25);
    border-left: 4px solid #ff5252;
    backdrop-filter: blur(5px);
}

label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #f0f0f0;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #bbdefb;
    background: rgba(255,255,255,0.25);
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn {
    background: #42a5f5;
    color: #fff;
}

.login-btn:hover {
    background: #1e88e5;
}

.register-btn {
    background: #ab47bc;
    color: #fff;
    margin-top: 12px;
}

.register-btn:hover {
    background: #8e24aa;
}

.footer {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
    color: #e3e3e3;
}
