* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.login-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02);
    width: 100%;
    max-width: 400px;
    padding: 32px 28px;
    transition: box-shadow 0.2s ease;
}

.logo {
    text-align: center;
    margin-bottom: 28px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 500;
    color: #1d2d44;
    letter-spacing: -0.5px;
}

.logo p {
    color: #6b7785;
    font-size: 14px;
    margin-top: 6px;
}

.error-message {
    background-color: #fbe9e7;
    border-left: 4px solid #d32f2f;
    color: #b71c1c;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.error-message::before {
    content: "⚠️";
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ccd5e0;
    border-radius: 6px;
    background-color: #fafbfc;
    transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #1d2d44;
    box-shadow: 0 0 0 3px rgba(29, 45, 68, 0.15);
    background-color: #ffffff;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 22px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: #1d2d44;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    color: #4a5a6a;
    cursor: pointer;
}

.login-button {
    width: 100%;
    padding: 12px 18px;
    background-color: #1d2d44;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.05s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.login-button:hover {
    background-color: #2c3e5c;
}

.login-button:active {
    transform: translateY(1px);
    box-shadow: none;
}


.footer-links a {
    color: #1d2d44;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.footer-links a:hover {
    border-bottom-color: #1d2d44;
}
