:root {
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-200: #a7f3d0;
    --green-300: #6ee7b7;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-800: #065f46;
    --green-900: #064e3b;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --red-500: #ef4444;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 380px;
    padding: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.logo {
    width: 36px;
    height: 36px;
}

.brand span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-700);
}

h1 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.field {
    margin-bottom: 0.9rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--gray-700);
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    outline: none;
}

input:focus {
    border-color: var(--green-400);
    box-shadow: 0 0 0 3px var(--green-100);
}

.btn {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    color: white;
    margin-top: 0.4rem;
}

.error {
    background: #fef2f2;
    color: var(--red-500);
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-700);
    margin-top: 1rem;
}