:root {
    --brand-main: #2f6b3e;
    --brand-deep: #204b2d;
    --text-main: #1f2d24;
    --text-muted: #6b7a70;
    --line: #dce7df;
    --danger: #c0392b;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background:
        linear-gradient(135deg, rgba(47, 107, 62, 0.9), rgba(32, 75, 45, 0.94)),
        url("../img/logo/baner.png") center/cover no-repeat;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    padding: 34px;
    border-radius: 8px;
    background: rgba(249, 252, 247, 0.98);
    box-shadow: 0 24px 60px rgba(20, 45, 27, 0.32);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #fffef7, #ffe9b7);
    overflow: hidden;
}

.brand-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

h1 {
    margin: 0 0 10px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(24px, 6vw, 28px);
}

p {
    margin: 0 0 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    color: #1f6b36;
    background: #e4f6e9;
    border: 1px solid #bfe5ca;
}

.alert-danger {
    color: var(--danger);
    background: #fff0ee;
    border: 1px solid #f0c4bd;
}

label {
    display: block;
    margin-bottom: 7px;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

input:focus {
    border-color: var(--brand-main);
    box-shadow: 0 0 0 4px rgba(47, 107, 62, 0.12);
}

button {
    width: 100%;
    height: 50px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-main), var(--brand-deep));
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.back-link {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: var(--brand-main);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 480px) {
    body {
        padding: 18px 14px;
        align-items: flex-start;
    }

    .auth-card {
        padding: 24px 18px;
    }
}
