/*@import url('satoshi.css');

@font-face {
    font-family: 'Gelasio-Regular';
    src: url('../fonts/gelasio/Gelasio-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Gelasio-Bold';
    src: url('../fonts/gelasio/Gelasio-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}*/

@font-face {
    font-family: 'Georgia';
    src: url('../fonts/gorgia/Georgia.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'SFPRO-Regular';
    src: url('../fonts/sf-pro/SFPRODISPLAYREGULAR.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'SFPRO-Bold';
    src: url('../fonts/sf-pro/SFPRODISPLAYBOLD.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

:root {
    --offside-blue: #091545;
    --offside-light-blue: #2201B1;
    --offside-orange: #ED4C03;
    --offside-light: var(--offside-white)BF4;
    --offside-black: #000000;
    --offside-gray: #212529BF;
    --offside-slate-gray: #6c738d;
    --offside-white: #ffffff;
    --offside-white-t80: #ffffffCC;
    --offside-white-t50: #ffffff80;
    --offside-black-t80: #000000CC;
    --offside-black-t50: #00000080;
}


body {
    font-family: "SFPRO-Regular", sans-serif;
    background-color: var(--offside-white);
    color: var(--offside-black);
}

h1 {
    font-family: SFPRO, sans-serif;
    font-weight: bold;
}

h2, h3 {
    font-family: SFPRO, sans-serif;
    font-weight: bold;
}

.btn {
    font-family: SFPRO-Bold, sans-serif;
    font-weight: bold;
}

a {
    color: var(--offside-light-blue);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

    a.offside-name {
        color: var(--offside-blue);
    }

        a.offside-name:hover {
            text-decoration: none;
        }


button {
    -webkit-appearance: none !important;
    color: inherit !important;
}

    /* Remove o "highlight" azul ao tocar */
    button:focus,
    button:active {
        outline: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    button:focus {
        outline: none !important;
        border: none;
    }

.container {
    max-width: 600px;
}

.container-large {
    max-width: 900px;
}

.mt--12 {
    margin-top: -9px;
}

.mt-20vh {
    margin-top: 20vh;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-32 {
    margin-bottom: 32px;
}

.gap-32 {
    gap: 32px !important;
}

.pl-50 {
    padding-left: 50px;
}

.p-l-r-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.pt-100 {
    padding-top: 100px;
}

.justify-content {
    text-align: justify;
}

.rounded {
    border-radius: 50% !important;
}

.text-muted {
    color: var(--offside-black-t50) !important;
}

.text-left {
    text-align: left;
}
/*nav.no-border {
    border-bottom: none;
}
*/
.offside-name {
    font-family: "Satoshi-Bold", sans-serif;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 2.5px;
    font-size: 32px;
}

.btn-main, .btn-main:hover {
    background-color: var(--offside-blue) !important;
    border: 1px solid var(--offside-blue) !important;
    color: var(--offside-white) !important;
}

.btn-main-border, .btn-main-border:hover {
    background-color: var(--offside-white) !important;
    border: 1px solid var(--offside-blue) !important;
    color: var(--offside-blue) !important;
}

.btn-delete, .btn-delete:hover {
    background-color: var(--offside-orange);
    border: 1px solid var(--offside-orange);
    color: var(--offside-white) !important;
}

.btn-delete-border, .btn-delete-border:hover {
    background-color: var(--offside-light);
    border: 1px solid var(--offside-orange) !important;
    color: var(--offside-orange) !important;
}

.btn-second, .btn-second:hover {
    background-color: var(--offside-light-blue);
    border: 1px solid var(--offside-light-blue);
    color: var(--offside-white) !important;
}

.btn-border {
    background-color: var(--offside-white);
    border: 1px solid var(--offside-blue);
    color: var(--offside-blue) !important;
}

    .btn-border:hover {
        background-color: var(--offside-blue);
        border: 1px solid var(--offside-blue);
        color: var(--offside-white) !important;
    }

.btn-blank {
    background-color: var(--offside-white);
    border: 1px solid var(--offside-white);
    color: var(--offside-blue) !important;
}

    .btn-blank:hover {
        background-color: var(--offside-blue);
        border: 1px solid var(--offside-blue);
        color: var(--offside-light) !important;
    }
/*.card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 1rem;
}
*/

/* Sidebar (desktop) */
.sidebar {
    width: 80px;
    height: 100vh;
    background-color: var(--offside-white);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    z-index: 100;
    border-right: 1px solid #ddd;
}

    .sidebar .logo img {
        width: 40px;
        margin-bottom: 40px;
        border-radius: 10px;
    }

.nav-links {
    margin-top: 20vh;
}

    .nav-links a {
        display: block;
        padding: 30px 10px;
        color: var(--offside-black);
        font-size: 20px;
    }

.sidebar .nav-links a.active {
    border-bottom: 1px solid #ddd;
}

    .sidebar .nav-links a.active::after {
        content: '';
        width: 6px;
        height: 6px;
        background-color: var(--offside-black);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
    }

/* Cabeçalho superior */
.top-header {
    margin-left: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--offside-white);
    border-bottom: 1px solid #ddd;
}

.search-bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .search-bar input {
        width: 370px;
        padding: 5px 5px 5px 30px;
        border-radius: 10px;
        border: 1px solid #e7e7e7;
        background-color: #e7e7e7;
        font-size: 16px;
    }

.search-icon {
    position: relative;
    right: 40px;
    font-size: 16px;
    color: #888;
    pointer-events: none;
}

.main-nav {
    font-family: Satoshi-Regular, sans-serif;
    color: var(--offside-gray);
    font-weight: 400;
}

    .main-nav.selected {
        font-weight: bold;
        color: var(--offside-black);
    }

        .main-nav.selected::after {
            content: '';
            position: relative;
            display: block;
            margin-top: -41px;
            left: 50%;
            transform: translateX(-50%);
            width: 50%;
            border-bottom: 2px solid var(--offside-light-blue);
        }

    .main-nav::after {
        content: '';
        position: relative;
        display: block;
        margin-top: -41px;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        border-bottom: none;
    }

.main-content {
    margin-left: 80px;
    padding: 16px;
}


.topic-nav {
    color: var(--offside-slate-gray);
    background-color: #e7e7e7;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
}

    .topic-nav:hover {
        border: 1px solid #e7e7e7;
    }

    .topic-nav.selected {
        color: #ffffff !important;
        background-color: var(--offside-blue);
    }

.mobile-footer-nav, .mobile-logo, .mobile-account {
    display: none;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%; /* aumenta a altura do gradiente */
    background: linear-gradient(to top, rgba(0, 23, 50, 1), rgba(0, 23, 50, 1), rgba(0, 23, 50, 1), rgba(0, 23, 50, 0)); /* gradiente mais escuro */
    padding: 8px;
    color: white;
    display: flex;
    align-items: flex-end;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

    .card-overlay .card-text {
        font-weight: bold;
    }

        .card-overlay .card-text p {
            margin-bottom: 0px;
        }

    .card-overlay .card-label-creator img {
        width: 18px;
        height: 18px;
    }

/* CAROUSEL*/
.swiper .container-lg {
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
}

.swiper-container h2 {
    margin-bottom: 30px;
}

.custom-swiper {
    position: relative;
    padding-top: 40px;
    padding-bottom: 30px;
}

.swiper-nav-top-right {
    position: absolute;
    top: 69px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

    .swiper-nav-top-right .bi::before {
        font-weight: bold !important;
        font-family: Satoshi-Bold, sans-serif;
    }
/* Remove o posicionamento padrão do Swiper */
.swiper-button-prev,
.swiper-button-next {
    position: static !important; /* sobrescreve position: absolute */
    width: 32px !important;
    height: 32px !important;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    /* Hover */
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background-color: #f0f0f0;
        border-color: #999;
    }

    /* Ícones */
    .swiper-button-prev i,
    .swiper-button-next i {
        font-size: 16px;
        color: #333;
    }

    .swiper-button-next::after, .swiper-button-next svg,
    .swiper-button-prev::after, .swiper-button-prev svg {
        display: none;
    }
/************/

/*.carousel-item {
    transition: transform 0.5s ease;
}*/

.card-title {
    font-weight: bold;
    font-size: 0.9rem;
}

.card-text {
    font-size: 0.85rem;
}

.custom-swiper h3 {
    font-size: 14px;
    margin-top: 4px;
    /*color: #dddddd;*/
}

.custom-swiper .card-label {
    font-weight: 200;
    font-size: 12px;
    /*color: #999999;*/
}

    .custom-swiper .card-label:first-child {
        margin-bottom: 4px;
        text-transform: uppercase;
    }

.hot-articles {
    height: 290px;
    max-width: 230px;
    margin: auto;
    border: 0px;
}

    .hot-articles img {
        width: 100%;
        height: 290px;
    }
/* CREATOR */
.creator-banner {
    margin-top: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.creator-cover {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    height: 260px;
}

.creator-info {
    flex-direction: row;
    align-items: flex-start;
    z-index: 10;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -40px;
    justify-content: space-between;
}

.creator-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    /*border: 2px solid var(--offside-blue);*/
    margin-left: 40px;
    margin-top: -20px;
    overflow: hidden;
}

    .creator-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.creator-details {
    margin-left: 20px;
    /*width: 100%;*/
}

    .creator-details h1 {
        margin: 0;
        font-size: 28px;
    }

    .creator-details .subscribers {
        /*color: #666;*/
        margin-top: 5px;
    }

.creator-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    margin-top: 10px;
    /*width: 100%;*/
    justify-content: flex-end;
    margin-right: 40px;
}

    .creator-actions .btn {
        padding: 8px 40px;
        border: none;
        border-radius: 15px;
        font-size: 16px;
        cursor: pointer;
        font-weight: bold;
    }

.creator-short-bio {
    padding-left: 40px;
    padding-right: 40px;
}

.cover-overlay {
    background: linear-gradient(to top, #FFFFFFFF, #FFFFFFFF, #FFFFFFFF, #FFFFFF00);
    height: 40px;
    margin-top: -20px;
    position: relative;
}

/*.btn-subscribe {
    background: #002b5b;
    color: var(--offside-white);
}

.btn-follow {
    background: #ff6600;
    color: var(--offside-white);
}*/

.card img {
    object-fit: cover;
    max-height: 300px;
    border-radius: 15px;
}

.card .post-img {
    width: 100%;
    height: 300px;
}

.card-body a.creator-name {
    color: var(--offside-blue);
}

.card-body .post-head {
    display: inline-grid;
}

    .card-body .post-head small {
        font-size: 12px;
    }

.card-body .post-content {
    padding-left: 54px;
}

    .card-body .post-content a {
        font-family: Satoshi-Bold, sans-serif;
        font-size: 14px;
        font-weight: 700;
    }

.card-body p {
    font-size: 0.95rem;
}

.card-body .post-social i {
    margin-right: 6px;
}

.publication-card .card {
    border: none;
    border-bottom: 1px solid var(--bs-card-border-color);
    border-radius: 0px;
}

.publication-card .rounded-circle {
    /*border: 2px solid var(--offside-blue);*/
}

.card-label-creator .rounded-circle {
    border: 0px;
}

.publication-card .post-head .text-muted {
    font-weight: bold;
}

.video-rounded {
    border-radius: 15px;
}

.publication-card-overlay {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    margin-top: -117px;
    background: linear-gradient(to top, rgba(0, 23, 50, 1), rgba(0, 23, 50, 1), rgba(0, 23, 50, 1), rgba(0, 23, 50, 0));
    padding: 8px;
    color: white;
    display: flex;
    align-items: flex-end;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding-left: 25px;
    padding-right: 25px;
}

    .publication-card-overlay img {
        width: 16px;
        height: 16px;
    }

    .publication-card-overlay p {
        margin-bottom: 0px;
    }

    .publication-card-overlay h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .publication-card-overlay .card-label-creator {
        margin-bottom: 5px;
        display: flex;
        justify-content: space-between;
        font-weight: bold;
    }

    .publication-card-overlay .card-text {
        width: 100%;
    }

.post-social {
    padding-left: 10px;
    margin-top: 10px;
}

.creator-page hr {
    margin-top: 0px;
}

.creator-page .nav-link {
    font-weight: bold;
    color: var(--offside-slate-gray);
}

.creator-page a.nav-link:hover {
    text-decoration: none;
}

.creator-page .nav-link.selected {
    font-weight: bold;
    color: var(--offside-blue);
}

.creator-page li {
    position: relative;
    padding-left: 14px;
    padding-right: 14px;
}

.creator-page .nav-link.selected::after {
    content: '';
    position: absolute;
    margin-top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 2px solid var(--offside-light-blue);
    display: block;
    width: 50%;
}


/*******/
/*ARTICLE*/
h1 {
    font-size: 1.9rem;
}
/*.nav-pills{
    font-size:14px;
}
.nav-pills.justify-content-md-start {
    justify-content: space-between !important;
}*/
hr.post-splitter {
    margin: 2rem 0;
}

.post-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.post-back-button {
    font-size: 24px;
    background: none;
    border: none;
    margin-bottom: 20px;
    border-radius: 50% !important;
    background-color: #eeeeee;
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    margin-left: 100px;
}

.post-share-button {
    font-size: 24px;
    background: none;
    border: none;
    margin-top: 10px;
    border-radius: 50% !important;
    background-color: var(--offside-white);
    width: 50px;
    height: 50px;
    position: relative;
    left: 0;
    margin-left: 90%;
}

.post-image {
    width: 100%;
    border-radius: 8px;
}

.post-meta {
    margin-top: 15px;
    color: var(--offside-black-t80);
    font-size: 14px;
}

.post-title {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.post-subscribe {
    background-color: #001d4a;
    color: var(--offside-white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.post-body {
    margin-top: 30px;
    line-height: 1.8;
    font-size: 16px;
}

.post-cover {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    height: 260px;
    margin-top: -80px;
}

.post-page .post-social {
    display: flex !important;
    align-content: flex-end;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0px;
}

    .post-page .post-social i {
        margin-right: 6px;
    }

.post-page .card-label-creator-info {
    color: var(--offside-black-t50);
}

.btn-post-subscribe {
    padding: 8px 40px;
    border: 1px solid var(--offside-blue);
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.post-header-info {
    display: flex !important;
    justify-content: space-between;
}

    .post-header-info p {
        margin-bottom: 0px;
    }
/*.post-header-info {
    display: inline-grid;
}

    .post-header-info .post-owner {
        color: var(--offside-blue);
        font-family: 'Inter';
        font-weight: 700;
        font-size: 12px;
    }

    .post-header-info small {
        font-size: 12px;
        font-weight: 700;
    }*/
#paywall {
    backdrop-filter: blur(3px);
}

.fixed-bottom small {
    font-size: 0.7rem;
}
/***/

/*.bottom-nav-bar .active::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #000;*/ /* ou qualquer cor desejada */
/*border-radius: 50%;
    position: absolute;
    bottom: 0px;
    transform: translate(-50%, -50%);
}*/

.text-primary {
    color: #2201B1 !important;
}

.btn-subscribe {
    background-color: var(--offside-light-blue);
    border: 1px solid var(--offside-light-blue);
    color: var(--offside-light);
}

    .btn-subscribe:hover {
        background-color: var(--offside-white);
        border: 1px solid var(--offside-light-blue);
        color: var(--offside-light-blue);
    }

.forms h2 {
    font-family: "Anton", sans-serif;
    font-weight: bold;
    letter-spacing: 2.5px;
}

.settings h3 {
    /*font-family: "Anton", sans-serif;*/
    font-weight: bold;
    letter-spacing: 2.5px;
}

.settings-box {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    gap: 16px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, .05);
    padding: 16px;
}

a.link-box-multiline {
    border-radius: 8px;
}

    a.link-box-multiline:hover {
        border-radius: 8px;
        background-color: #eeeeee;
    }

    a.link-box-multiline span.box-title {
        color: var(--offside-blue);
    }

a.link-box-multiline {
    text-decoration: none;
}

.box-multiline {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .box-multiline .box-img img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .box-multiline .box-lines {
        flex-direction: column;
        display: flex;
        flex: 1px;
    }

.sub-label {
    color: #777777;
    font-size: 12px;
}

.creator-content .card:first-child {
    border-top: none;
}

.creator-img {
    border: 1px solid var(--offside-blue);
}

.privacy-terms a {
    color: rgba(33, 37, 41, 0.75);
}

    .privacy-terms a:hover {
        text-decoration: underline;
    }

.privacy-terms span:first-child {
    margin-right: 30px;
}

.post-body-text {
    font-family: "Georgia-Regular", sans-serif !important;
    color: var(--offside-black) !important;
}

    .post-body-text img, .post-body-text iframe, .post-body-text video {
        max-width: 100% !important;
        object-fit: contain !important;
        height: auto !important;
    }

    .post-body-text p img, .post-body-text iframe, .post-body-text video {
        display: block !important;
        margin: 0 auto !important;
    }

.empty-content img {
    height: 85px;
    margin-bottom: 18px;
}

.empty-content p {
    font-weight: bold;
}
/* --- NAVIGATION --- */
.side-navigation.nav-tabs {
    border-bottom: none;
    /*gap: 1rem;*/
}

    .side-navigation.nav-tabs .nav-link {
        border: none !important;
        background: none;
        color: var(--offside-black);
        font-weight: 600;
        padding: 0.3rem 0.8rem;
        border-radius: 0.375rem;
        transition: all 0.2s ease;
    }

        .side-navigation.nav-tabs .nav-link:hover {
            color: var(--offside-orange);
            text-decoration: none;
        }

        .side-navigation.nav-tabs .nav-link.active {
            background-color: var(--offside-orange);
            color: #fff !important;
        }
/*****************/

.activity-item {
    padding: 26px 0;
}

    .activity-item + .activity-item {
        border-top: 1px solid #e6e6e6;
    }

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 700;
}

.meta {
    color: #6b7280;
    font-size: 13px;
}

.muted-preview {
    color: #9ca3af;
    margin-top: 6px;
}

.border-bottom-only {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 0px !important;
}

/******** SUBSCRIPTIONS ********/
.subscription-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e6e6e6;
}

    .subscription-card:first-of-type {
        border-top: 0;
    }

.thumb {
    flex: 0 0 210px;
    height: 145px;
    border-radius: 8px;
    overflow: hidden;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card-content {
    flex: 1;
}

.author {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.title-article {
    font-weight: 700;
    font-size: 18px;
    margin: 4px 0;
    color: #111827;
}

.excerpt {
    color: #6b7280;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-custom {
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    padding: 4px 10px;
}

.badge-paid {
    background: #111827;
    color: #fff;
}

.badge-offside {
    background: #f97316;
    color: #fff;
}

.subscription-card .meta {
    font-size: 13px;
    color: var(--offside-black);
    margin-left: 6px;
    font-weight: bold;
}

.divider {
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.subscribe-section {
    text-align: center;
    margin-top: 2rem;
}

    .subscribe-section img {
        width: 64px;
        height: auto;
        margin-bottom: 1rem;
    }

.subscribe-btn {
    background: #111827;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: .6rem 1.5rem;
}

    .subscribe-btn:hover {
        background: var(--offside-black);
    }

.benefits {
    text-align: left;
    display: flow-root;
}

    .benefits li {
        margin-bottom: .3rem;
    }


/********************************/
.footer-main {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: contents;
}

.post-social button {
    background-color: white;
    border: none;
}

.modal-comments .modal-content {
    height: 90vh;
}
/* Aplica a qualquer textarea ou textbox multiline */
textarea::-webkit-scrollbar,
.textbox-scroll::-webkit-scrollbar {
    width: 4px; /* largura da barra vertical */
    height: 4px; /* altura da barra horizontal */
}

textarea::-webkit-scrollbar-thumb,
.textbox-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* cor da barra */
    border-radius: 4px;
}

textarea::-webkit-scrollbar-track,
.textbox-scroll::-webkit-scrollbar-track {
    background: transparent; /* fundo invisível */
}

/* Firefox */
textarea {
    scrollbar-width: thin; /* barra fina */
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

/****** COMMENTS ******/
.comments {
    padding-left: 16px;
    padding-right: 16px;
}

.comment {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
    position: relative;
}

    .comment .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 12px;
    }

.comment-body {
    flex: 1;
}

.comment-bubble {
    background-color: #f0f2f5;
    border-radius: 12px;
    padding: 10px 14px;
    display: inline-block;
    max-width: 100%;
}

.comment-author {
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-time {
    font-size: 0.8rem;
    color: #777;
    margin-left: 6px;
}

.comment-text {
    font-size: 0.93rem;
    margin-top: 4px;
    /*    white-space: pre-wrap;*/
}

.comment-actions {
    margin-top: 6px;
    padding-left: 15px;
}

    .comment-actions button {
        background: transparent;
        border: none;
        color: #777;
        font-size: 0.85rem;
        margin-right: 10px;
        padding: 0;
    }

        .comment-actions button:hover {
            color: var(--offside-black);
            text-decoration: underline;
        }
/* botão de opções */
.btn-options {
    position: relative;
    top: -10px;
    opacity: 0;
    transition: opacity 0.2s;
    padding: 0 6px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
}

/* mostrar botão no hover da bolha */
.comment:hover .btn-options {
    opacity: 1;
}
/* replies */
.replies {
    margin-left: 52px;
    margin-top: 8px;
}

.popup-scroll {
    overflow: scroll;
    overflow-x: hidden;
}

.post-page .comments {
    max-height: 400px;
}

/* responsivo */
@media (max-width: 576px) {
    .comment .avatar {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }

    .comment-bubble {
        border-radius: 10px;
        padding: 8px 10px;
    }

    .comment-author {
        font-size: 0.9rem;
    }

    .comment-text {
        font-size: 0.9rem;
    }

    .replies {
        margin-left: 40px;
    }
}
/**********************/

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--offside-blue);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: none;
}

.post-social a:hover {
    text-decoration: none;
}

.bi-heart-fill {
    color: red;
}

/**********CHAT **********/
.app-shell {
    height: 100vh;
    display: flex;
    overflow: hidden;
    margin: -16px;
}

/* left sidebar */
.sidebar-chat {
    width: 320px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    background: #fff;
}

    .sidebar-chat .search-wrap {
        padding: 16px;
        /*border-bottom: 1px solid #f2f2f2;*/
    }

        .sidebar-chat .search-wrap input {
            width: 270px;
            padding: 5px 5px 5px 30px;
            border-radius: 10px !important;
            border: 1px solid #e7e7e7;
            background-color: #e7e7e7;
            font-size: 16px;
        }

        .sidebar-chat .search-wrap .sidebar-search-icon {
            position: relative;
            right: 40px;
            font-size: 16px;
            color: #888;
            pointer-events: none;
            margin-top: 7px;
        }

    .sidebar-chat .tabs {
        display: flex;
        padding: 0 16px 0px;
        border-bottom: 1px solid #f2f2f2;
        justify-content: space-around;
        flex-wrap: nowrap;
    }

        .sidebar-chat .tabs button {
            text-decoration: none;
            min-width: 100px;
            color: var(--offside-black);
        }

        .sidebar-chat .tabs .selected::after {
            content: '';
            position: relative;
            display: block;
            padding-bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            border-bottom: 2px solid var(--offside-orange);
        }

.chat-list {
    overflow: auto;
    padding: 12px;
    flex: 1;
}

.chat-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    align-items: flex-start;
}

    .chat-item:hover {
        background: #fbfbfc;
    }

    .chat-item .avatar {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .chat-item .meta .name {
        color: var(--offside-black);
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 4px;
    }

    .chat-item .meta .preview {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.2;
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* main area */
.main-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-chat-header {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #f2f2f2;
    gap: 12px;
}

    .main-chat-header img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .main-chat-header .title {
        font-weight: 700;
        font-size: 16px;
    }

.conversation {
    position: relative;
    flex: 1;
    overflow: auto;
    padding: 28px 24px 100px; /* leave space for input */
    background: linear-gradient(180deg,#ffffff 0%, #ffffff 100%);
}

/* center timestamp */
.day-timestamp {
    display: block;
    text-align: center;
    color: #9aa0a6;
    font-size: 12px;
    margin: 16px 0;
}

.msg-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin: 10px 0;
}

    .msg-row.left {
        justify-content: flex-start;
    }

    .msg-row.right {
        justify-content: flex-end;
    }

.bubble {
    max-width: 45%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.3;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

    .bubble.left {
        background: var(--offside-blue);
        color: #ffffff;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 18px;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }

    .bubble.right {
        background: var(--offside-orange);
        color: #ffffff;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 18px;
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }
    .bubble .chat-time {
        font-size: 10px;
        position: relative;
        bottom: -10px;
        margin-left: 5px;
        color: #ffffff80 !important;
    }

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

/* input area fixed bottom */
.composer {
    position: fixed;
    left: 400px;
    right: 0;
    bottom: 80px;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9;
}

    .composer .form-control {
        border-radius: 20px;
        height: 44px;
        padding: 12px 16px;
    }

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--offside-blue);
    color: #fff !important;
    border: 0;
    box-shadow: 0 4px 12px rgba(249,115,22,0.18);
}
.subscription-border {
    padding-bottom: 40px;
    border-bottom: 1px solid #e6e6e6;
}
.article-fade {
    height: 30px;
    margin-top: -50px;
    background: linear-gradient( to bottom, rgba(255,255,255,0),rgba(248,248,248,1));
    pointer-events: none;
    position: relative;
    z-index: 2;
}
.paywall-box {
    position: relative;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 0;
    z-index: 3;
}
.offside-subscription-area .card-free {
    background-color: var(--offside-orange);
    color: var(--offside-white);
    border-radius: 20px;
}

.offside-subscription-area .card-member {
    background-color: var(--offside-blue);
    color: var(--offside-white);
    border-radius: 20px;
}

.offside-subscription-area .card button {
    background: var(--offside-white);
    color: #000 !important;
    border-radius: 10px;
    padding: 8px 30px;
    border: none;
    font-weight: 600;
}

.offside-subscription-area .price {
    font-size: 2rem;
    font-weight: 700;
    margin-top: -10px;
    margin-bottom: 20px;
}
.top-header.mobile {
    display: none;
}
.search-creators p {
    color: var(--offside-black);
}
/* responsive */
/*@media (max-width: 991px) {
    .sidebar {
        display: none;
        width: 0;
    }

    .composer {
        left: 0;
    }
}*/
/*************************/
@media (min-width: 576px) {
    .modal-comments {
        max-width: 640px;
    }
}
