@font-face {
    font-family: "MTN Brighter Sans Regular";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Regular.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "MTN Brighter Sans Bold";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Bold.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

@font-face {
    font-family: "MTN Brighter Sans Medium";
    src: url("../../fonts/MTN\ Brighter\ Sans\ Medium.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

:root {
    --fontRegular: "MTN Brighter Sans Regular";
    --fontMedium: "MTN Brighter Sans Medium";
    --fontBold: "MTN Brighter Sans Bold";
    --primaryColor: #ffcc00;
    --thickGrey: #f5f2eb;
    --greyColor: #8e8e93;
    --blackColor: #000000;
    --borderColor: #c7c7cc;
    --whiteColor: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fontRegular);
}

/* =================================== APP LAYOUT ======================== */
.app-container {
    display: flex;
    height: 100vh;
    position: relative;
}

.app-top-image {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.app-top-image img:first-child {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.app-top-image img:last-child {
    width: 100%;
    height: 100%;
    display: none;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .app-top-image img:first-child {
        width: 100%;
        height: 100%;
        display: none;
        object-fit: cover;
    }

    .app-top-image img:last-child {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
}

/* -----------------------app sidebar------------------------ */
.app-sidebar {
    width: 240px;
    height: 100vh;
    padding: 1.5rem 1rem;
    color: var(--whiteColor);
    background-color: var(--blackColor);
    display: flex;
    flex-direction: column;
    transition:
        margin-left 0.3s ease,
        transform 0.3s ease;
    z-index: 100;
}

.admin-sidebar {
    width: 240px;
    height: 100vh;
    padding: 1.5rem 1rem;
    color: var(--whiteColor);
    background-color: var(--blackColor);
    display: flex;
    flex-direction: column;
}

/* Initially hidden on desktop as per request */
@media screen and (min-width: 769px) {
    .app-sidebar {
        margin-left: -240px;
    }

    .sidebar-visible .app-sidebar {
        margin-left: 0;
    }
}

.sidebar-header {
    margin-bottom: 2rem;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    width: 120px;
}

.sidebar-divider {
    border: 0;
    border-top: 1px solid #333;
    opacity: 0.5;
}

.sidebar-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar */
.sidebar-scroll-area::-webkit-scrollbar,
.app-body::-webkit-scrollbar {
    width: 4px;
}

.sidebar-scroll-area::-webkit-scrollbar-track,
.app-body::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll-area::-webkit-scrollbar-thumb,
.app-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.sidebar-title {
    font-size: 10px;
    color: #8e8e93;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.search-box-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8e8e93;
    font-size: 14px;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border-radius: 30px;
    border: 1.5px solid #333;
    background: transparent;
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primaryColor);
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    background: #1c1c1e;
    text-decoration: none;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.menu-item:hover {
    background: #2c2c2e;
}

.menu-item .left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-family: var(--fontRegular);
}

.admin-menu .menu-item .left {
    font-size: 12px;
    text-decoration: none;
    color: #fff;
}

.menu-item .left svg {
    height: 20px;
    width: 20px;
}

.menu-item .arrow {
    color: #8e8e93;
    font-size: 12px;
    transition: transform 0.3s;
}

.menu .hot-news-item {
    background: #2c2c2e;
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 20px;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    align-items: center;
}

.menu .hot-news-badge {
    color: #ffcc00;
    font-weight: 700;
    font-size: 0.85rem;
}

.dropdown {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.dropdown.active {
    border: 1px solid var(--primaryColor);
    background: transparent;
    margin-bottom: 5px;
}

.dropdown.active .menu-item {
    background: transparent;
    border-color: transparent;
}

.dropdown.active .menu-item .left {
    color: var(--primaryColor);
}

.dropdown.active .menu-item .left svg {
    color: var(--primaryColor);
}

.dropdown.active .arrow {
    color: var(--primaryColor);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 50px;
    background: transparent;
}

.dropdown.active .submenu {
    max-height: 500px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.submenu-item {
    font-size: 14px;
    padding: 8px 0;
    cursor: pointer;
    color: #8e8e93;
    transition: 0.2s;
    text-decoration: none;
    color: #fff;
    position: relative;
}

.submenu-item::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: inherit;
}

.submenu-item:hover {
    color: #fff;
}

.submenu-item.active {
    color: var(--primaryColor);
    font-weight: bold;
}

.sidebar-footer {
    margin-top: 1rem;
}

.bottom-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-btn,
.report-btn {
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-btn {
    border: 1.5px dashed #333;
    color: #8e8e93;
    text-decoration: none;
}

.faq-btn:hover {
    border-color: #555;
    color: #fff;
    background: #1c1c1e;
}

.report-btn {
    border: 1.5px dashed #441111;
    color: #ff453a;
}

.report-btn:hover {
    background: rgba(255, 69, 58, 0.1);
    border-color: #ff453a;
}

.faq-btn i,
.report-btn i {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .app-sidebar {
        display: none;
    }

    .admin-sidebar {
        display: none;
    }
}

/* --------- app content --------- */
.app-content {
    flex: 1;
    display: flex;
    overflow-y: scroll;
    position: relative;
    background-color: #ffffff80;
    backdrop-filter: blur(40px);
}

.desktop-header {
    padding: 1.5rem;
    gap: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Changed to accommodate toggle btn */
    background-color: #ffffff80;
    backdrop-filter: blur(40px);
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--blackColor);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.sidebar-toggle-btn:hover {
    color: var(--primaryColor);
}

.app-header-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff80;
    backdrop-filter: blur(40px);
    border: 1px solid var(--borderColor);
    padding: 0.5rem 1rem;
    color: var(--greyColor);
    width: 40%;
    border-radius: 40px;
    cursor: text;
}

.app-header-search-bar input {
    border: none;
    outline: none;
    width: 100%;
    background-color: transparent;
}

.app-header-language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff80;
    backdrop-filter: blur(40px);
    border: 1px solid var(--borderColor);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
}

.app-header-language-selector select {
    border: none;
    outline: none;
    padding: 0;
    color: var(--greyColor);
    background-color: transparent;
}

.mobile-header {
    display: none;
}

.bottom-mobile-header .categories-container .catergory-item span {
    font-size: 15px;
    color: #f5f2eb;
}

@media screen and (max-width: 768px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
        background-color: #212121;
        color: #fff;
        border-radius: 0 0 12px 12px;
        padding: 0 0.5rem;
    }

    .top-mobile-header {
        display: flex;
        align-items: center;
        gap: 2rem;
        justify-content: space-between;
        border-bottom: 1px solid #c7c7cc;
        margin-bottom: 10px;
    }

    .top-mobile-header .logo img {
        height: 60px;
    }

    .top-mobile-header .manage-service {
        box-shadow: 0px 5px 10px 0px #f2dc501a;
        box-shadow: 0px 18px 18px 0px #f2dc5017;
        box-shadow: 0px 113px 32px 0px #f2dc5000;
        border-radius: 20px;
        padding: 0.5rem;
        color: var(--blackColor);
        background-color: var(--primaryColor);
        outline: none;
        border: none;
        font-family: var(--fontBold);
    }

    .top-mobile-header .mobile-header-right {
        display: flex;
        align-items: center;
        justify-content: right;
        gap: 0.5rem;
        /* border: 1px solid red; */
    }

    .app-header-search-bar {
        background-color: transparent;
        padding: 0.4rem;
        gap: 2px;
    }

    .app-header-search-bar input {
        color: #fff;
    }

    .top-mobile-header .language-selector {
        background-color: #00000033;
        border-radius: 20px;
        border: 1px solid #fff;
        padding: 0 5px;
    }

    .top-mobile-header .language-selector select {
        background-color: transparent;
        outline: none;
        border: none;
        color: #fff;
    }

    .bottom-mobile-header {
        display: flex;
        flex-direction: column;
        /* gap: 12px; */
        padding-bottom: 1rem;
    }

    .bottom-mobile-header .categories-container {
        display: flex;
        align-items: center;
        /* border: 2px solid red; */
        padding: 0 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .bottom-mobile-header .categories-container::-webkit-scrollbar {
        display: none;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 5px;
    }

    .bottom-mobile-header .categories-container .category-only {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 80%;
        max-width: 100%;
        overflow-x: scroll;
    }

    .bottom-mobile-header
        .categories-container
        .category-only::-webkit-scrollbar {
        display: none;
    }

    .bottom-mobile-header
        .categories-container
        .category-only::-webkit-scrollbar-track {
        display: none;
    }

    .bottom-mobile-header .categories-container .catergory-item {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #f5f2eb;
        border-radius: 30px;
        padding: 8px 20px;
        backdrop-filter: blur(30px);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 10px (255, 255, 255, 0.05);
        scroll-snap-align: start;
    }

    .bottom-mobile-header .categories-container .catergory-item svg {
        width: 18px;
        height: 18px;
    }

    .bottom-mobile-header .categories-container .catergory-item.active {
        border: 2px solid var(--primaryColor);
    }

    .bottom-mobile-header .categories-container .catergory-item.active span {
        color: var(--primaryColor);
    }

    .bottom-mobile-header .categories-container .catergory-item.active svg {
        color: var(--primaryColor);
    }

    .bottom-mobile-header .categories-container .catergory-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #f5f2eb;
        width: 20%;
        border-radius: 30px;
        padding: 8px 20px;
        backdrop-filter: blur(30px);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 10px (255, 255, 255, 0.05);
    }

    .subcatergory-container {
        display: flex;
        gap: 10px;
        align-items: center;
        max-width: 100%;
        overflow-x: auto;
        padding: 0 1rem 0.5rem 1rem;
    }

    .subcatergory-container::-webkit-scrollbar {
        display: none;
    }

    .subcatergory-container::-webkit-scrollbar-track {
        display: none;
    }

    .subcatergory-container .subcatergory-item {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        text-wrap: nowrap;
        border-radius: 20px;
        font-size: 13px;
        padding: 10px;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.05);
    }

    .subcatergory-container .subcatergory-item.active {
        border: 2px solid var(--primaryColor);
        color: var(--primaryColor);
    }

    .bottom-mobile-header .categories-container .catergory-item svg,
    .bottom-mobile-header .categories-container .catergory-menu svg {
        width: 18px;
        height: 18px;
    }
}

/* ----------------------------app body ---------------- */
.app-body {
    flex: 1;
    position: relative;
    overflow-y: auto;
    background-color: #f8f9fa;
}

/* 
.app-body::-webkit-scrollbar{
    display: none;
}

.app-body::-webkit-scrollbar-track{
    display: none;
}

.app-body::-webkit-scrollbar-thumb{
    display: none;
} */

.body {
    padding: 1.5rem 2rem;
}

.dashboard-categories-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.categories-list {
    display: flex;
    gap: 5px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
}

.categories-list::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid #e5e5ea;
    background: #ffffff26;
    color: var(--greyColor);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn svg {
    height: 14px;
    width: 14px;
}

.category-btn svg path {
    fill: var(--greyColor) !important;
}

.category-btn:hover {
    background: #f2f2f7;
}

.category-btn.active {
    background: #000;
    color: var(--primaryColor);
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-btn.active svg path {
    fill: var(--primaryColor) !important;
}

.manage-services-btn {
    padding: 12px 24px;
    border-radius: 30px;
    background: var(--primaryColor);
    color: #000;
    border: none;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
    transition: transform 0.3s;
}

.manage-services-btn:hover {
    transform: scale(1.05);
}

.dashboard-header {
    margin-bottom: 2.5rem;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
}

.dashboard-header h1 span {
    color: var(--primaryColor);
    position: relative;
}

.dashboard-header p {
    color: #8e8e93;
    font-size: 0.9rem;
    max-width: 600px;
}

/* Promotions Slider */
.promotions-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primaryColor);
}

.slider-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e5ea;
    background: #fff;
    color: #1c1c1e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.control-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.slider-container {
    overflow-x: auto;
    border-radius: 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.slider-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari/Webkit */
}

