:root,
[theme-mode="dark"]:root {
    --cs-badge-dark-light: #797979;
}

.accordion-body h6,
.accordion-body p,
.banner-card-text p,
.chat-title h6,
.copied-modal .modal-body p,
.flatpickr-day,
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.nextMonthDay,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.prevMonthDay,
.main-header .header-link,
p {
    color: var(--cs-text-dark);
}

.cursor-pointer,
.custom-file-label,
.toggle-switch {
    cursor: pointer;
}

@font-face {
    font-family: Satoshi;
    src: url("../libs/satoshi-fonts/fonts/Satoshi-Variable.woff2")
            format("woff2"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Variable.woff") format("woff"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Variable.ttf")
            format("truetype");
    font-weight: 300;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: Satoshi;
    src: url("../libs/satoshi-fonts/fonts/Satoshi-Regular.woff2")
            format("woff2"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Regular.woff") format("woff"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Regular.ttf")
            format("truetype");
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: Satoshi;
    src: url("../libs/satoshi-fonts/fonts/Satoshi-Medium.woff2") format("woff2"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Medium.woff") format("woff"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: Satoshi;
    src: url("../libs/satoshi-fonts/fonts/Satoshi-Bold.woff2") format("woff2"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Bold.woff") format("woff"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: Satoshi;
    src: url("../libs/satoshi-fonts/fonts/Satoshi-Black.woff2") format("woff2"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Black.woff") format("woff"),
        url("../libs/satoshi-fonts/fonts/Satoshi-Black.ttf") format("truetype");
    font-weight: 900;
    font-display: swap;
    font-style: normal;
}

:root {
    --cs-text-gray-dark: #f1f1f1;
    --cs-text-white-dark: #ffffff;
    --cs-text-dropdown-dark: #ffffff;
    --cs-text-dark: #272727;
    --cs-bg-gray-dark: #f1f1f1;
    --cs-bg-white-dark: #ffffff;
    --cs-bg-dark: #272727;
    --cs-border-light-dark: #000000;
    --cs-bg-flatpickr-selected: #000000;
    --cs-text-flatpickr-selected: #ffffff;
    --cs-text-dark-white: #272727;
    --cs-bg-active-btn-dark-light: #000000;
    --cs-text-active-btn-dark-light: #ffffff;
    --comman-bg-color: #f9f9f92b;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(10px);
    --primary-gradient: #272727;
    /* --primary-gradient: #ff0000;; */
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --insta-gradient: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

[theme-mode="dark"]:root {
    --cs-text-gray-dark: #282828;
    --cs-text-white-dark: #3a3a3a;
    --cs-text-dropdown-dark: #282828;
    --cs-text-dark: #ffffff;
    --cs-bg-gray-dark: #282828;
    --cs-bg-white-dark: #3a3a3a;
    --cs-bg-dark: #ffffff;
    --cs-border-white-dark: #ffffff;
    --cs-bg-flatpickr-selected: #ffffff;
    --cs-text-flatpickr-selected: #000000;
    --cs-text-dark-white: #ffffff;
    --cs-bg-active-btn-dark-light: #ffffff;
    --cs-text-active-btn-dark-light: #000000;
    --comman-bg-color: #3a3a3a;
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* [theme-mode="dark"] .light-mode-img,
[theme-mode="light"] .dark-mode-img {
  display: none !important;
} */

p {
    font-size: 14px;
    font-weight: 400;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--cs-bg-gray-dark);
    height: 100%;
    z-index: -1;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: #55555508;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #88888821;
    border-radius: 10px;
}

.bg-bg-gray-dark,
/* .main-header, */
.month-menu {
    background-color: var(--cs-bg-gray-dark);
}

.hw-50 {
    width: 50px;
    height: 50px;
}

.hw-40 {
    width: 40px;
    height: 40px;
}

.hw-28 {
    width: 28px;
    height: 28px;
}

.hw-24 {
    width: 24px;
    height: 24px;
}

.hw-20 {
    width: 20px;
    height: 20px;
}

.p-45px {
    padding: 45px;
}

.height-75px {
    height: 75px;
}

.max-height-75px {
    max-height: 75px;
}

.min-height-85px {
    min-height: 85px;
}

.min-height-175px {
    min-height: 175px;
}

.max-height-175px {
    max-height: 175px;
}

.min-height-450px {
    min-height: 450px;
}

.max-height-450px {
    max-height: 450px;
}

.min-height-500px {
    min-height: 500px;
    max-height: 500px;
}

.rounded-15 {
    border-radius: 15px;
}

.flatpickr-calendar,
.rounded-10 {
    border-radius: 10px;
}

.rounded-pill {
    border-radius: 50%;
}

.bottom-10 {
    bottom: 10px;
}

.top-10 {
    top: 10px;
}

.end-10 {
    right: 10px;
}

.start-10 {
    left: 10px;
}

.start-12 {
    left: 12px;
}

.top-12 {
    top: 12px;
}

.end-12 {
    right: 12px;
}

.top-15 {
    top: 15px;
}

.end-15 {
    right: 15px;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-11 {
    font-size: 11px;
}

.z-index-9 {
    z-index: 9;
}

.fs-17 {
    font-size: 17px;
}

.fs-16 {
    font-size: 16px;
}

.fs-3px {
    font-size: 3px;
}

.sacle-05 {
    transform: scale(1.05);
}

.z-2 {
    z-index: 2;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.map-card {
    max-height: calc(100vh - 115px);
    min-height: 280px;
}

.main-header .header-link {
    background-color: var(--cs-bg-white-dark);
    padding: 10px;
}

.nav-menu {
    width: 320px;
    position: fixed;
    top: -5px;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.page-content {
    margin-left: 320px;
    margin-bottom: 20px;
    padding-right: 12px;
    padding-left: 12px;
}

.main-header {
    margin-left: 320px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
}

.accordion-body,
.banner-details .banner-link,
.card,
.dashboard-main-header .dashboard-header .header-link,
.flatpickr-calendar.inline,
.flatpickr-weekdays,
.offcanvas {
    background-color: var(--cs-bg-white-dark);
}

.nav-menu .nav-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--cs-bg-gray-dark);
}

.flatpickr-prev-month::after,
.flatpickr-prev-month::before {
    content: "";
    width: 28px;
    height: 28px;
    background-image: url(../images/icons/caretprevious.svg);
}

.accordion-button::after,
.banner-details .webcam-swiper,
.flatpickr-calendar .numInputWrapper,
.flatpickr-calendar::after,
.flatpickr-calendar::before,
.flatpickr-months .flatpickr-next-month svg,
.flatpickr-prev-month svg,
.leaflet-control-container,
.res-button-show,
[data-inline-date="true"],
[data-time-inline],
[theme-mode="dark"] .flatpickr-next-month::before,
[theme-mode="dark"] .flatpickr-prev-month::before {
    display: none;
}

.accordion-item {
    border: unset;
    background-color: unset;
}

.accordion-header .accordion-button {
    background-color: var(--cs-bg-white-dark);
    border-radius: 10px !important;
    color: var(--cs-text-dark);
    font-weight: 800;
    box-shadow: unset;
}

.accordion-header .accordion-button:focus .accordion-icon::before {
    transform: rotate(180deg);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button {
    height: 60px;
    transition: unset !important;
}

.accordion-button .accordion-div {
    background-color: var(--cs-bg-gray-dark);
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 19px;
}

.accordion-button .accordion-div img {
    text-align: center;
    transform: rotate(90deg) !important;
    transition: 0.4s;
}

.accordion-button-icon .accordion-button img {
    transform: rotate(268deg) !important;
}

.time-picker,
[theme-mode="dark"] .copied-modal .form-control:disabled {
    background: var(--cs-bg-white-dark);
}

.flatpickr-arrow-btn,
.time-picker .arrow-btn {
    background-color: var(--cs-bg-gray-dark);
    color: var(--cs-bg-dark);
    border: none;
    cursor: pointer;
    line-height: 10px;
}

.time-display {
    font-size: 14px;
    color: var(--cs-text-dark-white);
}

#next-time-display,
#prev-time-display {
    color: var(--cs-text-dark);
    opacity: 25%;
}

#time-display .hours,
#time-display .minutes {
    background-color: var(--cs-bg-gray-dark);
    border-radius: 5px;
    opacity: 1;
    color: var(--cs-text-dark);
}

.month-year-select:focus-visible {
    outline: transparent 0;
}

.month-year-select {
    background-color: transparent;
    border: 0 transparent;
    box-shadow: unset;
    color: var(--cs-text-dark);
    font-size: 14px;
    font-weight: 400;
}

.flatpickr-months {
    height: 60px;
    background-color: var(--cs-bg-white-dark);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid var(--cs-bg-gray-dark);
    align-items: center;
}

.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month {
    width: 28px;
    height: 28px;
    background-color: var(--cs-bg-gray-dark);
    border-radius: 50%;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    position: unset;
    margin-left: 16px;
}

.flatpickr-prev-month::before {
    background-repeat: no-repeat;
    background-position: center;
}

.flatpickr-prev-month::after {
    background-repeat: no-repeat;
    background-position: center;
    filter: invert();
    display: none;
}

.flatpickr-next-month::after,
.flatpickr-next-month::before {
    width: 28px;
    height: 28px;
    background-image: url(../images/icons/caretnext.svg);
    background-repeat: no-repeat;
    background-position: center;
    content: "";
}

.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
    width: 28px;
    height: 28px;
    background-color: var(--cs-bg-gray-dark);
    border-radius: 50%;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    position: unset;
    margin-right: 16px;
}

.flatpickr-next-month::after {
    filter: invert(1);
    display: none;
}

.snow-card .table > :not(caption) > * > *,
span.flatpickr-weekday {
    background-color: var(--cs-bg-white-dark);
    color: var(--cs-text-dark);
}

.flatpickr-current-month {
    background-color: var(--cs-bg-gray-dark);
    border-radius: 5px;
    color: var(--cs-text-dark);
    padding-top: 0;
    position: unset;
    line-height: 35px;
    width: unset;
}

.flatpickr-months .flatpickr-month,
.swiper.webcam-detail,
.timelapse-swiper {
    overflow: unset;
}

.flatpickr-day.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day.nextMonthDay:focus,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.today.inRange,
.flatpickr-day:focus,
.flatpickr-day:hover {
    background-color: var(--cs-bg-dark);
    color: var(--cs-text-white-dark);
    border: unset;
}

.flatpickr-calendar.inline
    .flatpickr-rContainer
    .flatpickr-days
    .dayContainer
    .flatpickr-day {
    max-width: 35px;
    max-height: 35px;
    min-height: 35px;
    min-width: 35px;
    border-radius: 50%;
    line-height: 35px;
}

.flatpickr-day.today:focus,
.flatpickr-day.today:hover {
    border: 1px solid var(--cs-border-light-dark);
    background-color: rgba(0, 0, 0, 0.16);
}

.flatpickr-day.today {
    border: 1px solid var(--cs-border-light-dark);
    background-color: transparent;
    color: var(--cs-text-dark) !important;
}

.flatpickr-calendar.inline .flatpickr-rContainer {
    padding: 15px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 400;
}

.flatpickr-calendar.arrowTop::after {
    border-color: transparent;
}

.flatpickr-day.endRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.endRange.nextMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.endRange:focus,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected,
.flatpickr-day.selected.inRange,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.startRange:focus,
.flatpickr-day.startRange:hover {
    background-color: var(--cs-bg-flatpickr-selected);
    border-color: var(--cs-bg-flatpickr-selected);
    color: var(--cs-text-flatpickr-selected) !important;
}

#chatForm button:hover {
    background-color: var(--cs-bg-dark);
}

.header-link .location-img {
    padding: 11px !important;
}

.banner-link p {
    font-size: 10px;
}

.banner-card-title h2 {
    color: var(--cs-text-dark);
    font-size: 20px;
}

.inner-map-card {
    top: 30px;
    left: 30px;
    max-width: 215px;
    width: 100%;
    z-index: 9999;
}

.map-section .inner-map-card img {
    height: 210px;
}

.filter-white {
    filter: invert(1);
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(38%)
        hue-rotate(254deg) brightness(110%) contrast(110%);
    -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(100%)
        saturate(38%) hue-rotate(254deg) brightness(110%) contrast(110%);
}

.web-button-show,
[theme-mode="dark"] .flatpickr-next-month::after,
[theme-mode="dark"] .flatpickr-prev-month::after {
    display: block;
}

.banner-details .swiper-slide {
    font-size: 18px;
    border-radius: 10px;
    height: fit-content;
    transition: 0.2s;
}

.banner-details .swiper-slide-active {
    box-shadow: 0 0 33px 0 #00000040;
    transform: scale(1.05);
}

.switch {
    display: inline-block;
}

.toggle-switch {
    background-color: var(--cs-bg-white-dark);
    border-radius: 10px;
    transition: 0.4s;
    padding: 10px;
}

input:checked + .toggle-switch {
    width: 50px;
    height: 50px;
    background-color: var(--cs-text-white-dark);
    border: 1px solid var(--cs-text-white-dark);
    border-radius: 10px;
}

.webcam-detail .swiper-slide {
    height: auto !important;
}

.timelapse-card {
    width: 120px;
    height: auto;
}

.timelapse-swiper .swiper-slide {
    width: auto;
    border-radius: 10px;
}

.timelapse-swiper .swiper-slide.active {
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

[theme-mode="dark"] .timelapse-swiper .swiper-slide.active {
    box-shadow: rgb(255 255 255 / 35%) 0 1px 15px;
}

.timelapse {
    height: 100%;
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
}

.timelapse-card-image {
    max-height: 78px;
}

.banner-link.active {
    background-color: var(--cs-bg-active-btn-dark-light);
    color: var(--cs-text-active-btn-dark-light);
}

.comment-offcanvas {
    z-index: 9999;
}

[theme-mode="dark"] .comment-offcanvas .offcanvas-footer button,
[theme-mode="light"] .banner-link.active p {
    color: #fff;
}

[theme-mode="dark"] .banner-link.active p {
    color: #000;
}

.banner-link.active img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(38%)
        hue-rotate(254deg) brightness(110%) contrast(110%);
}

[theme-mode="dark"] .banner-link.active img {
    /* filter: invert(1) !important; */
    filter: brightness(0) saturate(100%) invert(0%) sepia(4%) saturate(2%)
        hue-rotate(17deg) brightness(102%) contrast(99%);
}

.hm-spinner {
    height: 65px;
    width: 65px;
    border: 4px solid transparent;
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-radius: 50%;
    position: relative;
    -webkit-animation: 1.8s linear infinite spin;
    animation: 1.8s linear infinite spin;
}

.hm-spinner::before {
    content: "";
    position: absolute;
    top: 10px;
    color: #fff;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 4px solid transparent;
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-radius: 50%;
    -webkit-animation: 1s linear infinite spin;
    animation: 1s linear infinite spin;
}

.snow-card,
.temperature-card {
    border-radius: 10px;
    overflow: hidden;
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.bg-loader {
    background-color: #00000052;
}

[theme-mode="dark"]
    .flatpickr-current-month
    .numInputWrapper
    span.arrowUp:after {
    border-bottom-color: #fff;
}

[theme-mode="dark"]
    .flatpickr-current-month
    .numInputWrapper
    span.arrowDown:after {
    border-top-color: #fff;
}

.badge-soft-dark {
    background-color: var(--cs-badge-dark-light);
    color: #fff !important;
}

.show-more,
.temperature-card,
.temperature-card-modal {
    background-color: var(--cs-bg-white-dark);
}

.webcam-banner-detail-image {
    max-height: calc(100vh - 385px);
    /*max-width: 100%;*/
    /*width: 100%;*/
}

.min-height-230px {
    aspect-ratio: 4/3;
    object-position: left;
}

.shadow-bg:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0,
        rgba(122, 122, 122, 0) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.text-orange {
    color: orange !important;
}

.timelapse-coverliststicky .timelapse-card {
    margin-bottom: 10px;
    margin-right: 10px;
}

.timelapse-coverlistswiper {
    overflow: hidden;
}

.timelapse-listswiper-slide {
    padding: 0 0 0 14px;
    width: auto;
}

.timelapse-lis1card {
    margin: 0 10px 10px 0;
}

.timelapse-lis1card-col {
    margin-bottom: 10px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.temperature-card {
    width: 100%;
    height: 200px;
}

.temperature-card-modal {
    background-size: cover;
    background-image: url(../images/map1.png);
}

.temperature-fancybox {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 999;
}

.modal-content .modal-close-btn {
    position: absolute;
    right: -8px;
    background: var(--cs-bg-gray-dark);
    z-index: 999;
    top: -8px;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    text-align: center;
    line-height: 30px;
}

.modal-close-btn .btn-close {
    background-size: 10px 10px;
    background-position: center;
}

.snow-card {
    position: relative;
}

.show-more {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
    padding: 4px 0 6px;
}

.message-box,
.show-more-btn {
    background-color: var(--cs-bg-gray-dark);
}

.show-more-btn {
    border-radius: 5px;
    padding: 2px 10px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-spinner {
    height: 16px;
    width: 16px;
    border: 1px solid #00000000;
    border-top-color: #000;
    border-bottom-color: #000;
    border-radius: 50%;
    position: relative;
    -webkit-animation: 1.8s linear infinite spin;
    animation: 1.8s linear infinite spin;
}

.sm-spinner::before {
    content: "";
    position: absolute;
    top: 2px;
    color: #000;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 1px solid transparent;
    border-top-color: #000;
    border-bottom-color: #000;
    border-radius: 50%;
    -webkit-animation: 1s linear infinite spin;
    animation: 1s linear infinite spin;
}

::placeholder {
    font-size: 12px !important;
    color: #ffffff81 !important;
}

.messages-chat-content {
    padding: 5px 5px 5px 0;
    flex-grow: 1;
    overflow-y: auto;
    background-image: url("../images/chat-background-white.png");
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
}

[theme-mode="dark"] .messages-chat-content {
    background-image: url("../images/chat-background-black.png");
}

.messages-chat-content ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
}

.messages-chat-content li {
    clear: both;
    float: left;
    padding: 6px 10px 7px;
    background: #eee;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    border: 1px solid #ccc;
    margin: 5px 0;
    background-color: var(--cs-bg-gray-dark);
    color: var(--cs-text-dark);
}

.messages-chat-content li.message-sender {
    border-radius: 20px 20px 20px 0;
}

.messages-chat-content li.message-reciver {
    float: right;
    text-align: right;
    border-radius: 20px 20px 0;
}

.chat {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-title {
    border-bottom: 1px solid #ccc;
    color: #777;
    padding-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}

.chat-title h2 {
    font-size: 11px;
    letter-spacing: 1px;
}

.message-box {
    padding: 10px 10px 0;
    position: relative;
    border-radius: 20px;
    border: 1px solid #ccc;
    overflow: hidden;
}

.message-box .message-input {
    background: 0 0;
    border: none;
    outline: 0 !important;
    resize: none;
    font-size: 12px;
    width: 100%;
    height: 30px;
    max-height: 100px;
    overflow-y: auto;
    padding: 7px 5px 0;
}

.send-message-btn {
    display: block;
    background: #282828;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 15px;
    border-radius: 100%;
    border: 1px solid #282828;
}

.form-control {
    /* background-color: transparent; */
    color: var(--cs-text-dark);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 12px;
    height: 45px;
}

.send-message-btn svg {
    fill: var(--cs-text-dark);
}

.form-control:focus {
    border-color: unset;
    outline: 0;
    box-shadow: unset;
    background-color: transparent;
    color: var(--cs-text-dark);
}

[theme-mode="dark"] .chat-module-card button {
    background-color: var(--cs-bg-white-dark) !important;
}

.chat-module-card button svg {
    margin-top: -4px;
}

#chatForm button {
    color: var(--cs-text-dark);
    padding: 8px 20px;
    transition: 0.3s;
}

label {
    color: var(--cs-text-dark);
    font-weight: 500;
}

.form-control.name-chat-user {
    height: 40px;
}

#chatForm button:hover {
    color: var(--cs-bg-gray-dark);
}

.btn-close:focus {
    box-shadow: unset;
}

.offcanvas .offcanvas-title {
    color: var(--cs-text-dark);
    font-size: 16px;
}

[theme-mode="dark"] .btn-close {
    background-image: url(../images/icons/close.png);
}

.commnest-history p {
    font-size: 12px;
    word-break: break-word;
    margin-bottom: 0;
    color: grey;
    font-weight: 700;
}

.commnest-history .h6 {
    color: var(--cs-text-dark);
    font-size: 14px;
    font-weight: 800;
}

.commnest-history .d-flex span {
    color: var(--cs-text-dark);
    font-size: 10px;
    font-weight: 400;
}

#snackbar,
.close-icon,
.copied-button a.active {
    color: #fff;
}

.comments-module-card .commnest-history {
    max-height: 200px;
    overflow-y: auto;
}

.comments-module-card .card-header:first-child {
    border-radius: 15px 15px 0 0 !important;
    color: #fff;
}

[theme-mode="dark"] .copied-modal.modal-content,
[theme-mode="light"] .comments-module-card .card-header:first-child {
    background-color: #282828;
}

.commnest-history .border-bottom:last-child {
    border-bottom: unset !important;
    padding-bottom: 0 !important;
}

.commnest-history .border-bottom {
    border-bottom-width: 0.5px !important;
    border-bottom: 0.5px solid var(--cs-bg-gray-dark) !important;
}

.attechment-image-box {
    position: relative;
    text-align: center;
    padding: 10px;
    border: 1px dashed var(--cs-bg-active-btn-dark-light);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: 400px;
    margin: auto;
}

.close-icon,
.file-input-box {
    position: absolute;
    cursor: pointer;
}

.file-input-box {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

#previewContainer {
    position: relative;
    z-index: 99999;
}

#previewContainer img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
}

.close-icon {
    top: -4px;
    right: -7px;
    background: #ff5e57;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
}

.booking-card {
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 8px 5px;
    border-radius: 8px;
    z-index: 9;
}

.translate_controls .dropdown-item {
    text-align: center;
    display: flex;
    justify-content: center;
}

.btn.active,
.btn.show,
.btn:first-child:active,
.translate_controls .btn-check:checked + .btn,
:not(.btn-check) + .btn:active {
    border-color: var(--cs-badge-dark-light);
}

.dropdown-item:active,
.translate_controls .dropdown-item.active {
    background-color: transparent;
}

.translate_controls .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item:hover,
.translate_controls .dropdown-item:focus {
    background-color: unset;
}

.translate_controls .dropdown-toggle {
    z-index: 99;
    position: relative;
    padding: 1px 5px;
}

[theme-mode="dark"] .comment-offcanvas .dropdown-toggle,
[theme-mode="dark"] .comments-module-card .translate_controls .dropdown-toggle {
    background-color: #3a3a3a !important;
    border-color: rgba(0, 0, 0, 0.175);
}

.comments-module-card .translate_controls .dropdown-toggle {
    background-color: #282828 !important;
    border-color: rgba(0, 0, 0, 0.175);
}

.translate_controls .dropdown-menu {
    min-width: 58px !important;
    width: 58px !important;
    transition: opacity 0.3s, max-height 0.3s, transform 0.3s;
    padding: 0;
    z-index: 9;
}

.comment-offcanvas .dropdown-menu {
    background-color: var(--cs-text-dropdown-dark) !important;
}

.comments-module-card .translate_controls .dropdown-menu {
    background-color: var(--cs-text-dropdown-dark) !important;
    border-color: rgba(0, 0, 0, 0.175);
}

.copied-button a.active,
.copied-modal .form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.translate_controls .dropdown-toggle::after {
    border-top-color: var(--cs-badge-dark-light);
    border-bottom-color: var(--cs-badge-dark-light);
}

.responsive_loader {
    position: absolute;
    z-index: 9999;
    left: 0;
    right: 0;
    top: 50%;
}

.weze-content {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.weze-content img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

.user-letter-module span {
    height: 30px;
    width: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    font-weight: 600 !important;
    font-size: 12px !important;
}

#snackbar {
    visibility: hidden;
    background-color: #252323e6;
    text-align: center;
    border-radius: 2px;
    padding: 9px;
    position: absolute;
    z-index: 1;
    bottom: 62px;
    font-size: 13px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: 0.5s fadein, 0.5s 2.5s fadeout;
    animation: 0.5s fadein, 0.5s 2.5s fadeout;
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 62px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 62px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.copied-button .banner-link {
    border: 1.5px solid var(--cs-bg-gray-dark);
}

.copied-modal .modal-body {
    padding: 30px;
}

.copied-modal .form-check-input:focus {
    box-shadow: none;
    border-color: #000;
}

.copied-modal .btn-close {
    border-radius: 100%;
    background-size: 8px;
    background-color: #e9ecef;
    padding: 5px;
    opacity: 1;
}

.copied-modal .modal-header {
    position: absolute;
    right: 0;
    border: 0;
    z-index: 99;
}

.copied-button a {
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.input-group textarea {
    resize: none;
}

.modal-custom-backdrop:before {
    position: absolute;
    content: "";
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    background-color: var(--bs-backdrop-bg);
    opacity: 0.5;
}

/* [theme-mode="dark"] .copied-modal .banner-link.active img {
  filter: unset !important;
} */

[theme-mode="dark"] .copied-modal .btn-close {
    background-color: #3a3a3a;
}

[theme-mode="dark"] .copy-modal-btn {
    border-color: var(--cs-text-dark);
    color: var(--cs-text-dark);
}

.cursor-not-allowed {
    cursor: not-allowed;
}

[theme-mode="dark"] .placeholder-glow .placeholder {
    background-color: #343434;
    animation: 2s ease-in-out infinite placeholder-glow-dark;
}

@keyframes placeholder-glow-dark {
    50% {
        opacity: 0.8;
    }
}

@media (min-width: 767px) {
    .map-md {
        display: none;
    }

    .map-md-btn {
        display: none !important;
    }

    /* .nav-header {
        height: 100px;
    } */
}

@media (max-width: 767px) {
    .banner-details .webcam-card,
    .map-lg-btn,
    .web-button-show {
        display: none !important;
    }

    .dashboard-main-header .dashboard-header .header-link,
    .main-header .header-link {
        background-color: var(--cs-bg-white-dark);
    }

    .main-header .header-link {
        color: var(--cs-text-dark);
        padding: 10px;
    }

    .nav-menu {
        height: 100vh;
        top: 0;
        bottom: 0;
    }

    .page-content {
        height: 100%;
        max-height: 100%;
    }

    .dashboard-header,
    .back-button,
    .nav-menu .nav-header,
    .navbar-hide,
    .timelapse-swiper-main-card {
        display: none;
    }

    .nav-menu {
        width: 100%;
        position: unset;
        height: unset;
        overflow: unset;
        padding-top: unset;
    }

    .nav-menu.timelapse {
        max-height: unset !important;
    }

    .page-content {
        margin-left: 0;
    }

    .banner-card-title h2 {
        font-size: 14px;
    }

    .banner-card-text p {
        font-size: 12px;
    }

    .responsive-timelapse-card.timelapse-swiper-main-card {
        position: unset !important;
    }

    .res-button-show {
        display: block !important;
    }

    .banner-details .webcam-swiper,
    .main-header .dashboard-nav-header,
    .main-nav-header .navbar-brand {
        display: block;
    }

    .main-page-content {
        display: flex;
        flex-direction: column;
    }

    .nav-menu .nav-body {
        padding-top: 100px;
    }

    .page-content.timelapseShow.detailContent {
        padding-top: 62px;
        max-height: unset !important;
        order: 1;
    }

    .banner-details,
    .detail-page.nav-menu .nav-body,
    .page-content {
        padding-top: 0;
    }

    .webcam-detail-img {
        height: 270px;
        object-position: top;
    }

    .min-height-230px {
        aspect-ratio: 1/1;
    }

    .banner-details .back-button {
        display: none;
    }

    .header-sidebar-wrapper {
        order: 2;
    }

    .main-nav-header {
        padding: 10px 0;
    }

    .main-header {
        margin-left: unset;
        background: linear-gradient(
            90.13deg,
            #18383e -2.65%,
            #284546 27.15%,
            #2a4443 56.26%,
            #2a3f3c 79.55%,
            #293d3a 102.94%
        );
    }

    [theme-mode="light"] .main-header {
        background: linear-gradient(
            90.43deg,
            #74949a -8.87%,
            #739298 21.1%,
            #728d90 51.8%,
            #7f938c 78.19%,
            #7e9393 103.88%
        );
    }

    body::after {
        top: 100px !important;
    }

    .headerMap {
        display: none;
    }

    .block-btn-categoryBtn {
        display: block !important;
    }
}

@media (max-width: 425px) {
    .webcam-detail-img {
        height: 210px;
        object-position: top;
    }
}

@media (min-width: 768px) {
    html {
        overscroll-behavior: none;
    }

    .page-content {
        position: fixed;
        width: calc(100% - 320px);
        top: 103px;
        bottom: 0;
        overflow-y: auto;
        right: 0;
        z-index: 999;
    }

    .main-header .main-nav-header {
        position: absolute;
        left: -304px;
        top: 17px;
    }
}

@media (min-width: 1024px) {
    .quote-width {
        width: 100%;
    }

    .quote-page-spacing.page-content.timelapseShow {
        padding-top: 0;
    }

    .quote-header-res #bookingCountData,
    .quote-header-res label.switch,
    .quote-header-res .headerClock,
    .quote-header-res .categoryBtn {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .quote-wrapper .quotes-details {
        display: none;
    }

    .quotes-details-wrapper {
        display: block !important;
    }
}

.quotes-details-wrapper {
    background: var(--cs-bg-white-dark);
    text-align: center;
}

.quotes-details-wrapper p {
    font-size: 13px;
    color: var(--cs-text-dark) !important;
}

.header-categoryBtn-btn {
    display: none;
}

.headerClock {
    display: none;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Helvetica,
        Arial, sans-serif;
    background-color: #003580;
    color: #fff;
    border-radius: 20% 20% 20% 0;
    user-select: none;
    font-weight: unset;
}

.clickable {
    cursor: pointer;
}

.logo-wrapper {
    width: 80%;
}

.booking-count-badge.badge {
    --bs-badge-padding-x: 0 !important;
    --bs-badge-padding-y: 0 !important;
    --bs-badge-font-size: unset !important;
    --bs-badge-font-weight: unset !important;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    inset: 0;
    background: url("../images/sumava-dark-1.webp") center/cover no-repeat;
    z-index: -1;
    will-change: opacity;
}

[theme-mode="light"] body::after {
    background: url("../images/sumava-light-1.webp") center/cover no-repeat;
}

.quotes-details p {
    font-size: 14px;
    font-style: italic;
    line-height: 25px;
    font-weight: 500;
}

#quote {
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.flip-container {
    perspective: 1200px;
    width: 80px;
    height: 80px;
    position: relative;
}

.flip-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease-in-out;
}

.flip-container.flip .flip-card {
    transform: rotateY(360deg);
}

.flip-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: opacity 0.5s;
}

.flip-card img.back {
    transform: rotateY(180deg);
}

.main-page-content {
    height: 100%;
}

.nav-menu .nav-body {
    overflow-y: auto;
}

.nav-menu {
    border-right: 2px solid #88888821;
}

.nav-menu .nav-body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.nav-menu .nav-body::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.dark-mode-img {
    display: none !important;
}

.light-mode-img {
    display: block;
}

[theme-mode="dark"] .light-mode-img {
    filter: brightness(0) saturate(100%) invert(99%) sepia(79%) saturate(48%)
        hue-rotate(190deg) brightness(116%) contrast(100%);
}

[theme-mode="dark"] .toggle-switch .dark-mode-img {
    display: block !important;
}

[theme-mode="light"] .toggle-switch .light-mode-img {
    display: block !important;
}

[theme-mode="dark"] .toggle-switch .light-mode-img {
    display: none !important;
}

[theme-mode="light"] .toggle-switch .dark-mode-img {
    display: none !important;
}

.timelapseImagePath,
.back-button .arrow-btn .light-mode-img,
.header-camera img,
.res-details-image .light-mode-img,
.timelapse-card-image {
    filter: unset !important;
}

.back-button a {
    color: #272727;
    font-size: 14px;
}

.back-button .arrow-btn {
    background-color: #272727;
}

/* 11/12/2025  */
:root {
    --cs-bg-card: rgba(255, 255, 255, 0.06);
}

[theme-mode="dark"] {
    --cs-bg-card: rgba(0, 0, 0, 0.4);
}

/* -----------------------------
           GLOBAL STYLES
------------------------------*/

.category-card {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    padding: 12px;
    /* background: var(--cs-bg-card); */
    background: var(--cs-bg-white-dark);
    /* backdrop-filter: blur(10px); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.category-badge {
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 7px;
    text-transform: uppercase;
    border-radius: 20px;
    width: fit-content;
}

.category-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--cs-text-dark);
}

.category-desc {
    color: #ffffff;
    font-size: 13px;
    opacity: 70%;
    font-weight: 400;
    /* height: 40px; */
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* ICON ROW */
.icons {
    position: absolute;
    bottom: 14px;
    right: 0;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: 0.35s ease;
    top: 0;
    z-index: 999;
}

.category-card:hover .icons {
    opacity: 1;
    transform: translateY(0);
}

[theme-mode="light"] .category-card:hover .icons .icon-btn path {
    fill: #3a3a3a;
}

/* NEW PREMIUM ICON BUTTON STYLE */
.icon-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    transition: 0.35s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.icon-btn svg {
    width: 15px;
    height: 15px;
    fill: white;
    transition: 0.35s ease;
}

/*.icon-btn:hover {*/
/*    transform: translateY(-4px) scale(1.15);*/
/*    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);*/
/*}*/

/* .icon-btn.youtube {
  background: linear-gradient(135deg, #ff3b3b, #c40000);
}

.icon-btn.fb {
  background: linear-gradient(135deg, #1877f2, #0c4ec0);
}

.icon-btn.tw {
  background: linear-gradient(135deg, #1da1f2, #0d8bd8);
} */

/* Dark Mode Adjustments */
.icon-btn {
    background: rgba(255, 255, 255, 0.12);
}

/*.icon-btn:hover {*/
/*    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);*/
/*}*/

/*[theme-mode="dark"] .icon-btn {*/
/*    background: rgba(255, 255, 255, 0.12);*/
/*}*/

/*[theme-mode="dark"] .icon-btn:hover {*/
/*    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);*/
/*}*/

/* MAIN OVERLAY */
.main-card .category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.65)
    );
}

/* SUB OVERLAY */
.sub-card .category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.35)
    );
}

