@font-face {
    font-family: "lohit";
    /* Name the font whatever you want */
    src: url("fonts/LohitGujarati.ttf") format('truetype');
    ;
    /* Path to the font file */
}

.lohit_guj {
    font-family: "lohit", sans-serif;
}


.grid-wrapper>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-wrapper>div>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;

}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;

}

.grid-wrapper .wide {
    grid-column: span 2;

}

.grid-wrapper .tall {
    grid-row: span 2;
}

.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    max-height: 300px;
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto;
    /* object-fit: cover; */
}

.social-btn {
    color: rgb(0 0 0 / 65%) !important;
    font-size: 12px;
    font-weight: bold;
}

.social-counter {
    color: rgb(0 0 0 / 75%) !important;
    font-size: 14px;
    /* font-weight:; */
}

.social-btn>span>i {
    /* vertical-align: middle; */
    font-size: 15px;
    font-weight: bolder;
    -webkit-text-stroke: 0.5px;
}

.profile-cover {
    background-color: white;
    position: relative;
    width: 100%;
    min-height: 180px;
}

.profile-cover>img {
    width: 100%;
    height: 100%;

}

.profile-profile {
    width: 125px;
    height: 125px;
    position: absolute;
    /* top: 55%; */
    bottom: 10px;
    left: 10px;
    justify-content: center;
    align-items: center;
    /* left: 10px; */
}

.profile-profile>img {
    width: 100%;
    border-radius: 100%;
    border: 2px solid rgb(255, 255, 255);
}

.profile-upload-icon {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: 15px;
    right: -5px;
    background-color: rgb(233, 233, 233);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    justify-content: center;
    font-size: large;
}

.profile-remove-icon {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: -5px;
    right: 25px;
    background-color: rgb(233, 233, 233);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    justify-content: center;
    font-size: large;
    font-weight: bolder;
}

.profile-cover-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

/* ઈમેજ ક્રોપ ન થાય અને પ્રોપર સેન્ટરમાં રહે તે માટે */
.object-fit-cover {
    object-fit: cover;
}

/* ફેસબુક જેવી ટૅબ ઈફેક્ટ માટે */
#profile_tab .nav-link {
    background: transparent !important;
    font-size: 15px;
}

#profile_tab .nav-link.active {
    color: #1877f2 !important;
    /* Facebook Blue */
    border-bottom: 3px solid #1877f2 !important;
}

#profile_tab .nav-link:hover:not(.active) {
    background-color: #f2f2f2 !important;
    border-radius: 6px;
}

.cursor-pointer {
    cursor: pointer;
}

.hover-underline:hover {
    text-decoration: underline;
}

.profile-cover {
    height: 180px !important;
}

.avatar-wrapper {
    width: 100px;
    height: 100px;
}

.custom-avatar-overlap {
    margin-top: -50px !important;
    position: relative !important;
    z-index: 99 !important;
    /* હાઈએસ્ટ z-index જેથી ફોટો ઉપર જ રહે */
}

.profile-name {
    font-size: 22px !important;
}

.profile-stats {
    font-size: 13px !important;
}

.action-btn-group {
    width: 100% !important;
}

.action-btn-group .btn {
    flex-grow: 1;
}

/* --- ટેબ્લેટ વ્યુ --- */
@media (min-width: 576px) {
    .profile-cover {
        height: 240px !important;
    }

    .avatar-wrapper {
        width: 130px;
        height: 130px;
    }

    .custom-avatar-overlap {
        margin-top: -65px !important;
    }
}

/* --- ડેસ્કટોપ અને મોટી સ્ક્રીન વ્યુ (ફેસબુક પર્ફેક્ટ લેઆઉટ) --- */
@media (min-width: 768px) {
    .profile-cover {
        height: 350px !important;
    }

    .avatar-wrapper {
        width: 168px;
        height: 168px;
    }

    .custom-avatar-overlap {
        margin-top: -85px !important;
        /* ઇમેજ કવરની ઉપર અડધી સેટ થશે અને કપાશે નહીં */
    }

    .profile-name {
        font-size: 32px !important;
    }

    .profile-stats {
        font-size: 15px !important;
    }

    .action-btn-group {
        width: auto !important;
        /* મોટી સ્ક્રીનમાં ઓટો વિડ્થ */
    }

    .action-btn-group .btn {
        flex-grow: 0;
    }
}


/* .profile-cover-icon>a {
     background-color: transparent;
}

.profile-cover-icon>a:hover {
    background-color: blue;
} */

.show-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 45%;
    background-color: rgb(240, 240, 240);
    text-align: center;
    font-size: larger;
    padding: 7px;
    color: rgb(59, 59, 59);
    font-weight: bolder;
    height: 40px;
    width: 40px;

}


.preview {
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

.upload-img-section {
    max-height: 250px;
    overflow: auto;
    margin-bottom: 100px;

}

.upload-img-box {
    position: relative;
    overflow: hidden;
    margin: 5px;
    height: 100px;
    width: 100px;
    border: 1px solid;
    border-radius: 10px;
}

.upload-section-img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

video::-webkit-media-controls {
    display: none;
}

.video-player {
    height: 250px;
}

/* Could Use thise as well for Individual Controls */
video::-webkit-media-controls-play-button {}

video::-webkit-media-controls-volume-slider {}

video::-webkit-media-controls-mute-button {}

video::-webkit-media-controls-timeline {}

video::-webkit-media-controls-current-time-display {}


/* video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, transparent) !important;
} */

.offcanvas-backdrop {
    z-index: 1060 !important;
}


/* ###############         Bottom Sheet      ######################### */

.bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    pointer-events: none;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    transition: 0.1s linear;

}

