*,
*::before,
*::after {
    box-sizing: border-box;
}

.guest-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    color: #1c2a4a;
    background: #eef3fb;
}

.guest-split {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.guest-visual {
    position: relative;
    background-color: #163a72;
    background-image: url("../imgs/writers-working.jpg");
    background-size: cover;
    background-position: 32% center;
    min-height: 100vh;
}

.guest-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 36, 78, .18) 0%, rgba(12, 36, 78, .72) 100%);
}

.guest-visual__copy {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.5rem 3.25rem 3.25rem;
    color: #fff;
    max-width: 36rem;
}

.guest-brand {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: .9;
}

.guest-visual__copy h1 {
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 .85rem;
}

.guest-visual__copy p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.guest-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: #f5f8fd;
}

.guest-panel__inner {
    width: 100%;
    max-width: 24.5rem;
}

.guest-panel__logo {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #1877f2;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.guest-panel__logo:hover {
    color: #125dcc;
}

.guest-card {
    background: #fff;
    border: 1px solid #dbe6f5;
    box-shadow: 0 12px 40px rgba(24, 63, 128, .08);
    padding: 1.6rem 1.5rem 1.4rem;
}

.guest-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 1.15rem;
}

.guest-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #4b5b78;
    margin-bottom: .3rem;
}

.guest-card .form-control,
.guest-card .form-select {
    border-radius: 0;
    border-color: #cfd9ea;
    min-height: 2.7rem;
    font-size: .95rem;
}

.guest-card .form-control:focus,
.guest-card .form-select:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 .2rem rgba(24, 119, 242, .15);
}

.guest-check {
    font-size: .88rem;
    color: #5b6b86;
}

.btn-guest {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    min-height: 2.85rem;
    padding: .65rem 1rem;
    text-align: center;
    text-decoration: none;
}

.btn-guest:hover {
    background: #1466d4;
    color: #fff;
}

.btn-guest-outline {
    display: block;
    width: 100%;
    border: 1px solid #c5d4ea;
    border-radius: 0;
    background: #fff;
    color: #1c4b96;
    font-weight: 700;
    min-height: 2.7rem;
    padding: .6rem 1rem;
    text-align: center;
    text-decoration: none;
}

.btn-guest-outline:hover {
    background: #eef4fd;
    color: #125dcc;
}

.guest-links {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin: .85rem 0 0;
    font-size: .86rem;
}

.guest-links a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
}

.guest-links a:hover {
    text-decoration: underline;
}

.guest-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.35rem 0 1rem;
    color: #8a97ad;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.guest-divider::before,
.guest-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7e1f0;
}

.guest-roles {
    display: grid;
    gap: .65rem;
}

.guest-role {
    display: block;
    border: 1px solid #cfd9ea;
    background: #fff;
    padding: .8rem .95rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.guest-role:hover {
    border-color: #1877f2;
    color: inherit;
}

.guest-role.is-selected,
.guest-role:has(input:checked) {
    border-color: #1877f2;
    background: #f3f8ff;
    box-shadow: inset 0 0 0 1px #1877f2;
}

.guest-role input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guest-role strong {
    display: block;
    font-size: .95rem;
}

.guest-role span {
    display: block;
    font-size: .8rem;
    color: #6b7a92;
    margin-top: .1rem;
}

.guest-muted {
    color: #6b7a92;
    font-size: .92rem;
    line-height: 1.55;
}

.guest-alert {
    border-radius: 0;
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .guest-split {
        grid-template-columns: 1fr;
    }
    .guest-visual {
        min-height: 34vh;
        background-position: center 18%;
    }
    .guest-visual__copy {
        padding: 1.5rem 1.35rem;
        max-width: none;
    }
    .guest-visual__copy h1 {
        font-size: 1.55rem;
    }
    .guest-visual__copy p {
        font-size: .95rem;
    }
    .guest-panel {
        padding: 1.5rem 1.15rem 2.25rem;
        align-items: flex-start;
    }
}