/* TEXT AREA */
.category-content {
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
}

/* BADGE */
.sub-card .category-badge {
    background: rgba(255, 255, 255, 0.18);
}

.main-card .category-badge {
    /* background: rgba(255, 255, 255, 0.2); */
    background: var(--cat-color);
    border: 1px solid var(--cat-color);
    color: #fff;
    backdrop-filter: blur(5px);
}

.category-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*opacity: 0.1;*/
    /*filter: brightness(1.5) saturate(0.8) blur(1px);*/
    transition: 0.35s ease-in-out;
}

[theme-mode="light"] .category-bg img {
    /*opacity: 0.3;*/
}

.category-bg {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    top: 0;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
}

.category-card:hover .category-bg img {
    /*opacity: 0.35;*/
    /*transform: scale(1.05);*/
}

[theme-mode="light"] .category-card:hover .category-bg img {
    /*opacity: 0.5;*/
    /*transform: scale(1.05);*/
}

/* auth  */

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    color: white;
    position: relative;
    overflow: hidden;
}

.glass-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    z-index: -1;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--cs-bg-dark);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Form Styles */
.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Password Visibility Toggle */
.password-toggle {
    cursor: pointer;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: white;
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    /* background: var(--primary-gradient); */
    background: #48494c;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--cs-text-active-btn-dark-light) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
} */