.slider-track {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.5s ease;
}

.promo-card,
strong .promo-card {
    border-radius: 20px;
    padding: 1rem;
    color: #fff;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 260px;
    overflow: hidden;
    scroll-snap-align: start;
}

.promo-card.large,
strong .promo-card.large {
    min-width: 48%;
    max-width: 48%;
}

.promo-card.medium,
strong .promo-card.medium {
    min-width: 24%;
    max-width: 24%;
}

.promo-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 24%;
    max-width: 24%;
    scroll-snap-align: start;
}

.promo-card.small,
strong .promo-card.small {
    height: 120px;
    padding: 1rem;
    min-width: 100% !important;
}

.promo-internal-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    pointer-events: none;
}

.promo-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    border: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.3s;
}

.promo-arrow:hover {
    background: rgba(255, 255, 255, 0.8);
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-card.small .promo-content h3,
strong .promo-card.small .promo-content h3 {
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
    .promo-content h3 {
        font-size: 1rem;
    }

    .promo-content p {
        font-size: 0.75rem;
    }

    .event-meta-info .meta-item span {
        font-size: 0.8rem;
    }

    .detail-section-title {
        margin-bottom: 1rem !important;
    }

    .service-detail-section {
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .promo-card.small {
        height: 100%;
    }
}

.promo-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    max-width: 90%;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.promo-card.small .promo-content p,
strong .promo-card.small .promo-content {
    font-size: 0.75rem;
}

.indicator-wrapper {
    display: none;
}

@media screen and (max-width: 768px) {
    .indicator-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        gap: 8px;
        align-items: center;
    }

    .indicator {
        width: 22px;
        height: 6px;
        border-radius: 10px;
        background: #d3d3d3;
    }

    .indicator.active {
        background: #7a7a7a;
    }
}

.get-now-btn {
    width: fit-content;
    margin-top: 10px;
    padding: 7px 15px;
    border-radius: 20px;
    background: var(--primaryColor);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.get-now-btn:hover {
    transform: scale(1.05);
}

/* Trending Slider Refined */
.trending-section {
    margin-bottom: 2rem;
}

.trending-slider-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trending-slider-container::-webkit-scrollbar {
    display: none;
}

.service-card {
    min-width: 280px;
    max-width: 280px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    scroll-snap-align: start;
}

.service-card:hover {
    transform: translateY(-2px);
}

.card-image-bg {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}

.category-chip {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00000033;
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 10;
}

.card-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.6rem;
    color: #ccc;
    margin-bottom: 5px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.card-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #aaa;
}

.card-stats span i {
    margin-right: 2px;
}

.card-footer .subscribe-btn {
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--primaryColor);
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 10px;
}

