:root {
    --bg-main: #f5f6fa;
    --bg-card: #ffffff;
    --bg-input: #f5f6fa;
    --primary: #2c3e50;
    --primary-hover: #1e2b38;
    --accent: #3498db;
    --text-light: #2c3e50;
    --text-muted: #95a5a6;
    --input-border: #e2e8f0;
    --input-focus: #3498db;
    --error: #e74c3c;
    --success: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.login-container {
    background: var(--bg-card);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 15px 35px rgba(44, 62, 80, 0.08);
    border-top: 4px solid var(--accent);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    margin-bottom: 40px;
}

.icon {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    background: var(--bg-input);
    border: 2px solid var(--input-border);
    border-radius: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.input-wrapper:focus-within {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

.input-wrapper input {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 14px 0;
    width: 100%;
    font-size: 16px;
    outline: none;
}

.input-wrapper i {
    color: var(--text-muted);
    margin-right: 12px;
    font-size: 18px;
}

.btn-login {
    background: var(--primary);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

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

.footer {
    margin-top: 40px;
    font-size: 12px;
    color: var(--text-muted);
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 4px solid var(--error);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.remember-me input {
    accent-color: var(--primary);
}