/* Links */
.auth-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glass-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .auth-header h1 {
        font-size: 2rem;
    }
}

/* Animation for form elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-container {
    animation: fadeIn 0.5s ease-out;
}

.form-group {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.form-group:nth-child(5) {
    animation-delay: 0.5s;
}

.main-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-link {
    color: var(--yt-red);
    cursor: pointer;
    font-weight: 600;
}

.popular-feed .recommendation-thumbnail {
    width: 100px;
    height: 94px;
}

.popular-feed .recommendation-item {
    background: var(--yt-card-dark);
    border-left: 3px solid var(--yt-red);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: var(--cs-text-dark);
}

/* Profile Header */
.profile-header {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.profile-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--glass-border);
}

.online-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--glass-bg);
}

.online-status.online {
    background: #4cd964;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 217, 100, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 217, 100, 0);
    }
}

.btn-change-photo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: 2px solid var(--glass-bg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-name {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--cs-text-dark);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--cs-text-dark);
    opacity: 0.8;
    margin-bottom: 10px;
}

/* Profile Actions */
.profile-actions .btn {
    padding: 12px 15px;
    border-radius: 12px;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--cs-text-dark);
}

.btn-edit-profile {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white;
    border: none;
}

.btn-edit-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-change-password {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--cs-text-dark);
    border: 1px solid var(--glass-border);
}

