* {
    box-sizing: border-box;
}

:root {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #243b32;
    background: #f3f1e9;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, #e4eadf, transparent 45%),
        linear-gradient(135deg, #f5f3eb, #e8ede6);
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 42px 38px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5e8df;
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(31, 58, 45, 0.12);
}

.brand {
    text-align: center;
    margin-bottom: 35px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #234b3d;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
}

.brand h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: #234b3d;
}

.brand p {
    margin-top: 8px;
    color: #78847b;
    font-size: 14px;
}

.login-card h2 {
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: 600;
}

.intro {
    margin-bottom: 28px;
    color: #748078;
    font-size: 14px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #d9dfd7;
    border-radius: 8px;
    background: #fff;
    color: #243b32;
    font-size: 15px;
}

.form-group input:focus {
    outline: none;
    border-color: #426c57;
    box-shadow: 0 0 0 3px rgba(66, 108, 87, 0.12);
}

button {
    width: 100%;
    height: 49px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    background: #234b3d;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #18392e;
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

#login-message {
    min-height: 20px;
    margin-top: 15px;
    color: #a33b35;
    font-size: 13px;
    text-align: center;
}

.login-card footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #edf0e9;
    text-align: center;
}

.login-card footer p {
    margin: 0;
    color: #929b94;
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
    }

    .brand h1 {
        font-size: 25px;
    }
}
