@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');
:root {
    --teal-deep: #2c7379;
    --teal: #65a9aa;
    --aqua: #abd7d8;
    --sand: #ecd0a0;
    --amethyst: #796a8e;
    --cream: #faf9f6;
    --white: #ffffff;
    --text: #293536;
    --muted: #667577;
    --border: #d9e2e2;
--heading: "Playfair Display", Georgia, serif;
--body: "Poppins", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--body);
    color: var(--text);
    background:
        radial-gradient(circle at 14% 12%, rgba(171,215,216,.42), transparent 28%),
        radial-gradient(circle at 88% 86%, rgba(236,208,160,.38), transparent 30%),
        var(--cream);
}

a {
    color: var(--teal-deep);
    font-weight: 700;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.auth-shell {
    width: min(100%, 520px);
}

.auth-logo {
    display: block;
    margin: 0 0 18px;
    text-align: center;
    font-family: var(--heading);
    font-size: 2rem;
    font-weight: 400;
    text-decoration: none;
}

.auth-card,
.welcome-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(44,115,121,.12);
    border-radius: 26px;
    box-shadow: 0 22px 70px rgba(44,115,121,.12);
}

.auth-card {
    padding: 36px;
}

.auth-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--amethyst);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 10px;
    font-family: var(--heading);
    font-size: clamp(2.1rem, 7vw, 3rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--teal-deep);
}

.auth-intro {
    margin: 0 0 26px;
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 17px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-form label {
    display: grid;
    gap: 7px;
}

.auth-form label > span {
    font-size: .86rem;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--white);
    color: var(--text);
    font: inherit;
}

.auth-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(101,169,170,.18);
}

.auth-form small {
    color: var(--muted);
    font-size: .78rem;
}

.auth-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--teal-deep);
    color: var(--white);
    font: 700 .95rem var(--body);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(44,115,121,.18);
}

.auth-button:hover {
    background: var(--amethyst);
}

.auth-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.auth-button-secondary {
    background: rgba(236,208,160,.55);
    color: var(--text);
    box-shadow: none;
}

.auth-button-secondary:hover {
    background: rgba(171,215,216,.65);
}

.auth-message {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: .9rem;
}

.auth-error {
    background: #fff0ef;
    border: 1px solid #efcbc7;
}

.auth-success {
    background: rgba(171,215,216,.32);
    border: 1px solid rgba(101,169,170,.35);
}

.auth-notice {
    background: rgba(236,208,160,.38);
    border: 1px solid rgba(236,208,160,.8);
}

.auth-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -6px;
    font-size: .84rem;
}

.auth-switch {
    margin: 24px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: .88rem;
}

.welcome-shell {
    width: min(100%, 760px);
}

.welcome-card {
    padding: clamp(38px, 7vw, 70px);
    text-align: center;
}

.welcome-title {
    font-size: clamp(4rem, 14vw, 7rem);
}

.welcome-copy {
    max-width: 580px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 1.08rem;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.welcome-actions .auth-button {
    min-width: 180px;
}

.welcome-note {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: .78rem;
}

@media (max-width: 560px) {
    .auth-page {
        padding: 20px 12px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .welcome-actions {
        display: grid;
    }

    .welcome-actions .auth-button {
        width: 100%;
    }
}