.btn-change-password:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-logout {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white !important;
    border: none;
}

.btn-logout:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
}

/* Video Note Card */
.video-note-card {
    position: relative;
    overflow: hidden;
}

.video-note-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
}

.video-note-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.video-note-thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.video-note-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-note-title {
    font-weight: 600;
    color: var(--cs-text-dark);
    margin-bottom: 5px;
    font-size: 14px;
}

.video-note-actions {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-note-card:hover .video-note-actions {
    opacity: 1;
}

.video-note-content {
    padding: 20px;
}

.video-note-preview {
    color: var(--cs-text-dark);
    opacity: 0.9;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Empty State */
.empty-state {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

/* Modal Styles */
.glass-modal .modal-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--cs-text-dark);
}

.glass-modal .modal-header {
    border-bottom: 1px solid var(--glass-border);
}

.glass-modal .modal-footer {
    border-top: 1px solid var(--glass-border);
}

.note-actions {
    display: flex;
    align-items: center;
}

/* Base style */
.note-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.12);
    color: var(--cs-text-dark);
    transition: 0.25s;
    cursor: pointer;
}

[theme-mode="dark"] .note-btn {
    background: rgba(0, 0, 0, 0.35);
}

/* Hover animation */
.note-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

/* Icons */
.note-btn i {
    font-size: 14px;
}

