@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h2 {
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: calc(100% - 20px); /* Account for padding */
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.input-group input[type="text"]:focus,
.input-group input[type="password"]:focus {
    border-color: #71b7e6;
    outline: none;
    box-shadow: 0 0 5px rgba(113, 183, 230, 0.5);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #71b7e6; /* Changes checkbox color in modern browsers */
}

.remember-me label {
    font-size: 0.9em;
    color: #666;
    font-weight: 400;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #9b59b6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #8e44ad;
}

.links {
    margin-top: 25px;
    font-size: 0.9em;
}

.links a {
    color: #71b7e6;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #5a9ed1;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .login-box {
        margin: 20px;
        padding: 30px 20px;
    }
}