:root {
    --bg: #edf3ef;
    --surface: rgba(255, 255, 255, 0.88);
    --text: #17211b;
    --muted: #607065;
    --line: #d8e0d9;
    --accent: #0f6b5f;
    --accent-strong: #0a4d45;
    --warning-bg: #fff6df;
    --warning-text: #73510a;
    --shadow: 0 28px 70px rgba(35, 48, 41, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 18%, rgba(15, 107, 95, 0.22), transparent 25rem),
        radial-gradient(circle at 88% 80%, rgba(184, 142, 82, 0.2), transparent 28rem),
        linear-gradient(135deg, var(--bg), #dfe9df);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.login-card {
    width: min(100%, 430px);
    padding: 38px 34px;
    border: 1px solid rgba(216, 224, 217, 0.92);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.login-card::before {
    content: "UGC";
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.login-card h1 {
    margin: 0 0 10px;
    text-align: center;
    font-size: clamp(2rem, 7vw, 3rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.login-subtitle {
    margin: 0 0 26px;
    text-align: center;
    color: var(--muted);
    line-height: 1.5;
}

.login-notice {
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid #efd48e;
    border-radius: 14px;
    background: var(--warning-bg);
    color: var(--warning-text);
}

.login-form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 800;
}

.field input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 15px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    transform: translateY(-50%);
}

.password-toggle:hover {
    background: var(--bg);
    color: var(--accent-strong);
}

.password-toggle:focus-visible {
    outline: 3px solid rgba(15, 107, 95, 0.22);
    outline-offset: 2px;
}

.password-toggle[aria-pressed="true"] {
    color: var(--accent);
}

.password-toggle__icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.field input:focus {
    outline: 3px solid rgba(15, 107, 95, 0.22);
    border-color: var(--accent);
}

.login-form > button[type="submit"] {
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(15, 107, 95, 0.26);
    transition: transform 160ms ease, background-color 160ms ease;
}

.login-form > button[type="submit"]:hover {
    transform: translateY(-1px);
    background: var(--accent-strong);
}