/* Edit Button */
.note-btn.edit {
    color: #2575fc;
    border-color: #2575fc30;
}

.note-btn.edit:hover {
    background: #2575fc20;
    box-shadow: 0 8px 20px #2575fc40;
}

/* Delete Button */
.note-btn.delete {
    color: #ff4b2b;
    border-color: #ff4b2b30;
}

.note-btn.delete:hover {
    background: #ff4b2b25;
    box-shadow: 0 8px 20px #ff4b2b40;
}

/* Category Colors */
.bg-learning {
    background: #6a11cb !important;
}

.bg-ideas {
    background: #2575fc !important;
}

.bg-tutorial {
    background: #f093fb !important;
}

.bg-review {
    background: #f5576c !important;
}

.bg-other {
    background: #43e97b !important;
}

/* story  */

.btn-instagram {
    background: var(--insta-gradient);
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    color: white;
}

.btn-instagram:hover {
    opacity: 0.9;
    color: white;
}

.btn-outline-instagram {
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    padding: 8px 20px;
    color: #262626;
}

.story-item {
    text-align: center;
    width: 70px;
}

.story-username {
    font-size: 11px;
    color: var(--cs-text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
}

.add-story-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fafafa;
    border: 2px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    cursor: pointer;
}

.add-story-btn:hover {
    border-color: #833ab4;
}