/* Discover Chips */
.discover-chips {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.discover-chips .label {
    color: var(--primaryColor);
    font-weight: 700;
}

.chips-container {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    gap: 10px;
}

.chips-container::-webkit-scrollbar {
    display: none;
}

.chip {
    padding: 5px 20px;
    border-radius: 70px;
    border: 1px solid var(--greyColor);
    background: #0000000d;
    text-align: center;
    font-size: 11px;
    cursor: pointer;
    text-wrap: nowrap;
}

.chip strong {
    display: block;
    font-family: var(--fontMedium);
    font-size: 13px;
    margin-top: 2px;
}

/* Service Grids */
.service-grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.icon-sm {
    font-size: 0.9rem;
    color: var(--primaryColor);
}

.grid-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.grid-item img {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.item-details h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-details p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

/* Dotted Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
}

.section-divider::before {
    content: "";
    position: absolute;
    width: 100%;
    border-top: 2px dotted #007aff;
    /* Light blue dotted line as in image */
    z-index: 1;
}

.section-divider .cross-icon {
    background: #f8f9fa;
    padding: 0 15px;
    z-index: 2;
    color: #007aff;
    font-size: 24px;
}

/* Grids Refinement */
.grid-item .subscribe-btn {
    padding: 6px 15px;
    border-radius: 12px;
    background: var(--primaryColor);
    border: none;
    font-weight: bold;
    font-size: 11px;
}

/* Service Grids Refined */
.service-grids {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.grid-container {
    background: #fff;
    border-radius: 30px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.grid-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yellow-text {
    color: var(--primaryColor);
}

.grid-items-list {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hide scrollbar */
}

.grid-items-list::-webkit-scrollbar {
    display: none;
}

.grid-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.grid-horizontal-card {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.grid-horizontal-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.card-thumb {
    min-width: 140px;
    max-width: 140px;
    height: 90px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.mini-category {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
}

.card-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-details h4 {
    color: black;
    font-size: 1rem;
    font-family: var(--fontMedium);
    margin-bottom: 4px;
}

.card-details p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-footer-info {
    display: flex;
    justify-content: auto;
    /* justify-content: space-between; */
    align-items: center;
    gap: 2rem;
}

.card-footer-info .stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #8e8e93;
}

.card-footer-info .stats span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-footer-info .stats i {
    margin-right: 4px;
}

@media screen and (max-width: 768px) {
    .card-footer-info .stats i {
        font-size: 17px;
    }

    .card-footer-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.subscribe-btn-sm {
    background: var(--primaryColor);
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: transform 0.2s;
}

.subscribe-btn-sm:hover {
    transform: scale(1.05);
}

/* --- Responsiveness Updates --- */
@media (max-width: 1024px) {
    .service-grids {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .grid-horizontal-card {
        flex-direction: column;
        gap: 1rem;
    }

    .card-thumb {
        min-width: 100%;
        height: 180px;
    }

    .service-card {
        min-width: 200px;
        max-width: 200px;
    }

    .card-info p {
        display: none;
    }

    .card-footer {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 10px;
        border-top: 4px solid rgba(255, 255, 255, 0.1);
    }

    .card-stats {
        display: flex;
        gap: 8px;
        font-size: 11px;
        color: #aaa;
    }

    /* .card-footer .subscribe-btn {
        padding: 4px;
        border-radius: 20px;
        background: var(--primaryColor);
        border: none;
        color: #000;
        font-weight: bold;
        cursor: pointer;
        font-size: 9px;
    } */

    .service-grids {
        gap: 3rem;
    }

    .grid-container {
        padding: 10px;
        /* max-height: 600px; */
        overflow-y: scroll;
    }
}

.app-content {
    overflow-y: scroll;
    flex: 1;
    display: flex;
    position: relative;
    background-color: #ffffff80;
    backdrop-filter: blur(40px);
    flex-direction: column;
    min-width: 0;
    /* Prevent flex blowout */
}

/* --- General Responsiveness --- */

@media (max-width: 1024px) {
    .app-sidebar {
        position: fixed;
        left: -260px;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .app-sidebar.active {
        left: 0;
    }

    .admin-sidebar {
        position: fixed;
        left: -260px;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .admin-sidebar.active {
        left: 0;
    }

    .app-body {
        /* padding: 1.5rem 1rem; */
    }

    .body {
        padding: 1.5rem 1rem;
        position: relative;
        z-index: 1000;
    }

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

    .promo-card.large,
    strong .promo-card.large {
        min-width: 70%;
    }

    .promo-card.medium,
    strong .promo-card.medium {
        min-width: 40%;
    }
}

@media (max-width: 768px) {
    .dashboard-categories-bar {
        flex-direction: column;
        display: none;
        align-items: flex-start;
    }

    .manage-services-btn {
        width: 100%;
    }

    .promo-card,
    strong .promo-card {
        min-width: 100% !important;
        height: 250px;
    }

    .promo-column {
        min-width: 100%;
        display: flex;
        flex-direction: row;
    }

    .discover-chips {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-header {
        display: none;
    }

    .dashboard-header.except {
        display: block;
    }

    .section-header.except {
        display: none;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }
}

/* --- Modal System Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    border-radius: 30px;
    position: relative;
    padding: 2.5rem;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden by default */
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.modal-content.active {
    display: block;
}

/* --- Auto Welcome Modal Specifics --- */
.auto-welcome-modal {
    padding: 0;
    overflow: hidden;
    max-width: 500px;
}

@media screen and (max-width: 768px) {
    .auto-welcome-modal {
        padding: 0 !important;
    }
}

.auto-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auto-modal-content {
    padding: 1rem;
    text-align: center;
}

.auto-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    /* margin-bottom: 1rem; */
    color: #121212;
}

.auto-modal-title span {
    color: var(--primaryColor);
}

.auto-modal-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.auto-modal-btn {
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    background: var(--primaryColor);
    color: #000;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition:
        transform 0.3s,
        background 0.3s;
}

.auto-modal-btn:hover {
    transform: translateY(-2px);
    background: #e6b800;
}

.auto-modal-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.auto-modal-link:hover {
    transform: scale(1.01);
}

.auto-modal-link:hover .auto-modal-cta {
    background: #e6b800;
    transform: translateY(-1px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.modal-close i {
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

/* Management Modals Enhancements */
.modal-title-main {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #121212;
}

.modal-tabs {
    display: flex;
    background: #ebebeb;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid var(--blackColor);
}

.modal-tab-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-tab-item img {
    width: 18px;
    height: 12px;
    object-fit: cover;
}

.modal-tab-item.active {
    border-bottom: 2px solid var(--blackColor);
    color: var(--blackColor);
    font-weight: 700;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-full {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-modal label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #121212;
}

.form-group-full label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #121212;
}

.form-group-full select {
    outline: none;
    background-color: transparent;
}

.input-with-upload {
    display: flex;
    gap: 10px;
}

.input-with-upload input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
}

.btn-upload-secondary {
    background: #ebebeb;
    color: #121212;
    border: 1px solid #d0d0d0;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-modal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-form input,
select,
textarea {
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: transparent;
    font-size: 0.9rem;
}

.rich-text-editor-mock {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.editor-toolbar {
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.editor-toolbar span {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.editor-toolbar i {
    color: #8e8e93;
    font-size: 0.85rem;
    cursor: pointer;
}

.rich-text-editor-mock textarea {
    width: 100%;
    height: 150px;
    border: none;
    background: #fff;
    padding: 15px;
    resize: vertical;
    outline: none;
}

.rich-text-editor-mock.small textarea {
    min-height: 80px;
    outline: none;
}

.drag-drop-zone {
    border: 2px dashed #d0d0d0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.2s;
}

.drag-drop-zone:hover {
    background: #f0f0f0;
    border-color: var(--primaryColor);
}

.drag-drop-zone i {
    font-size: 2rem;
    color: var(--primaryColor);
    margin-bottom: 10px;
}

.drag-drop-zone p {
    font-size: 0.85rem;
    color: var(--primaryColor);
    margin: 0;
}

.btn-modal-submit {
    background: var(--primaryColor);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s;
}

.btn-modal-submit:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

/* Details View Styles */
.details-header-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.details-banner-preview {
    position: relative;
    min-width: 120px;
    height: 120px;
}

.details-banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid var(--primaryColor);
}

.status-badge-inline {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot-active {
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
}

.details-main-info {
    flex: 1;
}

.details-main-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.details-stats-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #8e8e93;
}

.btn-public-profile {
    background: var(--primaryColor);
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.detail-label-val {
    font-size: 0.9rem;
    color: #121212;
    margin-bottom: 4px;
    font-weight: 700;
}

.detail-label-val span,
a {
    color: #fdd835;
    font-weight: 500;
    text-decoration: underline;
}

.details-section {
    margin-bottom: 1.5rem;
}

.details-section h4 {
    font-size: 0.9rem;
    color: #8e8e93;
    margin-bottom: 10px;
}

.details-image-grid {
    display: flex;
    gap: 12px;
}

.detail-img-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.detail-img-item img,
.detail-img-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.detail-img-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.detail-img-item:hover i {
    opacity: 1;
}

.detail-img-item:hover img {
    filter: brightness(0.7);
}

.details-desc-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.details-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2rem;
}

.btn-edit-modal {
    background: var(--primaryColor);
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-delete-modal {
    background: #ff3b30;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-edit-modal.sm,
.btn-delete-modal.sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Category Detail View */
.category-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 20px;
}

.category-icon-preview {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #121212;
    border: 1px solid #e0e0e0;
}

.category-icon-preview img {
    width: 59px;
    height: 59px;
}

.category-detail-header h3 {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 800;
}

.category-detail-actions {
    display: flex;
    gap: 8px;
}

/* Responsiveness for Modals */
@media (max-width: 600px) {
    .details-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .form-row-dual {
        grid-template-columns: 1fr;
    }

    .details-stats-inline {
        justify-content: center;
        flex-wrap: wrap;
    }

    .details-footer-actions {
        flex-direction: column;
    }

    .details-footer-actions button {
        width: 100%;
        justify-content: center;
    }
}

.modal-header-text {
    margin-bottom: 1rem;
}

.modal-header-text.centered {
    text-align: center;
}

.yello-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #999;
    font-size: 0.9rem;
}

.section-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
}

.section-subtitle-grey {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Activated Services List */
.activated-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activated-service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
}

.service-icon-md {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid var(--primaryColor);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.unsubscribe-btn {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* Suggested Grid */
.suggested-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.suggested-card {
    height: 140px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 4px solid #ffcc00;
}

.card-mini-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

.card-bottom p {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.mini-subscribe {
    background: #ffcc00;
    color: #000;
    border: none;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    cursor: pointer;
}

/* Forms Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
}

.required {
    color: #ff4444;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffcc00;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0 16px;
}

.phone-input-wrapper:focus-within {
    border-color: #ffcc00;
}

.flag-container {
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid #eee;
    padding-right: 12px;
    margin-right: 12px;
}

.flag-container img {
    width: 20px;
}

.phone-input-wrapper input {
    border: none;
    padding: 12px 0;
    flex: 1;
}

.form-submit-btn {
    background: #ffcc00;
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition:
        transform 0.2s,
        background 0.2s;
}

.form-submit-btn:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .suggested-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .suggested-card {
        height: 120px;
    }

    .mini-tag {
        font-size: 0.5rem;
    }

    .card-bottom p {
        font-size: 0.6rem;
    }
}

/* ======================================= authentication ============================== */
.auth-app-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f8f8f8;
}

.auth-left {
    flex: 1;
    position: relative;
    background-color: #1c1b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-background-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../images/login_bottom_left.png");
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.auth-right {
    flex: 1;
    position: relative;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-background-right {
    position: absolute;
    bottom: 0%;
    right: 0%;
    width: 80%;
    height: 80%;
    background-image: url("../../images/login_bottom_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    opacity: 0.5;
}

.auth-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 550px;
}

.auth-form-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* OTP Screen Styles */
.otp-inputs-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.otp-input {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    color: #000;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.otp-input:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.otp-timer-container {
    text-align: center;
    margin-top: 1rem;
}

.otp-timer-text {
    font-size: 0.9rem;
    color: #8e8e93;
}

#otp-timer {
    font-weight: 700;
    color: #000;
}

.resend-otp-wrapper {
    margin-top: 0.5rem;
}

.resend-otp-link {
    color: var(--greyColor);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.3s;
}

.resend-otp-link.active {
    color: #000;
    pointer-events: auto;
    opacity: 1;
    text-decoration: underline;
}

@media screen and (max-width: 480px) {
    .otp-input {
        width: 40px;
        height: 45px;
        font-size: 1.2rem;
    }

    .otp-inputs-wrapper {
        gap: 8px;
    }
}

.mtn-logo-wrapper {
    margin-bottom: 2rem;
}

.mtn-logo-auth {
    width: 80px;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-auth {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-auth label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.form-group-auth input {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.form-group-auth input:focus {
    border-color: #ffcc00;
    outline: none;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
}

.forgot-password {
    align-self: flex-end;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ff0000;
    text-decoration: none;
    margin-top: 5px;
}

.auth-submit-btn {
    background-color: var(--primaryColor);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition:
        background-color 0.2s,
        transform 0.2s;
}

.auth-submit-btn:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.auth-submit-btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

.auth-submit-btn:disabled:hover {
    background-color: #ccc;
    transform: none;
}

@media (max-width: 992px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        flex: 1;
        padding: 3rem 1.5rem;
    }

    .auth-title {
        font-size: 2rem;
    }
}

/* ==================================== ADMIN SCREENS || OVERVIEW PAGE =================================== */
.dashboard-header h1 span {
    color: var(--primaryColor);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-icon.yellow-bg {
    background: rgba(255, 204, 0, 0.1);
    color: var(--primaryColor);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #121212;
}

.stat-label {
    font-size: 0.9rem;
    color: #8e8e93;
}

/* Charts Grid */
.admin-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-chart-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.chart-title {
    font-size: 1.1rem;
    color: var(--primaryColor);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Updated CSS for Chart.js containers */
.donut-chart-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    padding: 1rem 0;
    height: 200px;
    /* Fixed height for canvas */
}

#serviceCategoryChart {
    max-width: 100%;
    max-height: 100%;
}

.area-chart-wrapper {
    padding: 1rem 0;
    height: 200px;
    /* Fixed height for canvas */
}

#engagementTrendsChart {
    width: 100%;
    height: 100% !important;
}

/* Activity Table */
.admin-table-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.section-title-yellow {
    color: var(--primaryColor);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.activity-table-container {
    overflow-x: auto;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
}

.activity-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8e8e93;
    background: #f8f8f8;
    text-transform: uppercase;
    text-wrap: nowrap;
}

.activity-table th:first-child {
    border-radius: 12px 0 0 12px;
}

.activity-table th:last-child {
    border-radius: 0 12px 12px 0;
}

.activity-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    text-wrap: nowrap;
    color: #444;
}

.admin-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--thickGrey);
    color: var(--primaryColor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.admin-cell strong {
    display: block;
    font-size: 0.95rem;
    color: #121212;
}

.admin-cell span {
    font-size: 0.75rem;
    color: #8e8e93;
}

@media (max-width: 1024px) {
    .admin-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .donut-chart-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==================================== ADMIN SCREENS || CONTENT MANAGEMENT PAGE =================================== */
.admin-tabs {
    display: flex;
    background: #ebebeb;
    border-radius: 12px;
    max-width: 100%;
    gap: 2rem;
    overflow-x: auto;
    margin-bottom: 2rem;
    border: 1px solid #000000;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

.admin-tabs::-webkit-scrollbar-track {
    display: none;
}

.admin-tabs::-webkit-scrollbar-thumb {
    display: none;
}

.tab-item {
    flex: 1;
    text-align: center;
    text-wrap: nowrap;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-item.active {
    color: var(--blackColor);
    font-weight: 700;
    border-bottom: 4px solid var(--blackColor);
}

.management-card {
    display: none;
    background: #fff;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.management-card.active {
    display: block;
}

.management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.management-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primaryColor);
}

.management-title span {
    color: var(--primaryColor);
    font-weight: 400;
}

.btn-add-category {
    background: var(--primaryColor);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-add-category:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.search-box-secondary {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box-secondary i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8e8e93;
}

.search-box-secondary input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    background: #f8f8f8;
}

.filter-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-export {
    background: #ebebeb;
    color: #121212;
    border: 1px solid #d0d0d0;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filter-select {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #121212;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.filter-select select {
    border: none;
    outline: none;
    background: transparent;
    color: #121212;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.filter-select i {
    color: #8e8e93;
}

.filter-select strong {
    color: #121212;
}

.management-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.management-table {
    width: 100%;
    border-collapse: collapse;
}

.management-table th {
    text-align: left;
    text-wrap: nowrap;
    padding: 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8e8e93;
    background: #f4f4f4;
    text-transform: uppercase;
    border-bottom: 1px solid #e0e0e0;
}

.management-table td {
    padding: 1.5rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #444;
    vertical-align: middle;
    text-wrap: nowrap;
}

.status-pill {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-pill.active {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-pill.active::before {
    background: #4caf50;
}

.status-pill.admin {
    background-color: #f3e6ff;
    color: #9c27b0;
}

.status-pill.marketing {
    background-color: #e6f6ffd9;
    color: #2c9ee2;
}

.status-pill.inactive {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.status-pill.inactive::before {
    background: #f44336;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}

.btn-action.view {
    background: #121212;
}

.btn-action.edit {
    background: var(--primaryColor);
    color: #000;
}

.btn-action.delete {
    background: #ff3b30;
}

.btn-action:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.management-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-info {
    font-size: 0.85rem;
    color: #8e8e93;
}

.pagination {
    display: flex;
    gap: 5px;
}

.page-btn,
.page-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8e8e93;
    transition: all 0.2s;
}

.page-num.active {
    background: var(--primaryColor);
    border-color: var(--primaryColor);
    color: #000;
    font-weight: 700;
}

.page-num:hover:not(.active),
.page-btn:hover {
    background: #f8f8f8;
    color: #121212;
}

@media (max-width: 1024px) {
    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box-secondary {
        max-width: none;
    }

    .filter-actions {
        overflow-x: auto;
        padding-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .management-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-add-category {
        width: 100%;
        justify-content: center;
    }

    .management-footer {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- User Management Modal Specific Styles --- */
.permission-checkbox-group {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #8e8e93;
    font-weight: 500;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #d1d1d6;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primaryColor);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked {
    color: #121212;
}

.btn-modal-submit-main {
    width: 100%;
    background: var(--primaryColor);
    color: #121212;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-submit-main:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

.profile-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.admin-avatar-large {
    width: 80px;
    height: 80px;
    background: #fff5cc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #b28f00;
    position: relative;
}

.status-indicator-inline {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #4cd964;
    border: 3px solid #fff;
    border-radius: 50%;
}

.status-indicator-offline {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #d94c4c;
    border: 3px solid #fff;
    border-radius: 50%;
}

.profile-info-main {
    flex: 1;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.profile-name-row h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #121212;
}

.role-badge-large {
    background: #f3e5f5;
    color: #9c27b0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.profile-email {
    color: #8e8e93;
    margin: 0;
}

.profile-header-actions {
    display: flex;
    gap: 10px;
}

.detail-info-row {
    display: flex;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f2f2f7;
}

.detail-info-row.gray-bg {
    background: #f2f2f7;
    border-radius: 8px;
}

.info-label {
    font-weight: 700;
    color: #121212;
    width: 140px;
}

.info-value {
    color: #8e8e93;
}

.info-value-pill {
    background: #fff9c4;
    color: #fbc02d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .profile-detail-header {
        flex-direction: column;
    }
}

/* ---============= Comment Details Modal Specific Styles =============--- */
.comment-details-view {
    padding-top: 1rem;
}

.user-comment-card {
    background: #fdfbf0;
    border-left: 6px solid var(--primaryColor);
    border-radius: 20px;
    padding: 0.5rem 2rem;
    margin-bottom: 2rem;
}

.comment-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    position: relative;
}

.admin-avatar.large {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
}

.user-info-text strong {
    display: block;
    font-size: 1rem;
    color: #121212;
}

.user-info-text span {
    font-size: 0.8rem;
    color: #8e8e93;
}

.comment-date {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    color: #8e8e93;
    font-weight: 500;
}

.comment-card-body p {
    color: #121212;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.comment-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-reply-admin {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.btn-edit-comment {
    background: #ffcc00;
    color: #121212;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.btn-delete-comment {
    background: #f44336;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Reply Editor Section */
.reply-editor-section {
    display: none;
    /* Hidden by default, toggled via JS */
    margin-top: 1rem;
    animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.reply-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.reply-editor-header label {
    font-weight: 700;
    color: #121212;
    font-size: 1rem;
}

.reply-editor-header label span {
    color: #f44336;
}

.btn-close-reply {
    background: #f5f5f7;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    color: #121212;
}

.reply-textarea {
    width: 100%;
    height: 150px;
    border: none;
    resize: none;
    padding: 1rem;
    font-size: 0.95rem;
    outline: none;
}

.reply-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn-send-reply {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.95rem;
}

.toolbar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #8e8e93;
    font-weight: 500;
}

/* ---==================== Reporting Page Styles ====================--- */
.reporting-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-size: 1.2rem;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-export-main {
    background: #ebebeb;
    color: #121212;
    border: 1px solid #d0d0d0;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select-wrapper i {
    color: #8e8e93;
}

.filter-select-wrapper select {
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
    padding: 0;
    cursor: pointer;
}

.date-range-picker {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-wrap: nowrap;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #121212;
}

.date-range-picker i {
    color: #8e8e93;
}

/* Reporting Grids */
.reporting-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.reporting-grid-bottom.no-grid {
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.5rem;
}

.reporting-grid-bottom.grid-2 {
    gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5rem;
}

.reporting-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header-compact h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primaryColor);
    margin: 0;
}

.btn-export-sm {
    background: #f5f5f7;
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-filters-row {
    margin-bottom: 1.5rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f5f5f7;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #121212;
    cursor: pointer;
    border: 1px solid transparent;
}

.filter-chip.active {
    border-color: #e0e0e0;
}

.filter-chip select {
    border: none;
    outline: none;
    background: transparent;
    color: #121212;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.chart-container-sm {
    height: 220px;
    position: relative;
}

.chart-container-lg {
    /* height: 350px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative; */
}

.chart-container-flex {
    display: flex;
    justify-content: center;
    height: 350px;
    border: 1px solid blue;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.chart-container-md {
    height: 350px;
}

/* Reporting Table Styles */
.reporting-table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.reporting-table {
    width: 100%;
    border-collapse: collapse;
}

.reporting-table th {
    text-align: left;
    padding: 12px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8e8e93;
    background: #f8f8f8;
    border-bottom: 1px solid #ebebeb;
}

.reporting-table td {
    padding: 15px;
    font-size: 0.85rem;
    color: #121212;
    border-bottom: 1px solid #f0f0f0;
}

.status-pill.active-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4caf50;
    font-weight: 800;
    background: transparent;
    padding: 0;
}

.status-pill.active-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .reporting-grid-top {
        grid-template-columns: 1fr 1fr;
    }

    .reporting-grid-bottom.grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions {
        max-width: 100%;
        overflow-x: auto;
    }

    .header-actions::-webkit-scrollbar {
        display: none;
    }

    .reporting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .reporting-grid-top {
        grid-template-columns: 1fr;
    }

    .reporting-grid-bottom.grid-2 {
        grid-template-columns: 1fr;
        margin-bottom: 1.5rem;
    }
}

/* ==================================== Admin FAQS =========================================== */
.faq-list {
    padding: 0.5rem 0;
}

.faq-item {
    border-bottom: 1px solid #f2f2f7;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-question span {
    font-weight: 600;
    color: #121212;
    font-size: 0.95rem;
}

.faq-item.active .faq-question span {
    color: var(--primaryColor);
    font-style: italic;
}

.faq-toggle-icon {
    color: #8e8e93;
    font-size: 0.85rem;
    transition: transform 0.3s;
    margin-left: 12px;
}

.faq-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #8e8e93;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .faq-question {
        padding: 1rem;
    }

    .faq-question span {
        font-size: 0.85rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}

/* ================================ PROFILE SETTINGS ========================================== */
.settings-content {
    padding: 1rem 1.5rem 2rem;
}

.settings-avatar-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: -2rem;
}

.settings-avatar {
    width: 100px;
    height: 100px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #9e9e9e;
    position: relative;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background: #121212;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section-title {
    color: var(--primaryColor);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.settings-form-group {
    margin-bottom: 1.2rem;
    flex: 1;
}

.settings-form-group label {
    display: block;
    font-weight: 700;
    color: #121212;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.settings-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    background: #fff;
}

.settings-form-group input:focus {
    border-color: var(--primaryColor);
}

.settings-form-group .input-readonly {
    background: #fff9c4;
    border-color: #fff9c4;
    color: #b28f00;
    font-weight: 600;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 45px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.password-input-wrap input:focus {
    border-color: var(--primaryColor);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8e8e93;
    cursor: pointer;
    font-size: 1rem;
}

.settings-save-row {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.settings-save-row .btn-modal-submit-main {
    width: 60%;
    max-width: 400px;
}

@media screen and (max-width: 768px) {
    .settings-content {
        padding: 0.2rem;
    }

    .settings-content .form-row-dual {
        flex-direction: column;
        gap: 0;
    }

    .settings-save-row .btn-modal-submit-main {
        width: 100%;
    }
}

/* ----------------- mobile sidebar ------------------ */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #212121;
    z-index: 2001;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-header .logo img {
    height: 40px;
}

.mobile-sidebar-header .close-sidebar {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-sidebar-body .search-box-wrapper {
    position: relative;
    background: #2c2c2e;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-body .search-icon {
    color: #8e8e93;
}

.mobile-sidebar-body .search-input {
    background: transparent;
    border: none;
    padding: 0 25px;
    gap: 1rem;
    outline: none;
    color: #fff;
    width: 100%;
    font-size: 0.9rem;
}

.mobile-sidebar-body .hot-news-item {
    background: #2c2c2e;
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 20px;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-sidebar-body .hot-news-badge {
    color: #ffcc00;
    font-weight: 700;
    font-size: 0.85rem;
}

.mobile-sidebar-body .sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #8e8e93;
    letter-spacing: 1px;
}

.mobile-sidebar-body .menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-sidebar-body .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #1c1c1e;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
    cursor: pointer;
}

.mobile-sidebar-body .menu-item.active {
    border: 1px solid #ffcc00 !important;
    color: #ffcc00 !important;
}

.mobile-sidebar-body .menu-item.active i {
    color: #ffcc00 !important;
}

.mobile-sidebar-body .menu-item.active svg {
    color: #ffcc00 !important;
}

.mobile-sidebar-body .menu-item .left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.mobile-sidebar-body .menu-item .left svg {
    height: 20px;
    width: 20px;
}

.mobile-sidebar-body .dropdown.active .menu-item {
    border-left: 3px solid #ffcc00;
    background: rgba(255, 204, 0, 0.05);
}

.mobile-sidebar-body .dropdown.active .menu-item .left i {
    color: #ffcc00;
}

.mobile-sidebar-body .dropdown.active .menu-item .left {
    color: #ffcc00;
}

.mobile-sidebar-body .submenu {
    display: none;
    padding-left: 2.5rem;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.mobile-sidebar-body .dropdown.active .submenu {
    display: flex;
}

.mobile-sidebar-body .submenu-item {
    color: #8e8e93;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.mobile-sidebar-body .submenu-item.active {
    color: #ffcc00;
    font-weight: 700;
}

.mobile-sidebar-body .sidebar-extra-btns {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 1rem;
}

.mobile-sidebar-body .extra-btn {
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mobile-sidebar-body .faqs-btn {
    border: 1px dashed #abb0bb;
    color: #fff;
}

.mobile-sidebar-body .report-btn {
    border: 1px dashed #ff453a;
    color: #ff453a;
}

/* ================== event details ========================= */
.event-details-wrapper {
    color: #fff;
}

.event-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    cursor: pointer;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.event-details-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.event-banner {
    position: relative;
    width: 20%;
    height: 200px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    border: 2px solid #ffcc00;
}

.event-status-badge {
    display: inline-block;
    background: #00000033;
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: fit-content;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.event-meta-info {
    /* display: flex; */
    gap: 20px;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 10px;
}

.event-info {
    width: 70%;
}

.event-meta-info .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participate-btn {
    background: #ffcc00;
    color: #121212;
    border: none;
    padding: 12px 32px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.participate-btn:hover {
    transform: scale(1.05);
}

.event-main-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.promotion-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #121212;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 0.8rem;
}

.card-divider {
    height: 1px;
    background: #e5e5ea;
    margin-bottom: 1.2rem;
}

.card-text {
    color: #8e8e93;
    line-height: 1.6;
    font-size: 0.95rem;
}

.other-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
    gap: 10px;
}

.mini-event-card {
    height: 200px;
    overflow: hidden;
    border: 2px solid #ffcc00;
    cursor: pointer;
    position: relative;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

.mini-event-card .card-info {
    margin-top: auto;
    padding: 0 5px;
}

.mini-event-card .card-info h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-card {
    min-width: 100%;
    max-width: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.event-card .card-footer {
    gap: 0;
}

.event-card .event-meta-info {
    color: #fff;
}

.event-indicator-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 8px;
    align-items: center;
}

.event-indicator {
    width: 22px;
    height: 6px;
    border-radius: 10px;
    background: #d3d3d3;
}

.event-indicator.active {
    background: #7a7a7a;
}

/* Registration Form Card */
.registration-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 1rem;
    color: #121212;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.form-group .required {
    color: #ff3b30;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #ffcc00;
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.country-code {
    background: #f2f2f7;
    padding: 0 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5e5ea;
    font-size: 0.85rem;
    white-space: nowrap;
}

.custom-select-wrapper {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    appearance: none;
    font-size: 0.9rem;
    color: #8e8e93;
    outline: none;
}

.custom-select-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8e8e93;
    pointer-events: none;
}

.submit-btn {
    background: #ffcc00;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.form-footer-info {
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Responsive Utilities */
.mobile-only {
    display: none;
}

.mobile-registration-view {
    display: none;
}

@media screen and (max-width: 768px) {
    .event-banner {
        height: 150px;
        width: 300px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .event-main-content {
        grid-template-columns: 1fr;
    }

    .event-title {
        font-size: 1.2rem;
    }

    .event-status-badge {
        margin-bottom: 0;
    }

    .desktop-only-header-btn {
        display: none;
    }

    .detail-card {
        margin-bottom: 1rem;
    }

    .mini-event-card {
        height: 130px;
    }

    /* When showing registration form on mobile */
    .event-details-wrapper.participating #event-info-section {
        display: none;
    }

    .event-details-wrapper.participating #mobile-registration-view {
        display: block;
        padding-top: 1rem;
    }

    .registration-form-card {
        padding: 1.5rem;
        box-shadow: none;
        border: none;
        background: #fff;
    }

    .registration-form-card .form-title {
        padding-left: 0;
    }
}

/* ============================== hot news page =============================== */
.parent-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
    align-items: start;
}

.parent-container .service-card {
    width: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    scroll-snap-align: start;
}

.parent-container .service-card:hover {
    transform: translateY(-2px);
}

.parent-container .card-image-bg {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.parent-container .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

/* tablet */
@media (max-width: 1024px) {
    .parent-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* mobile */
@media (max-width: 640px) {
    .parent-container {
        gap: 5px;
        grid-template-columns: repeat(2, 1fr);
    }

    .parent-container .card-info h4 {
        font-size: 0.8rem;
    }
}

/* ============================== service details page =============================== */
.service-subscription-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.subscribe-label {
    font-size: 1.1rem;
    color: var(--greyColor);
    margin-bottom: 1rem;
    font-weight: 500;
}

.subscription-plans-grid {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    overflow-x: scroll;
}

.subscription-plans-grid::-webkit-scrollbar {
    display: none;
}

.subscription-plans-grid::-webkit-scrollbar-track {
    display: none;
}

.plan-btn {
    width: fit-content;
    background-color: var(--primaryColor);
    border: 1px solid #000;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-wrap: nowrap;
    transition: transform 0.2s;
}

.plan-btn:hover {
    transform: translateY(-2px);
}

.service-main-content {
    display: flex;
    gap: 1rem;
}

.service-details-main-card {
    background-color: #fff;
    border-radius: 20px;
    width: 65%;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-detail-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f2f2f7;
}

.service-detail-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-detail-section p {
    color: #8e8e93;
    line-height: 1.6;
    font-size: 0.95rem;
}

.detail-section-title {
    color: var(--primaryColor);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-photos-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.service-photo-item {
    flex: 0 0 160px;
    height: 140px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--primaryColor);
}

.service-photo-item img,
.service-photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-description-text {
    color: #8e8e93;
    line-height: 1.6;
    font-size: 0.95rem;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.add-comment-btn {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.comment-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f8f8f8;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.user-avatar-mini {
    font-size: 1.5rem;
    color: #c7c7cc;
}

.comment-input-field {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 0;
    font-size: 0.9rem;
}

.comment-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #fafafa;
    border-radius: 15px;
}

.comment-text,
.reply-text {
    word-break: break-word;
    overflow-wrap: break-word;
}

.comment-user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.comment-username {
    font-weight: 600;
    font-size: 0.9rem;
    color: #8e8e93;
}

.comment-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.comment-likes,
.comment-comments {
    font-size: 0.85rem;
    color: #8e8e93;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-likes i,
.comment-comments i {
    cursor: pointer;
}

.reply-btn {
    background: none;
    border: 1px solid #8e8e93;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: #000;
    cursor: pointer;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .service-main-content {
        display: flex;
        flex-direction: column;
    }

    .service-details-main-card {
        padding: 1rem;
        width: 100%;
    }

    .service-photo-item {
        flex: 0 0 140px;
        height: 120px;
    }
}

@media screen and (max-width: 480px) {
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .add-comment-btn {
        align-self: flex-end;
    }
}

/* --- Share Modal --- */
.share-modal {
    width: 90% !important;
    max-width: 450px !important;
    border-radius: 20px !important;
    padding: 30px !important;
}

.share-modal-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.share-service-preview {
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ffcc00;
}

.preview-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #121212;
}

.preview-info p {
    font-size: 0.9rem;
    color: #8e8e93;
}

.share-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-option:hover {
    transform: translateY(-3px);
}

.share-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.x-icon {
    background-color: #000;
}

.fb-icon {
    background-color: #1877f2;
}

.wa-icon {
    background-color: #25d366;
}

.share-option span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #484848;
}

/* --- Comment Replies & Admin Distinction --- */
.reply-input-wrapper {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
    padding-left: 2rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

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

.reply-input-field {
    width: 100%;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #f9f9f9;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.reply-input-field:focus {
    border-color: var(--primaryColor);
    background: #fff;
}

.reply-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.cancel-reply-btn,
.send-reply-btn {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.cancel-reply-btn {
    background: #ebebeb;
    color: #666;
}

.send-reply-btn {
    background: var(--primaryColor);
    color: #000;
}

.cancel-reply-btn:hover,
.send-reply-btn:hover {
    transform: scale(1.05);
}

.replies-list {
    margin-top: 1rem;
    padding-left: 2.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.reply-item {
    position: relative;
    padding-left: 15px;
    border-left: 2px solid #f0f0f0;
}

.reply-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.reply-text {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 6px;
}

/* Admin Distinction */
.reply-item.admin-reply {
    background: rgba(255, 204, 0, 0.05);
    border-radius: 12px;
    padding: 12px 15px;
    border-left: 4px solid var(--primaryColor);
}

.user-avatar-mini.admin {
    background: var(--primaryColor);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
}

.admin-badge {
    background: var(--primaryColor);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .reply-input-wrapper {
        padding-left: 1rem;
    }

    .replies-list {
        padding-left: 1.5rem;
    }
}

/* ================= IMAGE PREVIEW MODAL ================= */
.image-preview-modal {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    position: relative;
    color: white;
}

.image-preview-modal.active {
    display: flex !important;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.image-counter {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.close-preview-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-preview-btn:hover {
    transform: scale(1.1);
    color: var(--primaryColor);
}

.preview-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.preview-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
}

.preview-image-container img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-btn:hover {
    background: var(--primaryColor);
    color: black;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

/* Animations for swiping */
.fade-in {
    opacity: 1;
    transform: scale(1);
}

.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

@media screen and (max-width: 768px) {
    .preview-header {
        padding: 1rem;
    }

    .nav-btn {
        display: none;
        /* Hide nav buttons on mobile, use swiping */
    }

    .preview-content {
        padding: 1rem;
    }

    .preview-image-container img {
        max-width: 95%;
    }
}

/* =============IFRAME ================== */
/* Force the iframe to occupy the absolute maximum viewport footprint */
.fullscreen-iframe {
    width: 100% !important;
    height: 100vh !important;
    border: none !important;
    display: block !important;
}
