/* Public tenant page (Views/Tenant/Index.cshtml) */

.btn-block {
    padding: 15px 12px;
    line-height: 2;
}

.spacer .divider {
    border-bottom: 1px solid #eee;
    position: relative;
    margin: 0 auto;
}

.spacer .or-text {
    position: absolute;
    top: -10px;
    padding: 0 10px;
    background: #fff;
    display: inline-block;
    left: 50%;
    margin-left: -21px;
    color: #999999;
    font-size: 14px;
}

.spacer .section {
    position: absolute;
    top: -10px;
    padding-right: 1rem;
    background: #fff;
    display: inline-block;
    color: #999ca4;
    font-size: .9rem;
}

.center {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
}

.button:active {
    color: #000;
}

.tn-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}

    .tn-icon-btn:hover {
        background: #f5f5f5;
        border-color: #999;
        color: #000;
    }

    .tn-icon-btn:active {
        transform: scale(.94);
    }

    .tn-icon-btn:focus-visible {
        outline: 2px solid #0095f6;
        outline-offset: 2px;
    }

@media (prefers-reduced-motion: reduce) {
    .tn-icon-btn {
        transition: none;
    }
}

.modal-dialog {
    position: fixed;
    inset: 0;
    top: auto;
    bottom: 0;
    margin: auto;
    margin-bottom: 0;
}

.modal.fade .modal-dialog {
    transform: translate3d(0, 100vh, 0);
}

.modal.show .modal-dialog {
    transform: translate3d(0, 0, 0);
}

@media (min-width: 768px) {
    .card-on-desktop {
        margin-top: 4.5rem !important;
        border-radius: 2rem !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        overflow: clip;
    }

    .card-on-desktop.card-onlyfans {
        box-shadow: 0 10px 40px rgba(0, 175, 240, 0.15) !important;
    }
}

/* Page rendered inside the admin shell (owner view, or a signed-in visitor viewing another page): keep the visitor layout width and drop visitor-only chrome */
.card-on-desktop.app-shell-page {
    max-width: 580px;
    margin: 1rem auto 0 !important;
    border-radius: 1.5rem !important;
    background: #fff;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .06) !important;
    overflow: clip;
}

.app-shell-page .profile-hero-container,
.app-shell-page .ar-hero-container,
.app-shell-page .of-hero-container,
.app-shell-page .sp-hero-container {
    width: 100%;
    margin-left: 0;
}

.app-shell-page [data-bs-target="#signUpModal"],
.app-shell-page [data-bs-target="#authModal"] {
    display: none !important;
}

/* Collapse the now-empty column so the remaining button (e.g. Follow) fills the row instead of sitting in half of it */
.app-shell-page .col:has(> [data-bs-target="#signUpModal"]:only-child) {
    display: none;
}

/* Top bar shown when the tenant has no hero image */
.tenant-nav {
    height: 3.5rem;
}

.tenant-nav-back {
    font-size: 1.2rem;
    color: #000;
}

.tenant-nav-title {
    font-weight: 500;
}

.tenant-nav-verified {
    color: #0095f6;
    font-size: .75rem;
}

.tenant-nav-actions {
    font-size: 1.25rem;
}

/* Brand footer with sign up CTA */
.tenant-brand-footer {
    margin-bottom: 7rem;
}

.tenant-brand-footer .tenant-claim-form {
    max-width: 250px;
}

.tenant-brand-footer .input-group-text {
    background-color: #fff;
    padding-right: 0;
    font-weight: 500;
    font-size: .75rem;
}

.tenant-brand-footer .tenant-claim-form .form-control {
    padding: .5rem .5rem .5rem .1rem;
    border-left: none;
    text-transform: lowercase;
    font-size: .75rem;
}

.tenant-brand-footer .tenant-claim-form .btn {
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 600;
}

.tenant-brand-footer .tenant-claim-text {
    font-size: 1.25rem;
    text-align: center;
    line-height: .5;
}

.tenant-brand-footer .tenant-claim-text div {
    margin-top: .5rem;
}

.tenant-brand-footer .tenant-claim-text a {
    font-size: .8rem;
}

.tenant-brand-footer .tenant-brand-link {
    color: #000;
}

/* Fixed footer with Follow / Sign Up buttons, revealed on scroll */
.tenant-fixed-footer {
    background-color: #fff;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
}

.tenant-fixed-footer .col-6 {
    max-width: 300px;
}
