.login-section {
    --brand: #c8892b;
    --brand-dark: #9a6a1c;
    --ink: #1c1a17;
    --muted: #78716a;
    --line: #e5e0d9;

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 20%, rgba(200, 137, 43, 0.35), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(90, 60, 20, 0.45), transparent 50%),
        linear-gradient(135deg, #161410 0%, #26211a 55%, #3a2f1d 100%);
}

.login-section *,
.login-section *::before,
.login-section *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 40px 36px 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
    animation: login-rise 0.5s ease-out both;
}

@keyframes login-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 56px;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 16px;
}

.login-container .login-header {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
}

.login-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--muted);
}

.login-section .input-group,
.login-section .checkbox-group,
.login-section .button-group,
.login-section .forgot-password,
.login-section .sign-up {
    margin: 0 0 16px;
    text-align: left;
}

.login-section .input-label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.input-wrap {
    position: relative;
}

.input-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.login-section .login-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 15px;
    color: var(--ink);
    background: #faf8f5;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.login-section .login-input::placeholder {
    color: #b3aca3;
}

.login-section .login-input:focus {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(200, 137, 43, 0.15);
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    line-height: 0;
}

.password-toggle:hover {
    color: var(--brand-dark);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.login-section #password {
    padding-right: 44px;
}

.login-section .checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

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

.login-section .checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    border: 1.5px solid #c9c1b6;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.login-section .checkbox-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.login-section .checkbox-input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-section .checkbox-label {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}

.login-section .forgot-password {
    margin: 0;
    text-align: right;
    font-size: 14px;
}

.login-section .forgot-password-a,
.login-section .sign-up-a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: none;
}

.login-section .forgot-password-a:hover,
.login-section .sign-up-a:hover {
    text-decoration: underline;
}

.login-section .login-button {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(200, 137, 43, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.login-section .login-button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(200, 137, 43, 0.4);
}

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

.login-section .sign-up {
    margin: 8px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 22px 24px;
        border-radius: 16px;
    }

    .login-container .login-header {
        font-size: 22px;
    }
}

.login-section .login-alert {
    margin: 0 0 16px;
    padding: 10px 14px;
    text-align: left;
    font-size: 13px;
    border-radius: 10px;
    color: #9b1c1c;
    background: #fdecec;
    border: 1px solid #f5c2c2;
}

.login-section .login-alert ul {
    margin: 0;
    padding-left: 18px;
}

