* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #182019;
}

body {
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(8, 15, 11, .48), rgba(8, 15, 11, .62)),
        url("canyon-outlook-bg.png") center center / cover no-repeat;
}

.login-card {
    width: min(100%, 430px);
    padding: clamp(28px, 7vw, 48px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(18, 24, 20, .76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
    color: white;
    text-align: center;
}

.brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 8vw, 3rem);
    line-height: 1.05;
}

.leaf {
    margin: 18px auto 14px;
    color: #79b84a;
    font-size: 2rem;
}

h1 {
    margin: 0 0 24px;
    font-size: 1.35rem;
    font-weight: 600;
}

form {
    text-align: left;
}

label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

input {
    width: 100%;
    min-height: 54px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
    background: rgba(0,0,0,.24);
    color: white;
    font-size: 16px;
    outline: none;
}

input::placeholder {
    color: rgba(255,255,255,.62);
}

input:focus {
    border-color: #79b84a;
    box-shadow: 0 0 0 3px rgba(121,184,74,.18);
}

button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #6aa63f;
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .05em;
    cursor: pointer;
}

button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }

.error {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(150, 30, 30, .35);
    color: #ffd8d8;
    font-size: .9rem;
}

.footer {
    margin: 24px 0 0;
    color: rgba(255,255,255,.7);
    font-size: .78rem;
}

@media (max-width: 480px) {
    .login-page {
        padding: 16px;
        background-position: 60% center;
    }

    .login-card {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
}
