/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Background and container styles */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #000000, #2e0066);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Login box styles */
.login-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: slideDown 1s ease-in-out;
}

/* Heading styles */
.login-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

/* Input group styles */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    outline: none;
    transition: border-bottom 0.3s ease;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #bbb;
    pointer-events: none;
    transition: 0.5s ease-in-out;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -18px;
    left: 0;
    color: #ff00ff;
    font-size: 12px;
}

.input-group input:focus {
    border-bottom: 2px solid #ff00ff;
}

/* Button styles */
button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 25px;
    background-color: #ff00ff;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    
    background-color: #cc00cc;
}

/* Animation keyframes */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-box {
        padding: 30px;
    }

    .login-box h2 {
        font-size: 24px;
    }

    button {
        font-size: 16px;
    }
}
