:root {
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --blue-300: #93c5fd;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --red-50: #fef2f2;
    --red-800: #991b1b;
}

.login-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f3f4f6;
}

.container {
    width: 420px;
    padding: 24px;
}

.login-image {
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.login-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 8px;
}

p {
    color: var(--gray-700);
    margin-bottom: 16px;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
}

.input-icon {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    background-color: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.input-field {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--gray-300);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    font-size: 14px;
}

.input-field:focus {
    outline: none;
    border: 1px solid var(--curry-mild-rgb);
    box-shadow: 0 0 0 1px var(--curry-mild-rgb);
}

.remember-forgot {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    margin-left: auto;
    color: var(---curry-mild-rgb);
    text-decoration: none;
    font-size: 14px;
}

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

.alert {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-info {
    background-color: #e0f2fe;
    color: var(--blue-800);
}

.alert-error {
    background-color: var(--red-50);
    color: var(--red-800);
}

.btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    background-color: var(--curry-mild-rgb);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--curry-mild-rgb);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.5);
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.signup-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-500);
}

.signup-link a {
    color: var(--curry-mild-rgb);
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}