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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 0;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e8eaed;
}

.login-header {
    background: white;
    color: #333;
    padding: 30px 40px 20px;
    text-align: center;
    border-bottom: 1px solid #e8eaed;
}

.logo {
    width: 50px;
    height: auto;
}

.login-header h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #1a1a1a;
    font-weight: 600;
}

.login-header p {
    color: #666;
    font-size: 0.95rem;
}

.error-message {
    background: #fef7f7;
    color: #d73027;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid #d73027;
    margin: 0;
}

.login-form {
    padding: 30px 40px 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #3F388E;
    background: white;
    box-shadow: 0 0 0 3px rgba(63, 56, 142, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: #3F388E;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: #3F388E;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-login:hover {
    background: #342e7a;
}

.btn-login:active {
    transform: translateY(1px);
}

.login-footer {
    background: #fafbfc;
    padding: 24px 40px;
    text-align: center;
    color: #666;
    border-top: 1px solid #e8eaed;
}

.login-footer a {
    color: #3F388E;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        max-width: 100%;
    }
    
    .login-form,
    .login-header,
    .login-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}