.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.story-viewer {
    width: 100%;
    max-width: 400px;
    height: 85vh;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: black;
}

.story-progress {
    display: flex;
    gap: 4px;
    position: absolute;
    top: 10px;
    width: calc(100% - 32px);
    left: 16px;
}

.progress-bar {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    flex-grow: 1;
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: white;
    transition: width 0.1s linear;
}

.story-user {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    padding: 16px;
}

.story-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid transparent;
    background: var(--insta-gradient);
    padding: 2px;
}

.story-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.story-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-content img,
.story-content video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.story-nav {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    cursor: pointer;
    z-index: 5;
}

.story-nav.prev {
    left: 0;
}

.story-nav.next {
    right: 0;
}

.story-nav:hover::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.story-nav.prev:hover::after {
    left: 20px;
    content: "‹";
}

.story-nav.next:hover::after {
    right: 20px;
    content: "›";
}

.story-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    background: #3c3838;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-controls {
    position: absolute;
    top: 16px;
    right: 60px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.story-control-btn {
    background: #3c3838;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload-area {
    border: 2px dashed #dbdbdb;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    margin: 20px 0;
}

.preview-container {
    margin-top: 20px;
    text-align: center;
}

.story-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: none;
}

.youtube-preview {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    background: #000;
    display: none;
    position: relative;
}

