:root {
    --color-primary: #8D3A08;
    --color-light: #D4B05A;
    --color-dark: #3A2615;
    --color-medium: #C28B42;
    --color-border: #8D3A08;
    --color-tab: #FBF5E5;
    --color-label: #3A2615;
    --color-button: #8D3A08;
    --color-blue: #007497;
    --soft-card: #F4E6C3;
    --muted-text: rgba(58, 38, 21, 0.55);
    --glass-bg: rgba(80, 48, 18, 0.05);
    --radius: 12px;
    --shadow: 0 8px 26px rgba(50, 30, 10, 0.07);
    --ease: cubic-bezier(.2, .9, .3, 1);
    --card-gap: 10px;
}
* {
  font-family: "Calibri Light", Calibri, sans-serif;
}

body {
    background: #f5f6fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;
    position: relative;
}

.login-container h2 {
    margin-bottom: 1.3rem;
    color: var(--color-blue);
    text-align: center;
}

.form-group {
    margin-bottom: 1.1rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    color: #353b48;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 0.65rem;
    border: 1px solid #dcdde1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

input.error {
    border-color: #e84118 !important;
    box-shadow: 0 0 0 3px rgba(232, 65, 24, 0.06);
}

input:focus {
    border-color: #F3681E;
}


.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888;
    cursor: pointer;
    display: none;
    user-select: none;
}

.toggle-password.active {
    color: #F3681E;
}

button {
    width: 100%;
    padding: 0.8rem;
    background: var(--color-dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    margin-top: 5%;
}

button:hover {
    background: var(--color-dark);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.error-message {
    color: red;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    height: 1em;
}

.success-message {
    color: #27ae60;
    font-weight: 600;
    text-align: center;
    margin-top: 0.8rem;
    height: 1.2em;
}

@media (max-width: 420px) {
    .login-container {
        padding: 1.2rem;
        max-width: 92%;
    }
}