* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #198754;
    --primary-dark: #146c43;
    --background: #f6f8fa;
    --surface: #ffffff;
    --text: #17221b;
    --text-secondary: #66736b;
    --border: #e0e6e2;
    --danger: #dc3545;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.login-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-wrapper input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    color: var(--text);
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.login-button {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.login-button:hover {
    background: var(--primary-dark);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-error {
    display: none;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #fff1f2;
    color: var(--danger);
    font-size: 13px;
}

.login-error.visible {
    display: block;
}