.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.seen-story .story-avatar {
    background: #dbdbdb;
}

@media (max-width: 768px) {
    .story-viewer {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .story-nav {
        width: 80px;
    }
}

.stories-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 2px;
    background: var(--insta-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.story-ring img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.story-you {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    /*border: 2px dashed #aaa;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    position: relative;
}

.story-you .add {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #0095f6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: bold;
    border: 2px solid white;
    cursor: pointer;
}

.story-you img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.storiesList {
    display: flex;
    gap: 10px;
}

/* new  */
.btn-instagram {
    background: var(--insta-gradient);
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    color: white;
}

.btn-instagram:hover {
    opacity: 0.9;
    color: white;
}

.stories-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 10px;
}

.story-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-nav {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    cursor: pointer;
    z-index: 5;
}

.story-nav.prev {
    left: 0;
}

.story-nav.next {
    right: 0;
}

.story-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-controls {
    position: absolute;
    top: 16px;
    right: 60px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.story-control-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.story-control-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* .upload-area {
            border: 2px dashed #dbdbdb;
            border-radius: 8px;
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            margin: 20px 0;
        }

        .upload-area:hover {
            border-color: #833AB4;
        } */

.preview-container {
    margin-top: 20px;
    text-align: center;
}

.story-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin: 0 auto 15px;
    display: none;
}

.video-preview {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    display: none;
}

.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.instagram-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    background: linear-gradient(
        45deg,
        #405de6,
        #5851db,
        #833ab4,
        #c13584,
        #e1306c,
        #fd1d1d
    );
}

.tiktok-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    background: linear-gradient(
        45deg,
        var(--tiktok-black) 0%,
        var(--tiktok-pink) 50%,
        var(--tiktok-blue) 100%
    );
}

