/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f6f9fc, #e9eff1);
}

/* Background container */
.background-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('https://source.unsplash.com/random/1600x900');
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
}

/* Login container styles */
.login-container {
    background: rgba(255, 255, 255, 0.95); /* Slightly transparent background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.login-container:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Header styles */
h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Input group styles */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Button styles */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
    background: linear-gradient(90deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Error message styles */
.error-message {
    color: red;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
        max-width: 90%;
    }

    h2 {
        font-size: 24px;
    }

    button {
        font-size: 14px;
    }
}
