
:root {
    --Dark: #052330;
    --Blue: #0095FF;
    --Green: #6FB622;
    --White: #FFFFFF;
    --GradientDark: linear-gradient(45deg, #052330 0%, #1A3947 100%);
}

.modal:not([data-modal-user-profile]) {
    background: rgba(0, 13, 19, 0.80);
}

.close:hover {
    color: white !important;
}

.second-buttons-actions, 
.default-button-actions {
    margin: 0 !important;
}
.atcb-button {
  width: 100% !important;
}

.list-jizo-reviews-wrapper {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.list-video-meet-row, .list-jizo-reviews-row, .list-promo-video-row, .list-media-row {
    flex: 1 1 50%;
}

.modal-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    color: #dadada;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
}

.list-info-creator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-block-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prev-arrow {
    left: 10px;
    border-radius: 3px 0 0 3px;
}

.next-arrow {
    right: 10px;
    border-radius: 0 3px 3px 0;
}

.modal-arrow:hover {
    background-color: rgba(0,0,0,0.2);
}

main:has(.group-new-preview) {
    background: var(--Dark);
}
.view-header {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}


.view-header-edit-block {
    max-width: 1600px;
    border-radius: 8px;
    background: var(--Dark-2, #1A3947);    
    margin: 0 auto 8px auto;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 27px;
    position: relative;
}
.group-progress {
    display: flex;
    gap: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    cursor: pointer;
}
@media screen and (max-width: 1270px) {
    .group-progress {
        position: static;
        right: 0;
    }
    .view-header-edit-block {
        flex-direction: column;
        gap: 10px;
        padding: 10px 27px;
    }
    
    .view-header-edit-block-bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0 30px;
    }
    
    .view-header-edit-block .video-instruction-block {
        position: static;
        transform: none;
    }
    
    .view-header-edit-block .group-progress {
        position: static;
        transform: none;
    }
}
.group-progress .progress-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-direction: row;
    background: transparent;
}

