:root {
    --yb-gold: #b8962e;
    --yb-gold-soft: #c9a84a;
    --yb-lime: #b8d44a;
    --yb-lime-deep: #9cba32;
    --yb-teal: #0d5c63;
    --yb-teal-deep: #084248;
    --yb-card: rgba(255, 255, 255, 0.72);
    --yb-ink: #1a2a2e;
    --yb-muted: #4a5c60;
    --yb-welcome: #0d5c63;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body.yb-login {
    font-family: "Outfit", sans-serif;
    color: var(--yb-ink);
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(232, 248, 250, 0.92) 0%, rgba(240, 252, 252, 0.88) 45%, rgba(255, 255, 255, 0.78) 100%),
        url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat fixed;
    position: relative;
}

body.yb-login::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 70% 0%, rgba(180, 230, 235, 0.55), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(200, 240, 245, 0.4), transparent 45%);
    opacity: 1;
}

.yb-shell {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.yb-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .65rem;
    margin-bottom: .5rem;
}

.yb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(13, 92, 99, 0.25);
    background: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--yb-teal);
    box-shadow: 0 2px 8px rgba(13, 92, 99, 0.12);
}

.yb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: .55rem 1.35rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(180deg, #c6e055 0%, #a8c83a 100%);
    color: #1a2a10;
    box-shadow: 0 0 18px rgba(184, 212, 74, 0.55), 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform .15s ease, filter .15s ease;
}

.yb-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    color: #1a2a10;
}

.yb-btn.is-active {
    filter: brightness(0.95);
    box-shadow: 0 0 22px rgba(184, 212, 74, 0.7);
}

.yb-btn--block {
    width: 100%;
    padding: .85rem 1.25rem;
    font-size: 1rem;
    border-radius: 10px;
}

.yb-public-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: .35rem auto 1rem;
}

.yb-public-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    line-height: 1.25;
    min-height: 2rem;
}

.yb-public-nav a:hover { color: var(--yb-teal); }

.yb-public-nav a.is-cta {
    color: #1a2a10;
    background: linear-gradient(180deg, #c6e055 0%, #a8c83a 100%);
    padding: .35rem .85rem;
    border-radius: 8px;
    line-height: 1.25;
}

.yb-brand {
    text-align: center;
    margin-bottom: .65rem;
}

.yb-brand__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    flex-wrap: wrap;
}

.yb-brand__logo {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(184, 150, 46, 0.65);
    background: #fff;
    box-shadow: 0 4px 16px rgba(13, 92, 99, 0.15);
}

.yb-brand__title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--yb-gold);
    letter-spacing: .04em;
    margin: 0;
    line-height: 1.15;
}

.yb-brand__sub {
    margin: .35rem 0 0;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #5a6a6e;
    font-weight: 600;
}

.yb-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .35rem .15rem;
    padding: .55rem 0;
    margin: 0 auto 1.35rem;
    max-width: 980px;
    color: #3d5054;
    font-size: .8rem;
}

.yb-contact span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    padding: 0 .75rem;
}

.yb-contact span + span {
    border-left: 1px solid rgba(13, 92, 99, 0.28);
}

.yb-contact i { color: var(--yb-teal); }

.yb-contact a {
    color: inherit;
    text-decoration: none;
}

.yb-hero {
    text-align: center;
    margin-bottom: 1.35rem;
}

.yb-hero h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.6rem, 6vw, 4rem);
    color: var(--yb-welcome);
    margin: 0;
    font-weight: 700;
    letter-spacing: .02em;
}

.yb-hero p {
    margin: .2rem 0 0;
    font-weight: 800;
    letter-spacing: .16em;
    font-size: 1rem;
    color: #1a1a1a;
}

.yb-login-wrap {
    max-width: 460px;
    margin: 0 auto 1.1rem;
}

.yb-login-wrap:not([hidden]) {
    animation: ybFadeIn .25s ease;
}

.yb-about-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    margin-bottom: 1rem;
}

.yb-glass {
    background: var(--yb-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(80, 180, 190, 0.45);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(13, 92, 99, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.yb-login-card {
    padding: 1.35rem 1.4rem 1.5rem;
}

.yb-login-card h3 {
    margin: 0 0 .35rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.85rem;
    color: var(--yb-teal);
}

.yb-login-card .lead {
    margin: 0 0 1rem;
    color: var(--yb-muted);
    font-size: .95rem;
}

.yb-field {
    margin-bottom: .85rem;
}

.yb-field label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .3rem;
    color: var(--yb-teal);
}

.yb-field .input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(13, 92, 99, 0.22);
    border-radius: 10px;
    overflow: hidden;
}

.yb-field input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: .8rem .9rem;
    font: inherit;
    outline: none;
    color: #1a1a1a;
}

.yb-field .input-wrap i {
    padding: 0 .9rem;
    color: var(--yb-teal);
}

.yb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .35rem 0 1rem;
    flex-wrap: wrap;
}

.yb-check {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    color: var(--yb-muted);
}

.yb-validation {
    color: #8a1f1f;
    background: rgba(255, 220, 220, 0.9);
    border: 1px solid rgba(200, 80, 80, 0.35);
    border-radius: 10px;
    padding: .65rem .8rem;
    margin-bottom: .85rem;
    font-size: .9rem;
}

.yb-info {
    padding: 1rem 1.05rem 1.1rem;
    min-height: 170px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(220, 242, 245, 0.75) 100%);
}

.yb-info__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 92, 99, 0.08);
    border: 1px solid rgba(13, 92, 99, 0.28);
    color: var(--yb-teal);
    font-size: 1.15rem;
    margin-bottom: .55rem;
}

.yb-info h4 {
    margin: 0 0 .4rem;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--yb-teal-deep);
}

.yb-info p, .yb-info li {
    margin: 0;
    font-size: .86rem;
    line-height: 1.45;
    color: #2a3a3e;
}

.yb-info ul {
    margin: 0;
    padding-left: 1rem;
}

.yb-footer {
    margin-top: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    text-align: center;
    font-size: .78rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, 0.9);
    background: #1a2428;
    border-top: 1px solid rgba(184, 150, 46, 0.25);
    padding: .85rem 1rem 1rem;
}

.yb-footer__notice {
    margin-bottom: .45rem;
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(232, 201, 106, 0.95);
}

@keyframes ybFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .yb-about-row {
        grid-template-columns: 1fr;
    }

    .yb-brand__logo {
        width: 58px;
        height: 58px;
    }

    .yb-contact span + span {
        border-left: 0;
    }
}