.bottom-sheet.show {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet .sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    /* z-index: -1; */
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background: #000;
}

.bottom-sheet .content {
    width: 100%;
    position: relative;
    background: #fff;
    max-height: 100vh;
    height: 50vh;
    max-width: 1150px;
    /* padding: 25px 30px; */
    transform: translateY(100%);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transition: 0.3s ease;
}

.bottom-sheet.show .content {
    transform: translateY(0%);
}

.bottom-sheet.dragging .content {
    transition: none;
}

.bottom-sheet.fullscreen .content {
    border-radius: 0;
    overflow-y: hidden;
}

.bottom-sheet .header {
    display: flex;
    justify-content: space-between;
}

.header .drag-icon {
    cursor: grab;
    user-select: none;
    padding: 15px;
    margin-top: -15px;
}

.header .drag-icon span {
    height: 4px;
    width: 40px;
    display: block;
    background: #C7D0E1;
    border-radius: 50px;
}

.bottom-sheet .body {
    height: 100%;
    overflow-y: auto;
    padding: 15px 0 40px;
    scrollbar-width: none;
}

.bottom-sheet .body::-webkit-scrollbar {
    width: 0;
}

.bottom-sheet .body h2 {
    font-size: 1.8rem;
}

.bottom-sheet .body p {
    margin-top: 20px;
    font-size: 1.05rem;
}



.post-data {
    width: 100%;
    overflow-x: hidden;
    /* Badhu content ni width 100% rakhe */
}

/* Content wrapper ni andar ni badhi vastu mate */
.post-data img {
    max-width: 100% !important;
    width: 100% !important;
    /* Forcefully 100% width */
    height: auto !important;
    display: block !important;
    /* Block element banavo */
    margin-left: 0 !important;
    /* Left thi side space dur karo */
    margin-right: 0 !important;
    /* Right thi side space dur karo */
    padding: 0 !important;
    /* Extra space kadho */
}

.post-data {
    width: 100% !important;
    overflow-x: hidden !important;
    /* Bahar nikaltu content hide karo */
    display: block !important;
}

.post-data img {
    float: none !important;
    /* Float hatavi do */
    width: 100% !important;
    max-width: 100% !important;
}

/* Tailwind ના .collapse ક્લાસને ઓવરરાઈડ કરો */
.accordion-collapse.collapse {
    visibility: visible !important;
    /* visibility ઠીક કરો */
}

/* જો અકોર્ડિયન બંધ હોય તો તેને hide કરો */
.accordion-collapse.collapse:not(.show) {
    display: none !important;
}

.scroll-locked {
    overflow: hidden !important;
    height: 100vh !important;
    /* આનાથી બોડીની ઊંચાઈ ફિક્સ થઈ જશે */
    position: fixed !important;
    width: 100% !important;
}

.tabs-wrapper.tabs-hidden {
    top: -90px !important;
    /* જો હજુ થોડું દેખાતું હોય તો આ આંકડો વધારીને -130px કે -140px કરી દેવો */
}

.tabs-wrapper {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 59px;
    width: 100%;
    transition: top 0.3s ease-in-out;
    height: 30px;
    /* box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1); */
    background-color: #fff;
    padding-left: 5px;
    z-index: 997;
}

@media (min-width: 1199px) {
    .tabs-wrapper {
        left: 350px !important;
        /* તમારી સાઇડબારની જેટલી પહોળાઈ (width) હોય તેટલું અહીં રાખવું (દા.ત. 250px કે 300px) */
        width: calc(100% - 350px) !important;
    }
}

.scrollable-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.scrollable-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 1px 3px;
    color: #65676b;
    font-size: 18px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    height: 30px;
}

.tab-btn.active {
    color: #1877f2 !important;
    border-bottom: 3px solid #1877f2 !important;
}

/* --- Carousel Slider Track --- */
.slider-container {
    width: 100%;
    overflow: hidden;
    /* margin-top: 30px; */
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    /* સ્લાઇડ થતી વખતે સ્મૂથ એનિમેશન */
    will-change: transform;
}

.slide-item {
    min-width: 100%;
    box-sizing: border-box;
    padding-top: 15px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.slide-item {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;

    /* આ સૌથી મહત્ત્વનું છે: દરેક સ્લાઇડ પોતાની અંદર જ સ્ક્રોલ થવી જોઈએ */
    max-height: 100vh;
    /* હેડરની હાઇટ બાદ કરતા બાકીની સ્ક્રીન */
    overflow-y: auto;
    /* જો સ્લાઇડમાં વધારે ડેટા હોય તો માત્ર એ જ સ્લાઇડ અંદરથી સ્ક્રોલ થશે */
    -webkit-overflow-scrolling: touch;

    /* પેજ સ્ક્રોલ સાથે આનો કન્ફ્લિક્ટ ન થાય તેના માટે */
    touch-action: pan-y;
}

/* Slider ni height ane background */
.carousel-inner {
    height: 400px;
    width: 100%;
    /* Aa add karvu */
    background-color: #000;
    /* Biju image na dekhay etle black background */
    border-radius: 8px;
    overflow: hidden;
    cursor: grab;
}

.carousel-inner:active {
    cursor: grabbing;
}

/* Image ne container ni andar fit karva mate */
.carousel-item img {
    height: 400px !important;
    /* Container ni height jitli */
    width: auto !important;
    /* Aspect ratio javay rahe */
    margin: 0 auto;
    /* Center ma lavi deva */
    object-fit: contain;
    /* Image crop na thay */
    display: block;
    pointer-events: none;
}

/* Transition smooth rahe tene mate */
.carousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-inner .carousel-item img {
    -webkit-user-drag: none;
    /* Mouse thi image drag na thay */
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    /* Aa drag effect ne smooth banavshe */
}