.group-progress .progress-dot {
    display: inline-flex;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-progress .progress-dot svg {
    transition: inherit;
}

.group-progress .progress-dot circle {
    fill: rgba(255, 255, 255, 0.2);
    transition: inherit;
}

.group-progress .progress-dot.is-filled circle {
    fill: #70D106;
}

.group-progress span {
    color: var(--7A8E96, #7A8E96);
    text-align: center;
    font-family: Barlow;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 18px */
    text-transform: uppercase;
}
.group-progress p {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Barlow;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 18px */
    text-transform: uppercase;
    margin: 0;
    font-variant: tabular-nums;
}

.video-instruction-block {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    span {
        color: var(--7A8E96, #7A8E96);
        text-align: center;
        font-family: Barlow;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: 150%; /* 18px */
        text-transform: uppercase;
    }
}
.view-header-edit-block .view-header-edit-block-text {
    font-family: Barlow;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
}

.view-header-edit-block-text-new {
    /* display: none; */
    text-transform: uppercase;
    font-weight: 600;
}

.group-status-badge {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    display: none;
}

.group-status-badge-label {
   color: #FFF;
    text-align: center;
    font-family: Barlow;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 30px */
    text-transform: uppercase;
}

.group-status-badge-value {
    display: flex;
    padding: 6px 12px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(0deg, var(--Orange, #FC6433) 0%, var(--Orange, #FC6433) 100%);
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.group-status-badge-value.completed {
    background: linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Green, #6FB622);
}

.group-status-badge-value.in-process {
    background: linear-gradient(0deg, var(--Green, #6FB622) 0%, var(--Green, #6FB622) 100%);
}

.group-status-badge-value.draft {
    background: linear-gradient(0deg, var(--Orange, #FC6433) 0%, var(--Orange, #FC6433) 100%), linear-gradient(45deg, #F55420 0%, #FF8C1A 81.91%), linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Green, #6FB622);
}

.group-status-badge-value.review {
    background: linear-gradient(0deg, var(--Blue, #0095FF) 0%, var(--Blue, #0095FF) 100%), linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Green, #6FB622);
}

.group-status-badge-value.published {
    background: var(--Green, #6FB622);
}

.group-status-badge-value.archived {
    background: linear-gradient(0deg, var(--7A8E96, #7A8E96) 0%, var(--7A8E96, #7A8E96) 100%), linear-gradient(45deg, #4D9500 0%, #7CD021 81.91%), linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Green, #6FB622);
}

.view-header-edit-block .view-header-edit-block-text img {
    vertical-align: baseline;
    width: 14px;
    height: 14px;
}

.view-header-edit-block .view-header-edit-block-text span.nbsp {
    white-space: nowrap;
}

@media screen and (min-width: 576px) {
    .view-header-edit-block .view-header-edit-block-text {
        font-size: 24px;
    }
    .view-header-edit-block .view-header-edit-block-text.is-big {
        font-size: 32px;
    }
    .view-header-edit-block .view-header-edit-block-text.is-big img {
        width: 28px;
        height: 28px;
    }
    .modal-group .modal-footer button[data-kind="focus-edit"],
    .modal-group .modal-footer button[data-kind="start-fresh"] {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (min-width: 767px) {
    .view-header-edit-block .view-header-edit-block-text {
        font-size: 24px;
    }
    .view-header-edit-block .view-header-edit-block-text.is-big {
        font-size: 40px;
    }
    .view-header-edit-block .view-header-edit-block-text.is-big img {
        width: 32px;
        height: 32px;
    }
}


.view-header-edit-block .view-header-edit-block-sub {
    display: flex;
    column-gap: 10px;
    row-gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    row-gap: 4px;
    column-gap: 10px;
}

.view-header-edit-block .view-header-edit-block-sub > img {
    width: 20px;
    height: 20px;
}
.view-header-edit-block .view-header-edit-block-sub span {
    color: #FFF;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
}

@media screen and (min-width: 481px) {
    .view-header-edit-block .view-header-edit-block-sub span {
        font-family: Barlow;
        font-size: 16px;
    }
}

.grid-view {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    gap: 5px;
}

.list-view {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px clamp(24px, 8vw, 160px);
    gap: 24px;
    border-radius: 8px;
    background: var(--Dark-2, #1A3947);
    margin-top: 4px;
}


.list-view > * {
    width: 100%;
}

.list-info-row {
    display: flex;
    padding: 16px 20px;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--Dark, #052330);
}

.list-info-row p img,
.list-info-row li img,
.list-info-row .emoji {
    width: 16px;
    height: 16px;
} 

.list-info-row .flag-icon {
    width: 21.6px;
    height: 14.4px;
    margin-left: 2px;
    margin-bottom: 2px;
}

.list-info-wrapper {
    padding: 15px;
}

.list-info-wrapper.list-info-wrapper-wh {
    width: 80px;
    height: 80px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-calendar-info-when {
    display: flex;
    flex-direction: column;
    width: 66px;
    height: 71px;
    padding: 0;
    margin: 0;
       background: rgba(0, 0, 0, 0.20);
    border-radius: 0 0 6px 6px;
    background: var(--Dark-2, #1A3947);
    
}

.list-info-when {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 120px;
    align-items: center;
    flex: 0 0 120px;
    align-self: baseline;
}

.list-info-separator {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.20);
}

.last-list-info-row {
    display: flex; 
    gap: 24px;
}

.list-info-when-description {
    color: var(--BAC8CE, #BAC8CE);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    text-align: center;
    width: 100%;

    a.hashtag {
        color: var(--White, #FFF);
    }
}

.list-info-when-description.list-expandable {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.list-expandable-content {
    width: 100%;
    overflow: hidden;
    will-change: height;
    text-align: left;
}

.list-expandable-content.is-clamped {
    max-height: calc(var(--expand-lines, 3) * var(--expand-line-height, 24px) + 4px);
}

.list-expandable-content.is-clamped p {
    margin: 0;
}

.list-expandable--not-included {
    --not-included-gap: 8px;
}

.list-expandable--not-included .list-expandable-content.is-clamped {
    max-height: calc(
        var(--expand-lines, 3) * (var(--expand-line-height, 24px) + var(--not-included-gap, 0px))
        - var(--not-included-gap, 0px)
        + 4px
    );
}

.list-expandable-content.is-animating {
    transition: height 950ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .list-expandable-content.is-animating {
        transition: none;
    }
}

.list-expandable--not-included .not-included-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--not-included-gap, 8px);
}

.list-expandable--not-included .not-included-bullets li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.list-expandable--not-included .not-included-dot {
    color: var(--Red, #D53A3A);
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    margin-top: 0.45em;
}

.list-expandable--not-included .not-included-dot svg {
    display: block;
}

.list-expand-toggle {
display: flex;
height: 32px;
padding: 12px 20px;
justify-content: center;
align-items: center;
gap: 12px;
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.10);
background: linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.09) 100%);
color: var(--White, #FFF);
text-align: center;
font-family: Inter;
font-size: 12px;
font-style: normal;
font-weight: 500;
line-height: 16px; /* 133.333% */
text-transform: uppercase;
}

.preview-video-media {
    margin: unset;
}

.list-loading {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.list-loading img {
    animation: ai-loading-spin 2.5s linear infinite;
    transform-origin: center;
}

.list-info-wrapper-wh img:not(.flags-sections) {
    width: var(--img-size);
    height: var(--img-size);
}

.list-info-wrapper.list-info-wrapper-wh {
    --img-size: 120px;
    width: var(--img-size);
    height: var(--img-size);
    padding: 0;
}

@media screen and (min-width: 1600px) {
    .view-header-edit-block {
        /* add border radius only on screens larger than container width */
        border-radius: 8px;
    }
}

@media screen and (min-width: 481px) {
    .list-info-wrapper.list-info-wrapper-wh {
        --img-size: 80px;
    }
    .view-header-edit-block .view-header-edit-block-sub {
        column-gap: 20px;
        row-gap: 4px;
    }

    .view-header-edit-block .view-header-edit-block-sub > img {
        width: unset;
        height: unset;
    }
    .group-edit-title-buttons {
        margin-left: 70px;
    }
    footer:not(.driver-popover-footer) {
        padding: 140px 120px 60px 120px !important;
    }
    .list-info-when-description {
        text-align: left;
    }
    .info-block.last-info-row {
        flex: 1 1 calc(100% / var(--last-row-items, 5) - 10px);
    }
    .info-block.info-prev-last-block {
        flex: 1 1 calc(25% - 10px);
    }
    .modal-group .modal-content {
        /* min-height: 60vh; */
    }
    .modal-body {
        height: 700px;        
        /* scrollbar-gutter: stable; */
        overflow-y: auto;
    }
}


@media only screen and (min-height: 500px) and (max-height: 1000px) { 
    .modal-group .modal-body {
        max-height: calc(100dvh - 250px);
    }
}

@media only screen and (min-height: 1200px) {
    .modal-group .modal-body {
        max-height: 700px !important;
    }
    .modal-group .modal-content {
        min-height: unset !important;
    }
}


.list-calendar-month {
    width: 66px;
    height: 16px;
    background: #D53A3A;
    color: #FFF;
    text-align: center;
    font-family: Barlow;
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    text-transform: uppercase;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;


}

.list-calendar-day {
    width: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--White, #FFF);
    font-family: Barlow;
    font-size: 20px;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.list-block-info {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.list-info-icons-wrapper {
    padding: unset;
}
.info-icon {
    height: 80px;
    width: 80px;
}
.list-terms-conditions {
    display: flex;
    padding: 16px 40px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    border-radius: 8px;
background: var(--Dark, #052330);
flex-direction: column;
    align-items: center;
    gap: 8px;
}


.list-join{
    display: flex;
padding: 40px;
    justify-content: center;

align-items: center;
flex: 1 0 0;
align-self: stretch;
background: linear-gradient(45deg, #F55420 0%, #FF8C1A 81.91%);
box-shadow: 0 4px 8px 0 rgba(5, 35, 48, 0.08);
color: var(--White, #FFF);
text-align: center;
font-family: Inter;
font-size: 48px;
font-style: normal;
font-weight: 900;
line-height: normal;
text-transform: uppercase;
cursor: pointer;
border-radius: 8px;
}

.list-draft,
.list-publish {
    display: flex;
    padding: 40px;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
}

.list-draft {
    font-size: 24px;
}

.list-draft-btn,
.list-publish-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.list-draft:hover .list-draft-btn,
.list-publish:hover .list-publish-btn {
    transform: scale(1.1);
}

.group-background {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.view-header {
    width: 100%;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}



.view-header-content {
    color: var(--White);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: flex-start;
    margin-left: 40px;
    max-width: 92%;
}

.group-title {
    color: var(--White, #FFF);
    text-align: left;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal; 
}

.group-label {
    display: flex;
    gap: 20px;
    z-index: 9;
    flex-direction: row;
    align-items: center;
}

.group-label-text {
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 36px */
    letter-spacing: 14.4px;
    text-transform: uppercase;
}

.group-status-label {
    color: #FFF;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 4px;
    background: linear-gradient(0deg, var(--Orange, #FC6433) 0%, var(--Orange, #FC6433) 100%);
    margin-bottom: 0;
    letter-spacing: 0;
    display: flex;
    padding: 6px 12px;
    justify-content: center;
    align-items: center;
}

.group-status-label.completed {
    background: linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Green, #6FB622);
}

/*
.group-status-label.in-process {
    background: linear-gradient(0deg, var(--Green, #6FB622) 0%, var(--Green, #6FB622) 100%);
}
*/

.group-status-label.review {
    background: linear-gradient(0deg, var(--Blue, #0095FF) 0%, var(--Blue, #0095FF) 100%), linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Blue, #0095FF);
}

.group-status-label.published {
    background: var(--Green, #6FB622);
}

.group-status-label.archived {
    background: linear-gradient(0deg, var(--7A8E96, #7A8E96) 0%, var(--7A8E96, #7A8E96) 100%), linear-gradient(45deg, #4D9500 0%, #7CD021 81.91%), linear-gradient(45deg, #FF9829 0%, #FC0 81.91%), var(--Green, #6FB622);
}

.view-header-icons {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
    position: absolute;
    bottom: 24px;
    right: 45px;
}

.like-icon {
    border: 0;
    margin-right: 20px;
    outline: 0;
}

.like-icon {
    position: relative;
}

.like-icon-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.like-icon .like-icon-image {
    opacity: 0;
    clip-path: circle(0%);
    transition: .5s ease-in-out clip-path;
}

.like-icon[data-state="on"] .like-icon-image[data-state="on"] {
    opacity: 1;
    clip-path: circle(100%);
}

.like-icon[data-state="off"] .like-icon-image[data-state="off"] {
    opacity: 1;
    clip-path: circle(100%);
}

.group-view-action-button {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(45deg, #031923 0%, #2C4D5C 100%), var(--Dark, #052330);
    cursor: pointer;
    user-select: none;
    border: 0;
    color: var(--White, #FFF);
    outline: 0;
}

@media (max-width: 481px) {
    .group-view-action-button.has-text {
        span {
            display: none;
        }
    }
}

@media (min-width: 482px) {
    .group-view-action-button.has-text {
        width: unset !important;
        padding-left: 12px;
        padding-right: 12px;

        span {
            font-family: Inter;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 12px;
            margin: 0 0 0 8px;
        }
    }
}

.edit-link-btn {
    display: flex;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(45deg, #031923 0%, #2C4D5C 100%), var(--Dark, #052330);
    cursor: pointer;
    user-select: none;
    gap: 8px;

    cursor: pointer;
    width: fit-content;
    min-width: 130px;

    padding: 0 12px;
    font-family: Inter;
    color: #fff;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    line-height: 150%;
    text-transform: uppercase;
    transform: translateY(1px);
}

.edit-link-btn:hover, .edit-link-btn:focus, .edit-link-btn:active {
    outline: none;
    text-decoration: none;
    color: #fff;
}

.like-icon > img, .grid-icon > img, .list-icon > img {
    user-select: none;
    pointer-events: none;
}

.view-icons {
   display: flex;
}

.w-row {
    display: flex;
    flex-direction: row;
    max-height: 260px;
    height: 100%;
    gap: 5px;
    margin-top: 4px;
}

.w-block {
    display: flex;
    padding: 27px 0;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1;
    align-self: stretch;
    border-radius: 8px;
    background: linear-gradient(0deg, #082D3D 4.5%, #2C4D5C 100%), linear-gradient(334deg, #031923 16.61%, #2C4D5C 83.45%), linear-gradient(45deg, #031923 0%, #2C4D5C 100%), linear-gradient(45deg, #052330 0%, #1A3947 100%);    cursor: pointer;
    height: 240px;
    user-select: none;
}

.w-title-block {
    color: var(--White, #FFF);
    font-family: Barlow;
    font-size: 64px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    opacity: 0.3;
}

.w-block-wrapper {
    display: inline-flex;
    height: 80px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.w-block-content {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 28px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.w-block-content strong {
    color: var(--Orange, #FC6433);
}


.w-dates {
display: flex;
height: 80px;
justify-content: center;
align-items: center;
gap: 20px;
}
.w-dates-block {
    display: flex;
    flex-direction: column;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
       background: rgba(0, 0, 0, 0.20);
    border-radius: 0 0 6px 6px;
}

.w-month-block {
    width: 60px;
    height: 18px;
    background: var(--Green, #6FB622);
    color: #FFF;
    text-align: center;
    font-family: Barlow;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-transform: uppercase;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.w-date-block {
    width: 60px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--White, #FFF);
    font-family: Barlow;
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dates-separator {
    width: 22px;
    height: 2px;
    background: var(--White, #FFF);
}

.country-flag {
    width: 60px;
    height: 40px;
    object-fit: cover;
}
.w-countries-block {
    display: flex;
    height: 80px;
    align-items: center;
    gap: 28px;
}

.avatar, .list-avatar {
    display: flex;
    width: 60px;
    height: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 56px;
    object-fit: cover;
}

.creator-avatar {
    border: 3px solid var(--Orange, #FC6433);
}

.w-avatars-block {
    display: flex;
    min-height: 80px;
    align-items: center;
}

.w-avatar-block, .w-avatar-count-block {
    margin-left: -12px; 
    position: relative;
}

.w-avatar-block:first-child {
    margin-left: 0;
}

.w-avatar-block.is-creator .avatar {
    border: 3px solid var(--Orange, #FC6433);
}

.w-avatar-block {
    z-index: 10;
}
.w-avatar-block:nth-child(2) {
    z-index: 9;
}
.w-avatar-block:nth-child(3) {
    z-index: 8;
}
.w-avatar-block:nth-child(4) {
    z-index: 7;
}
.w-avatar-block:nth-child(5) {
    z-index: 6;
}



.avatar-count {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--Dark, #052330);
    stroke-width: 1.5px;
    stroke: var(--Dark, #052330);
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.25));
    color: #FFF;
    font-family: Barlow;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-why-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 80px;
    justify-content: center;
    text-align: center;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    min-height: 80px;
}
.why-title {
    background: linear-gradient(270deg, #FC6433 0%, #FC6433 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
} 

.info-block {
    display: flex;
    height: 200px;
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px !important;
    flex: 1 1 33%;
    border-radius: 8px;
    background: linear-gradient(0deg, #082D3D 4.5%, #2C4D5C 100%), linear-gradient(334deg, #031923 16.61%, #2C4D5C 83.45%), linear-gradient(45deg, #031923 0%, #2C4D5C 100%), linear-gradient(45deg, #052330 0%, #1A3947 100%);    cursor: pointer;
}

.info-block:not([data-modal-target="reviews-modal"]):has(.draft-state-icon[data-state="empty"]) :is(.info-block-icon, .info-block-description, .group-price) {
    opacity: 0.5;
}
.info-block.reviews-block--disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.info-block.reviews-block--disabled .info-block-icon,
.info-block.reviews-block--disabled .info-block-description {
    opacity: 0.5;
}

.info-block-description {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    line-height: 19px;
}

.group-currency, .group-price-unit, .list-group-price-unit, .list-group-currency {
    text-align: center;
    font-family: Inter;
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2; 
    text-transform: uppercase;
}
.group-currency, .list-group-currency {
        color: var(--Orange, #FC6433);
}
.group-price-unit, .list-group-price-unit {
    color: var(--White, #FFF);
}
.per-person, .list-per-person {
    color: var(--7A8E96, #7A8E96);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal; 
    text-transform: uppercase;

}

/* .view-header-content {
transform: translateY(-25px);
} */

.group-join, .group-joined, .group-publish, .group-draft {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}

.group-status-action,
.list-status-action {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.group-status-action {
    font-size: 36px;
}

.list-status-action {
    font-size: 32px;
}

.group-join small, .group-joined small {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.group-draft {
    font-size: 24px;
}

.info-draft {
    background: linear-gradient(45deg, #F55420 0%, #FF8C1A 81.91%);
    box-shadow: 0 4px 8px 0 rgba(5, 35, 48, 0.08);
}

.info-join, .info-joined, .info-publish {
    background: linear-gradient(45deg, #4D9500 0%, #7CD021 81.91%);
}

.info-status,
.list-publish.info-status {
    user-select: none;
    cursor: not-allowed;
    pointer-events: none;
}

.info-status.published,
.info-status.in-process,
.list-publish.info-status.published,
.list-publish.info-status.in-process {
    background: linear-gradient(45deg, #4D9500 0%, #7CD021 81.91%);
}

.info-status.draft,
.list-publish.info-status.draft {
    background: linear-gradient(45deg, #F55420 0%, #FF8C1A 81.91%);
}

.info-status.review,
.list-publish.info-status.review {
    background: linear-gradient(45deg, #0072C5 0%, #26ADFF 81.91%);
}

.info-status.archived,
.info-status.completed:not(.in-process),
.list-publish.info-status.archived,
.list-publish.info-status.completed:not(.in-process) {
    background: linear-gradient(45deg, #50656F 0%, #7A8E96 81.91%);
}

.info-join, .info-joined, .info-publish, .info-draft {
    user-select: none;
}

:is(.info-join, .info-joined)[disabled],
:is(.info-join, .info-joined)[data-join-status="declined"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.list-join:is(.info-join, .info-joined) .info-block-description {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.grid-icon-active {
    border: 2px solid var(--Orange, #FC6433);

}

/* !---------Modal Start---------------! */
body.modal-group-open {
    overflow: hidden !important;
}
html.modal-group-open {
    overflow: hidden !important;
    height: 100%;
}
html.modal-group-open,
body.modal-group-open {
    overscroll-behavior: none;
}

.modal-group {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background: rgba(0, 13, 19, 0.80);
}

.modal-group .modal-content {
    background: var(--Dark, #052330);
    color: #fff;
    border-radius: 12px;
    margin: 20px auto 20px;
    width: 100%;
    max-width: calc(870px + 4px); /* includes 2 * 2px border */
    height: auto;
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-group.jizo-app-modal.is-active {
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

.modal-group.jizo-app-modal.is-active > .modal-content {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 !important;
    top: 0 !important;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
}
.modal-group.jizo-app-modal.is-active .modal-body {
    max-height: calc(100dvh - 195px - var(--modal-body-height-adjust, 0px));
}

/* .modal-group.jizo-app-modal.is-active .modal-footer {
    padding: 12px 28px 20px !important;
} */

.modal-layout .close-button {
    position: absolute;
    top: 24px; right: 24px;
    color: #fff;
    font-size: 26px;
    z-index: 10;
    cursor: pointer;
}

.modal-nav {
    display: none;
    z-index: 3;
}

.gradient-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 115%;
    background: linear-gradient(0deg, var(--Dark, rgba(5, 35, 48, 0.70)) 0%, rgba(5, 35, 48, 0.00) 100%);
}

.modal-bg {
    width: 100%; height: 100%;
    object-fit: cover;
}

.modal-group .modal-title {
    width: 100%;

    pointer-events: none;
    user-select: none;
}
/* .modal-group .modal-title .title-sequence {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
} */
.modal-group .modal-title-second {
    position: absolute;
    top: 77%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    z-index: 999;
}

.modal-highlight {
    color: var(--Orange, #FC6433) !important;
}
.modal-group .modal-body {
    margin: 28px 17px 0px 0px;
    padding: 0 17px 0 40px;
    scrollbar-gutter: stable;
}
.modal-group .modal-footer {
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 12px 40px 28px 40px;
    z-index: 9;
    position: relative;
}

.modal-group .join-group-btn {
    display: flex;
    width: 100%;
    max-width: 180px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: linear-gradient(0deg, var(--Dark-2, #1A3947) 0%, var(--Dark-2, #1A3947) 100%), linear-gradient(45deg, #F55420 0%, #FF8C1A 81.91%);
    box-shadow: 0 4px 8px 0 rgba(5, 35, 48, 0.08);
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    border: none;
    margin: 0 auto;
    &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
}

/* why styles */
/* why styles */

/* with styles */
/* with styles */

/* where styles */
.modal-stat-flag {
    width: 72px;
    height: 48px;
    margin-bottom: 32px;
}
.modal-stats-country {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0px 38px 0;
}

.creator-avatar-flag {
    position: relative;
    bottom: 9px;
    width: 24px;
    height: 16px;
    object-fit: cover;
}

/* !------Driver js Styles -------! */
.driver-popover.driverjs-theme {
    border-radius: 8px;
    background: var(--Green, #6FB622);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    max-width: 490px;
}

.driver-popover.driverjs-theme .driver-popover-title {
  font-size: 20px;
}

.driver-popover.driverjs-theme .driver-popover-description {
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; 
}

.driver-popover.driverjs-theme button {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #FFF;
    background: var(--Dark-2, #1A3947);
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    text-transform: uppercase;
    display: none !important;
    &:hover,
    &:focus {
        background: var(--Dark-2, #1A3947) !important;
    }
}

.driver-popover.driverjs-theme button:hover {
  background-color: #000;
  color: #ffffff;
}

.driver-popover.driverjs-theme .driver-popover-navigation-btns {
  justify-content: space-between;
  gap: 3px;
}

.driver-popover.driverjs-theme .driver-popover-close-btn {
  color: #9b9b9b;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
  border-left-color: var(--Green, #6FB622);
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
  border-right-color: var(--Green, #6FB622);
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
  border-top-color: var(--Green, #6FB622);
  right: 50%;
  transform: translateX(-50%);
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
  border-bottom-color: var(--Green, #6FB622);
}
.driver-popover-footer {
    display: none !important;
}
.orange {
    color: var(--Orange, #FC6433) !important;
}
.green {
    color: var(--Green, #6FB622) !important;
}
/* !------Driver js Styles -------! */
 
@media (max-width: 1334px) {
    .group-label {
        margin-bottom: 5px;
    }
    .group-label-text {
        letter-spacing: 9.6px;
    }
    .view-header-content {
        max-width: 90%;
    }
    .draft-state-icon {
        width: 24px !important;
        height: 24px !important;
    }
    .draft-state-icon > .draft-state-icon-image{
        width: 24px !important;
        height: 24px !important;
    }
    
    :is(.w-block, .info-block) .draft-state-icon,
    .draft-state-icon[data-key="cover"] {
        right: 8px !important;
        top: 8px !important;
    }
}
@media (max-width: 970px) {
    .group-title {
        font-size: 32px;
    }
}


@media (max-width: 745px) {

    .group-title {
        font-size: 32px;
    }
}

@media (max-width: 697px) {

    .group-title {
        font-size: 20px;
    }
    .view-header-content {
        margin-left: 40px;
    }
        .group-label {
        top: calc(50% - 75px);
    }
    
}

@media (max-width: 800px) {
    .w-row {
        flex-wrap: wrap;
        max-height: unset;
    }

    .w-block {
        flex: 1 1 calc(50% - 5px);
        max-width: calc(50% - 3px);
    }
}

@media (max-width: 481px) {
    .view-header-edit-block-text-new {
        font-size: 12px;
    }
    .view-header-edit-block {
        padding: 10px 12px;
    }
    
    .list-jizo-reviews-wrapper {
        flex-direction: column;
    }
    .list-info-when-description.list-expandable {
        align-items: center;
    }
    .group-label-text {
        /* display: none; */
        font-size: 16px;
        line-height: 150%;
    }
    .view-header-icons {
        right: 20px;
    }


    .view-header {
        height: 210px;
        justify-content: flex-start;
        padding-top: 20px;
    }
    /* .view-header-content {
       transform: translateY(-18px);
    }  */
    .info-row {
        flex-wrap: wrap;
    }

    .info-block {
        flex: 0 0 calc(50% - 3px);
        max-width: 50%;
    }
    .info-join, .info-joined {
        max-width: 100%;
        flex: 1;
    }
    .w-avatars-block,
    .w-why-title {
        min-height: 60px;
    }
    .w-title-block {
        font-size: 32px;
    }
    .w-month-block {
        font-size: 8px;
    }
    .w-date-block {
        font-size: 12.752px;
    }
    .dates-separator {
        width: 11.689px;
        height: 1.063px;
    }
    .country-flag {
        width: 48px;
        height: 32px;
    }
    .w-block {
        padding: 16px 0;
        gap: 8px;
        height: 140px;
        flex: 1 1 49%;
    }

    .w-countries-block {
        gap: 12px;
        min-height: 60px;
    }

    .w-dates {
        min-height: 60px;
        gap: 12px;
    }

    .w-dates-block {
        width: 44px;
        height: 44px;
        overflow: hidden;
    }

    .w-month-block, .w-date-block {
        width: 44px;
    }

    .w-month-block {
        height: 14.564px;
        line-height: 14.564px;
    }

    .w-date-block {
        font-size: 19.2px;
    }

    .avatar {
        width: 40px;
        height: 40px;
        border-radius: 29.755px;
    }
    .avatar-count {
        width: 40px;
        height: 40px;
        border-radius: 29.755px;
        font-size: 9.564px;
    }

    .w-avatar-block, .w-avatar-count-block {
         margin-left: -6px; 
    }
    .why-title, .why-hastag {
        font-size: 17.003px;
    }

    .creator-avatar {
        width: 60px;
        height: 60px;
    }

    .group-currency, .group-price-unit {
        font-size: 24px;
    }
    .per-person {
        font-size: 12px;
    }
    .info-block {
        height: 150px;
        gap: 10px !important;
        padding: 24px 0 12px;
    }
    .info-block:not(.info-draft):not(.info-publish):not(.info-join):not(.info-joined) {
        justify-content: flex-start;
    }
    .info-block.last-info-row.info-status.published {
        justify-content: center;
        padding: 0;
    }
    .info-block.last-info-row.info-status.published .group-status-action {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        line-height: 1;
    }
    .info-publish {
        max-width: 100%;
        flex: 1;
    }
    .info-publish, .info-draft {
        padding: 0;
    }

    .group-price {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 16px;
    }

    .group-currency::after {
        content: ""; /* overrides the &nbsp; visually */
        display: block;
    }

    .group-price-unit {
        margin-top: 2px;
    }

    .per-person {
        margin-top: -5px;
    }
        .nbsp-space {
    display: none;
    }
    .group-join, .group-joined, .group-publish {
        font-size: 36px;
    }
    .group-join, .group-joined, .group-draft {
        font-size: 20px;
    }
    /* .info-join, .info-price, .info-publish, .info-draft {
        height: 124px;
    } */
     /* .info-publish, .info-draft {
        flex: 0 0 100%;
        max-width: 100%;
     } */

    .list-info-separator {
        display: none;
    }
    .list-view {
        padding: 20px 8px 80px;
        gap: 20px;
        border-radius: 0;
    }

    .list-info-row {
        flex-direction: column;
        gap: 20px;
    }
    .last-list-info-row {
        flex-direction: column;
    }
    .list-group-price {
        display: flex;
    }

    .list-terms-wrapper {
        padding: unset;
    }

    .list-price-wrapper {
        padding: 30px 40px;
    }
    .list-join {
        padding: 40px;
    }
    .list-draft,
    .list-publish {
        padding: 40px;
    }
    .list-avatar {
        width: 90px;
        height: 90px;   
    }
    .creator-avatar-flag {
        width: 36px;
        height: 24px;
    }
    .reviews-list-info, .jizo-list-info {
        gap: 20px;
    }
    .modal-group .modal-body {
        margin: 20px 0px 20px 0px;
        padding:  0 12px 0 12px;
        max-height: calc(100dvh - 195px - var(--modal-body-height-adjust, 0px));
        overflow-y: auto;
    }
    .modal-group:not(#media-modal, #error-modal) .modal-footer {
        padding: 0 16px 20px !important;
    }
    #media-modal .modal-footer {
        padding: 0px 10px 20px !important;
        gap: 20px;
    }
    .view-header-edit-block .view-header-edit-block-sub {
        column-gap: 20px;
    }
    .view-header-edit-block-text,
    .view-header-edit-block .view-header-edit-block-sub span {
        font-size: 14px !important;
    }
    .progress-bar {
        display: none !important;
    }

    #error-modal .progress-bar,
    #profile-dashboard-vue .progress-bar {
        display: flex !important;
    }
    
    .view-header-edit-block .view-header-edit-block-sub > img {
        width: 32px;
        height: 32px;
    }
    .group-edit-title-buttons,
    .view-header-content,
    .group-edit-title-buttons  {
        margin-left: 20px !important;
    }   
   /* .group-label-editing {
        transform: translateY(-12px);
   } */
   .legend-item {
        flex-direction: column;
   }

   .jizo-input-field {
        font-size: 16px;
        font-weight: 700;
    }
    .flags-wrapper {
        zoom: 1.5;
    }
    footer {
        padding-bottom: 16px !important;
    }
    .view-header-edit-block {
        font-size: 18px;
    }
    .modal-group .modal-content {
        top: 20px;
        margin-bottom: 0;
        margin-top: 0;
        position: static;
        overflow-y: hidden;
        position: absolute;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .modal-group.jizo-app-modal.is-active > .modal-content {
        top: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .modal-stats {
        padding: 0;
    }
    #with-modal .modal-stats .modal-stat:nth-child(1) {
        width: 100%;
    }

    .when-calendar-wrapper {
        margin-top: 0;
    }
    .hero-title,
    .creator-title {
        font-size: 24px !important;
    }
    .modal-group .modal-header {
        height: 70px !important;
        min-height: 70px !important;
    }
    .list-info-when {
        align-self: center;
    }
}

.list-info-when-description strong {
    color: var(--White, #FFF);
    font-weight: 700;
}

.flags-wrapper {
  position: relative;
  width: 70px;
  height: 50px;

}

.flags-sections {
  position: absolute;
  width: 40px;
  height: 26px;
  border-radius: 4px;
}

.first-flag-sec {
  top: 0;
  left: 0;
}

.second-flag-sec {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.third-flag-sec {
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}

/* if only 1 flag, center it */
.first-flag-sec[data-total-count="1"] {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

/* if 2 flags */
.first-flag-sec[data-total-count="2"] {
    top: 0;
    width: 65%;
    height: 65%;
}

.second-flag-sec[data-total-count="2"] {
    top: 65%;
    transform: translateY(-50%);
    width: 65%;
    height: 65%;
}

.list-calendar-separator {
    width: 54px;
    height: 1px;
    background: rgba(255, 255, 255, 0.20);
    margin: 0 auto;
}

.list-calendar-days-count {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; 
    text-transform: uppercase;
}
.when-calendar-block {
    gap: 3px;
}
.w-why-title .why-hashtag {
  color: #FC6433; /* solid orange */
  margin-right: 0.25ch;
}
.w-why-title .why-text {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  text-transform: uppercase;
}
[data-key][data-state-is-empty="1"]:is([data-state="empty"]) {
    display: none;
}
[data-key][data-state-is-empty="0"]:not([data-state="empty"]) {
    display: none;
}

.group-edit-title-buttons button:hover,
.view-header-icons button:hover,
.grid-icon:hover,
.list-icon:hover,
.btn-set-cover:hover,
.btn-set-title:hover,
.edit-link-btn:hover {
    filter: brightness(1.2);
}

.draft-state-icon {
    /* width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: none; */
}

.group-editor-mode--view .draft-state-icon {
    display: none !important;
}

:is(.w-block, .info-block) {
    position: relative;
}

:is(.w-block, .info-block) .draft-state-icon {
    position: absolute;
    right: 16px;
    top: 16px;
}


.draft-state-icon[data-key="cover"] {
    position: absolute;
    right: 16px;
    top: 16px;
}

.draft-state-icon[data-state="complete"] {
    /* background: linear-gradient(0deg, var(--Green, #6FB622) 0%, var(--Green, #6FB622) 100%), linear-gradient(180deg, var(--Dark-2, #1A3947) 0%, var(--Dark, #052330) 100%); */
}

.draft-state-icon > .draft-state-icon-image {
    display: none;
    /* width: 24px;
    height: 24px; */
}

.draft-state-icon[data-state="empty"] > .draft-state-icon-image[data-state="empty"],
.draft-state-icon[data-state="draft"] > .draft-state-icon-image[data-state="draft"],
.draft-state-icon[data-state="complete"] > .draft-state-icon-image[data-state="complete"],
.draft-state-icon[data-state="in-progress"] > .draft-state-icon-image[data-state="in-progress"] {
    display: block;
}

.draft-state-icon[data-state="in-progress"] > .draft-state-icon-image[data-state="in-progress"] {
    animation: ai-loading-spin 2.5s linear infinite;
}

.group-editor-mode--view .w-block:has(.draft-state-icon[data-state="empty"]) {
    pointer-events: none !important;
}

.btn-set-title,
.btn-set-cover {
    display: flex;
    height: 48px;
    padding: 0 12px;
    align-items: center;
    gap: 8px;
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    border-radius: 8px;
    background: linear-gradient(45deg, #031923 0%, #2C4D5C 100%), var(--Dark, #052330);
    user-select: none;
}

.btn-set-title > img,
.btn-set-cover > img,
.edit-link-btn > img {
    pointer-events: none;
    user-select: none;
}

.btn-set-cover::after {
    content: unset !important;
}

.group-edit-title-buttons {
    margin-left: 40px;
    max-width: 92%;
    display: flex;
    gap: 12px;
    flex-direction: row;
    position: absolute;
    bottom: 28px;
}
.orange-edit {
    color: var(--Orange, #FC6433);
}

.group-title-edit, .group-cover-edit {
    display: flex;
    gap: 12px;
    cursor: pointer;
    width: fit-content;
}

.group-title {
    display: flex;
    gap: 20px;
    align-items: center;
}
.world-map {
    display: none; 
}
.content-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}
.preview-mode .modal-header {
    opacity: 0.3 !important;
}
.preview-mode .modal-default-approve {
    border: none;
    background: linear-gradient(0deg, var(--Green, #6FB622) 0%, var(--Green, #6FB622) 100%), linear-gradient(45deg, #4D9500 0%, #7CD021 81.91%);
}
/* Sticky overlay that stays at the bottom of the scrollport */
.modal-body .bottom-gradient-shadow,
[data-bottom-shadow-target] .bottom-gradient-shadow {
    position: sticky;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 24px;
    margin-top: -24px;
    pointer-events: none;
    background: linear-gradient(0deg, #052330 0%, rgba(5, 35, 48, 0.00) 100%);
    opacity: 0; 
    transition: opacity 120ms ease;
    z-index: 2;
}

.modal-body.show-bottom-shadow .bottom-gradient-shadow,
[data-bottom-shadow-target].show-bottom-shadow .bottom-gradient-shadow {
    opacity: 1; 
}

@keyframes can-scroll {
    from { --canScroll: 1; }
    80% { --canScroll: 1; }
    to { --canScroll: 0; }
}

.modal-body {
    animation: can-scroll 1s linear both;
    animation-timeline: scroll(self);
    position: relative;
    overflow-x: hidden;
}

.modal-body:not(:has(.atcb-hidden-wrapper)):not(.no-scroll-shadow)::after {
    content: "";
    position: sticky; /* stays at bottom edge of scrollport */
    bottom: 0;
    display: block;
    height: 24px;
    min-height: 24px;
    max-height: 24px;
    margin-top: -24px;
    pointer-events: none;

    /* 0 = no overflow => invisible; 1 = overflow => visible */
    opacity: var(--canScroll, 0);
    background: linear-gradient(0deg, #052330 0%, rgba(5, 35, 48, 0.00) 100%);
    z-index: 10000;

    width: calc(100% + 2 * 15px);
    margin-left: -15px;
    transition: .25s opacity;
}


.approval-message {
    position: absolute;
    bottom: -22px;
    right: 20px;
    z-index: 10;
    border-radius: 8px;
    background: rgba(111, 182, 34, 0.85);
    box-shadow: 0 4px 20px 0 rgba(2, 21, 29, 0.85);
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    pointer-events: none;
}

.approval-message::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M7 11L10.6349 14.6349C10.8346 14.8346 11.16 14.8293 11.3532 14.6233L18.5 7" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center center;
  background-size: contain;
}

.first-buttons-actions {
   margin: 0 !important;
}

.creator-icon {
    position: relative;
    top: 13px;
}

@media (max-width: 365px) {
    .group-view-action-button {
        width: 35px;
        height: 35px;
    }

    .edit-link-btn {
        height: 35px;
    }
}

@media (max-width: 340px) {
    .btn-set-title > span[data-key="title"],
    .btn-set-cover > span[data-key="cover"] {
        display: none;
    }
}

.w-country-count{
display: flex;
width: 50px;
height: 50px;
padding: 9px 4px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 28px;
border: 0.333px solid var(--Dark, #052330);
background: var(--Dark, #052330);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
color: #FFF;
text-align: center;
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
}

@media (max-width: 481px) {
    .w-country-count{
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .content-container,
    .modal-group .modal-content {
        justify-content: space-between;
    }
    
    /* !------Driver js Styles -------! */
    .driver-popover.driverjs-theme {
        inset-inline-start: 10px !important;
        inset-inline-end: 10px !important;
    }
    .swipe-right-modal,
    .swipe-left-modal {
        display: none !important;
    }
    .modal-body.has-scroll {
        padding-left: 12px;
        padding-right: 6px;
        margin-left: 0;
        margin-right: 6px;
    }

}

@media (max-width: 360px) {
    .w-title-block {
        font-size: 24px;
    }
}

/* Title - Generate with AI - Hide if loaded from site */
.is-from-site .jizo-input-editor button.jizo-input-ai-generate {
    display: none !important;
}
/* end: Title - Generate with AI - Hide if loaded from site */

/* IOS KEYBOARD WHITE GAP FIX*/


/* :root {
  --app-vh: 100svh;              
} */
/* @supports (height: 100dvh) {
  :root { --app-vh: 100dvh; }    
}

@supports (-webkit-touch-callout: none) {
  :root { --app-vh: -webkit-fill-available; }
} */

/* .modal-group,
.modal-group .modal-content {
  max-height: var(--app-vh);
}

.modal-body {
  max-height: calc(var(--app-vh) - 350px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-group { background: rgba(0, 13, 19, 0.80); }
.modal-group {
  overflow: hidden;             
  overscroll-behavior: none;
}
.modal-group .modal-content {
  overflow: hidden;            
} */
/* .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
} */


/* IOS KEYBOARD WHITE GAP FIX*/
@media (max-width: 576px) {
  .btn-set-title [data-key="title"],
  .btn-set-cover [data-key="cover"] {
    position: relative;
    font-size: 0;          
    line-height: 1;        
  }

  .btn-set-title [data-key="title"] .orange-edit {
    display: none;          
  }

  .btn-set-cover [data-key="cover"] .orange-edit {
    display: none;           
  }

  .btn-set-title [data-key="title"]::after {
    content: "Name";        
    font-size: 12px;         
    line-height: normal;
  }
  .btn-set-cover [data-key="cover"]::after {
    content: "Photo";  
    font-size: 12px;   
    line-height: normal;
  }
  .preview-video-media {
    margin: 0 auto;
  }
}
#loginPopup {
    z-index: 1055;

    .modal-body {
        height: unset;
        min-height: unset;
        max-height: unset;
    }
}
#helloPopap {
    .modal-body {
        height: unset;
        min-height: unset;
        max-height: unset;
    }
}
.swipe-left-modal,
.swipe-right-modal {
    width: 70px;
    height: 70px;
    padding: 13px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 58px;
    background: #052330;
    position: fixed;     
    z-index: 9999;
    pointer-events: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid #FFF;
}
.swipe-left-modal > :is(img, svg),
.swipe-right-modal > :is(img, svg) {
    pointer-events: none;
    user-select: none;
}
.swipe-left-modal.swipe-disabled,
.swipe-right-modal.swipe-disabled {
    opacity: 0.3;
    cursor: default;
}
.swipe-left-modal:hover,
.swipe-right-modal:hover {
    background: var(--Green, #6FB622);
    border: unset;
}

.autosave-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 20px 20px 20px;
    pointer-events: none;
    user-select: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.autosave-container .autosave-message {
    color: var(--White, #FFF);
    background: var(--Green, #6FB622);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-family: Inter;
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: min(80dvw, 300px);

    opacity: 0;
    transform: translateY(100%);
    transition: .25s ease-in-out;
}

.autosave-container .autosave-message.is-showing {
    opacity: 1;
    transform: translateY(0);
}

.autosave-container .autosave-message svg {
    width: 16px;
    height: 16px;
}

.w-list-block {
    gap: unset;
}
.w-list-text {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 28px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    opacity: 0.4;
}

.hide-before-ready[hidden] {
    display: none !important;
}

section.editor-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.debug-draft-state-panel {
    font-family: Inter;
    margin-top: 1rem !important;
    color: var(--White, #FFF);
}

.debug-draft-state-panel h3 {
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 1px;
}

.debug-draft-state-panel .debug-draft-state-toolbar {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

@media screen and (min-width: 900px) {
    .debug-draft-state-panel .debug-draft-state-toolbar {
        display: flex;
        gap: 8px;
        flex-direction: row;
    }
}

.debug-draft-state-panel .debug-draft-state-toolbar .btn {
    padding: 6px 10px 5px;
    width: 100%;
}

@media screen and (min-width: 900px) {
    .debug-draft-state-panel .debug-draft-state-toolbar .btn {
        width: fit-content;
    }
}

.info-block.info-join {
    &:not(.info-join-qr-visible) {
        .qr-pay {
            display: none;
        }
    }

    &.info-join-qr-visible {
        border-radius: 8px;
        border: 2px solid var(--Green, #6FB622);
        box-shadow: 0 0 8px 0 #6FB622;
        background: var(--Dark, #052330);
        cursor: default;

        &:hover {
            filter: none !important;
        }

        .group-action-labels {
            display: none;
        }

        .qr-pay {
            display: grid;
            justify-content: center;
            align-items: center;
            grid-template: auto / 1fr 1px 1fr;
            margin: 12px 16px;
            gap: 14px;
            width: calc(100% - 2 * 12px);

            .qr-code-wrapper {
                --qr-padding: 8px;
                display: flex;
                justify-content: center;

                .qr-code {

                    display: flex;
                    justify-content: center;
                    position: relative;
                    width: calc((var(--qr-size) + 2 * var(--qr-margin)) * 1px);
                    height: calc((var(--qr-size) + 2 * var(--qr-margin)) * 1px);

                    .qr-code-image {
                        border-radius: 4px;
                        position: absolute;
                        top: var(--qr-padding);
                        left: var(--qr-padding);
                        width: calc((var(--qr-size) + 2 * var(--qr-margin)) * 1px - 2 * var(--qr-padding));
                    }

                    .qr-code-borders {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: calc((var(--qr-size) + 2 * var(--qr-margin)) * 1px);
                        height: calc((var(--qr-size) + 2 * var(--qr-margin)) * 1px);
                        aspect-ratio: 1;

                        .qr-code-border {
                            width: 47px;
                            height: 47px;
                            position: relative;

                            &.qr-code-border-top-left {
                                position: absolute;
                                top: 0;
                                left: 0;
                                background: url('/img/group/pay/qr-border-tl.svg') no-repeat 50% 50%;
                            }

                            &.qr-code-border-top-right {
                                position: absolute;
                                top: 0;
                                right: 0;
                                background: url('/img/group/pay/qr-border-tr.svg') no-repeat 50% 50%;
                            }

                            &.qr-code-border-bottom-left {
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                background: url('/img/group/pay/qr-border-bl.svg') no-repeat 50% 50%;
                            }

                            &.qr-code-border-bottom-right {
                                position: absolute;
                                bottom: 0;
                                right: 0;
                                background: url('/img/group/pay/qr-border-br.svg') no-repeat 50% 50%;
                            }
                        }
                    }
                }
            }

            .qr-v-divider {
                display: flex;
                width: 1px;
                height: 100%;
                background: rgba(255, 255, 255, 0.30);
            }

            .qr-text {
                color: var(--White, #FFF);
                text-align: center;
                font-family: Inter;
                font-size: 18px;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                text-transform: uppercase;

                strong {
                    font-weight: 600;
                    color: var(--Green, #6FB622);
                }

                &.qr-text-muted {
                    color: rgba(255, 255, 255, 0.50);
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    text-transform: none;
                }
            }

            .qr-links {
                display: flex;
                flex-direction: column;
                text-align: center;
                gap: 12px;

                .qr-divider {
                    display: flex;
                    gap: 8px;
                    align-items: center;

                    .qr-line {
                        flex: 1;

                        &::before {
                            content: "";
                            border-bottom: 1px solid rgba(255, 255, 255, 0.30);
                            width: 100%;
                            height: 1px;
                            display: flex;
                        }
                    }
                }

                .qr-methods {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: flex-start;
                    gap: 8px;
                    align-self: stretch;

                    .qr-method {
                        display: flex;
                        height: 32px;
                        padding: 8px 16px;
                        justify-content: center;
                        align-items: center;
                        gap: 3px;
                        align-self: stretch;
                        border-radius: 8px;
                        border: 0;

                        &.qr-method--apple {
                            background: #FFF;
                        }

                        &.qr-method--google {
                            background: #000;
                        }
                    }
                }
            }
        }
    }
}



#conversejs {
  z-index: 999 !important;
}
