/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #ff4b2b, #ff6b81); /* Lightened the red gradient */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login container */
.login-container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: slideIn 0.6s ease;
}

/* Title */
.login-container h2 {
    color: #ff4b2b;
    margin-bottom: 25px;
}

/* Error message */
.login-container p {
    color: #ff1f1f;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Input fields */
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 2px solid #ff4b2b;
    border-radius: 10px;
    outline: none;
    transition: 0.3s ease;
    font-size: 15px;
}

.login-container input:focus {
    border-color: #ff1f1f;
    box-shadow: 0 0 8px rgba(255, 75, 43, 0.4);
}

/* Submit button */
.login-container button {
    width: 100%;
    padding: 12px;
    background-color: #ff4b2b;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #e6371e;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(255, 65, 65, 0.3);
}

/* Animation for container */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media screen and (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-container h2 {
        font-size: 22px;
    }
}
