html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* SwingBySometime Profile Theme */

:root {
    --sb-black: #070707;
    --sb-charcoal: #111111;
    --sb-panel: #151515;
    --sb-border: rgba(219, 169, 107, 0.28);
    --sb-gold: #dba96b;
    --sb-gold-soft: #f1c48b;
    --sb-cream: #f7efe4;
    --sb-muted: #b9aaa0;
}

body {
    background: var(--sb-black);
    color: var(--sb-cream);
}

.sb-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 24px 40px;
}

.sb-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.sb-logo {
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 2.4rem;
    color: var(--sb-cream);
    line-height: 1;
}

    .sb-logo span {
        color: var(--sb-gold);
    }

.sb-tag {
    margin-top: 4px;
    color: var(--sb-muted);
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
}

.sb-top-actions {
    display: flex;
    gap: 24px;
    color: var(--sb-cream);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

    .sb-top-actions span:first-child {
        color: var(--sb-gold);
    }

.sb-hero {
    min-height: 500px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--sb-border);
    position: relative;
    background-size: cover;
    background-position: center;
    background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.62) 42%, rgba(0,0,0,.18)), radial-gradient(circle at 78% 30%, rgba(219,169,107,.18), transparent 38%), linear-gradient(135deg, #332821, #090909 65%);
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.sb-hero-inner {
    position: relative;
    z-index: 2;
    width: 46%;
    min-width: 430px;
    padding: 78px 52px;
}

.sb-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sb-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 4.9rem);
    margin: 0;
    line-height: .95;
    color: #fffaf2;
}

.sb-verified-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(219,169,107,.65);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sb-gold);
}

.sb-location {
    margin-top: 14px;
    color: #f3e8dc;
    font-size: 1.05rem;
}

.sb-hero-line {
    width: 52px;
    height: 2px;
    background: var(--sb-gold);
    margin: 34px 0 24px;
}

.sb-hero-copy {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #f9efe5;
    max-width: 390px;
}

.sb-script {
    margin-top: 34px;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    color: var(--sb-gold);
    font-size: 1.6rem;
}

.sb-verified-card {
    position: absolute;
    right: 34px;
    bottom: 34px;
    background: rgba(17,17,17,.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(219,169,107,.25);
    border-radius: 16px;
    padding: 22px 26px;
    min-width: 240px;
}

    .sb-verified-card strong {
        color: var(--sb-gold);
        letter-spacing: .1em;
        font-size: .85rem;
    }

    .sb-verified-card p {
        margin: 8px 0 0;
        color: #efe2d2;
    }

.sb-panel {
    border: 1px solid var(--sb-border);
    background: linear-gradient(145deg, rgba(21,21,21,.96), rgba(8,8,8,.96));
    border-radius: 18px;
    padding: 34px;
    margin-top: 16px;
}

.sb-split {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
}

.sb-section-title {
    color: var(--sb-gold-soft);
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 22px;
    font-weight: 700;
}

.sb-text {
    color: #f0e5d8;
    line-height: 1.75;
    font-size: 1rem;
    white-space: normal;
}

.sb-vibe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.sb-vibe-icon {
    color: var(--sb-gold);
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.sb-photo-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.sb-photo-placeholder {
    height: 130px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(219,169,107,.25), rgba(255,255,255,.04)), #26211d;
    border: 1px solid rgba(219,169,107,.18);
    display: grid;
    place-items: center;
    color: rgba(247,239,228,.55);
    font-size: .8rem;
}

/* Profile photos */

.sb-photo-button {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    width: 100%;
    display: block;
    appearance: none;
    -webkit-appearance: none;
}

    .sb-photo-button:focus,
    .sb-photo-button:active,
    .sb-photo-button:focus-visible {
        border: none;
        outline: none;
        box-shadow: none;
    }

.sb-profile-photo {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(219,169,107,.18);
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sb-photo-button:hover .sb-profile-photo {
    transform: scale(1.03);
    border-color: rgba(219,169,107,.55);
    box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* Photo lightbox */

.sb-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.88);
    align-items: center;
    justify-content: center;
    padding: 28px;
}

    .sb-lightbox.is-open {
        display: flex;
    }

    .sb-lightbox img {
        max-width: min(94vw, 1100px);
        max-height: 88vh;
        object-fit: contain;
        border-radius: 14px;
        border: 1px solid rgba(219,169,107,.35);
        box-shadow: 0 24px 80px rgba(0,0,0,.75);
    }

.sb-lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    border: 1px solid rgba(219,169,107,.45);
    background: rgba(17,17,17,.9);
    color: #f7efe4;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.sb-lightbox-open {
    overflow: hidden;
}

/* Selected vibe tags */

.sb-vibe-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sb-vibe-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(219,169,107,.38);
    border-radius: 999px;
    padding: 10px 15px;
    background: linear-gradient(145deg, rgba(219,169,107,.18), rgba(255,255,255,.04));
    color: #fff3e5;
    font-size: .88rem;
    letter-spacing: .03em;
    line-height: 1;
    white-space: nowrap;
}

.sb-two-col {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 16px;
}

.sb-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sb-list li {
        margin: 13px 0;
        color: #f3e9dc;
    }

        .sb-list li::before {
            content: "✓";
            color: var(--sb-gold);
            margin-right: 12px;
        }

.sb-button {
    display: inline-flex;
    border: 1px solid rgba(219,169,107,.55);
    color: #fff3e5;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 22px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    margin-top: 20px;
}

.sb-connect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding: 0;
}

.sb-connect-left {
    background: linear-gradient(135deg, #f1c48b, #f6d9b0);
    color: #201915;
    padding: 34px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.sb-qr-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.sb-connect-left h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
    margin: 0 0 10px;
}

.sb-connect-right {
    padding: 34px 44px;
}

.sb-code {
    font-family: Georgia, serif;
    font-size: 3rem;
    color: #fff8ee;
    margin: 8px 0 12px;
}

.sb-copy {
    display: inline-block;
    background: var(--sb-gold-soft);
    color: #17110e;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none;
}

.sb-footer {
    display: flex;
    justify-content: space-between;
    color: var(--sb-muted);
    font-size: .9rem;
    padding: 20px 8px 0;
}

@media (max-width: 900px) {
    .sb-topbar,
    .sb-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .sb-hero-inner {
        width: auto;
        min-width: 0;
        padding: 52px 30px;
    }

    .sb-hero {
        min-height: auto;
    }

    .sb-split,
    .sb-two-col,
    .sb-connect {
        grid-template-columns: 1fr;
    }

    .sb-vibe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sb-photo-row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Connections nav */

    .sb-notification-dot {
        position: absolute;
        top: 9px;
        right: -4px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--sb-gold);
        box-shadow: 0 0 10px rgba(219,169,107,.55);
        border: 1px solid rgba(255,255,255,.18);
    }

    .sb-connections-nav-link {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .sb-connections-dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--sb-gold);
        box-shadow: 0 0 8px rgba(219, 169, 107, .65);
        flex: 0 0 auto;
    }

    .connection-secondary-button {
        border: 1px solid rgba(219,169,107,.28);
        background: transparent;
        color: #d7c4b4;
        border-radius: 10px;
        padding: .7rem 1rem;
        cursor: pointer;
        transition: all .18s ease;
    }

    .connection-secondary-button:hover {
        border-color: rgba(219,169,107,.55);
        color: #fff3e5;
        background: rgba(219,169,107,.08);
    }
}
