* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    animation: fadeIn 1.5s ease;
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 25px rgba(0,255,255,0.2);
    text-align: center;
    width: 300px;
}

.login-box h2 {
    margin-bottom: 20px;
    color: white;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #00ffff;
    color: white;
    outline: none;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: #aaa;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -15px;
    font-size: 12px;
    color: #00ffff;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #00ffff;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

button:hover {
    background: #00cccc;
    transform: scale(1.05);
}

#error {
    color: #ff4d4d;
    margin-top: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}