.video-source-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.seen-story .story-ring {
    background: #dbdbdb;
}

@media (max-width: 768px) {
    .story-viewer {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .story-nav {
        width: 80px;
    }
}

.video-preview-card {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.watch-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.watch-btn:hover {
    transform: translateX(-50%) scale(1.05);
    color: #000;
}

.modal-content {
    border-radius: 16px;
    overflow: hidden;
}

/* .search-overlay {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 420px;
    z-index: 100;
} */

.search-panel {
   background: var(--yt-card-dark);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 10px;
    color: #fff;
}

/* INPUT */
.search-input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    /*margin-bottom: 20px;*/
}

/* SECTIONS */
.search-section {
    margin-bottom: 22px;
}

.search-section h6 {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 12px;
}

/* SUGGESTED LIST */
.search-list li {
       padding: 6px 6px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;

}

.search-list li:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* TAGS */
.search-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.search-tags span {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    cursor: pointer;
}

/* VIEW ALL */
.view-all-btn {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

 .send-btn {
    position: absolute;
    right: 0px;
    top: 0px;
    /* transform: translateY(-50%); */
}
.reply-box {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.reply-input-wrapper {
    flex: 1;
}

.reply-textarea {
    width: 100%;
    resize: none;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
    min-height: 100px !important;
}

.reply-actions {
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 10px;
}

.search-input-button{
    background: var(--yt-card-dark);
    border: none;
    color: var(--yt-text-secondary);
    padding: 6px 12px;
    border-radius: 18px;
    /* display: flex; */
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    height: 45px;
    width: 45px;
}

.search-button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.shimmer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* transparent base */
  border-radius: 6px;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% { left: 100%; }
}

/* sizes */
.shimmer-thumb {
  width: 120px;
  height: 80px;
}

.shimmer-line {
  height: 12px;
  margin-bottom: 8px;
}


.shimmer-line.w-60 { width: 60%; }
.shimmer-line.w-80 { width: 80%; }
.shimmer-line.w-100 { width: 100%; }

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.4);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.story-header {
    position: absolute;
    top: 20px;
    left: 15px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    z-index: 2;
}

.story-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    /*border: 2px solid transparent;*/
    background: var(--insta-gradient);
    padding: 2px;
}

.story-avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.add-story-modal ul{
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.add-story-modal .nav-tabs .nav-link.active{
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-tabs .nav-link:hover {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.add-story-modal .nav-link{
    color: #fff;
}

.story-you.has-story {
    /*border: 3px solid #ff004f;*/
    padding: 3px;
    border-radius: 50%;
    background: var(--insta-gradient);
}
.add-story-plus{
    margin-top: -2px;
    margin-right: -1px;
}
.view-story-user{
    border: 2px solid #aaa;
}
.no-user-seen-story{
    border: 2px dashed #aaa;
}
.search-tags.collapsed .category-item:nth-child(n+7) {
    display: none;
}

#toggleCategories {
    cursor: pointer;
    color: var(--yt-text-primary);
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: var(--yt-text-primary);
}
.no-data-box {
    transition: 0.3s ease;
    color: var(--yt-text-primary);
    border: 1px solid var(--yt-border-dark);
}

.no-data-box h6{
    color: var(--yt-text-primary);
}


/* Add position relative to the button container */
.col-xxl-10.col-lg-9.col-xl-9.col-md-6.col-6.p-1.position-relative {
    position: relative !important;
    overflow: visible !important;
}

/* Fix scroll wrapper */
.sub-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sub-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.sub-item {
    width: 260px;
    flex: 0 0 auto;
    display: inline-block;
    float: none;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.prev-btn {
    left: -5px;
}

.next-btn {
    right: -5px;
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .sub-item {
        min-width: 180px;
    }
}
