html, body {
  min-height: 100%;
  height: auto;
  overflow-y: auto;  /* ensure scrolling isn’t disabled */
}
.container-fluid{
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.navbar{
    box-shadow: 5px 0px 5px rgba(0,0,0,0.2);
}
.bg-dark{
    background-color: #414141 !important;
}
.bg-grey1{
    /* background-color: #848da1 !important */
    background: #4b4949 !important
}
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important; /* Avoid shifting when scrollbar disappears */
}
.logo {
    width: 50px !important;
}
.text-yellow{
    color: goldenrod;
}
.text-orange {
    color: #ef5241;
}

/* .profileVcard, */
.nav-header {
    height: 50px;
}

.navigation {
    padding-top: 40px !important;
}

#loading {
    text-align: center;
    padding: 10px;
}

.profile-card {
    position: relative;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-start;  /* align text to left */
    padding: 2px 4px;
    background-color: #c8cbd1;
}
.distance-overlay {
    position: absolute;
    top: 0px;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-end;  /* align text to left */
    padding: 2px 4px;
}
.Liked-overlay {
    position: absolute;
    top: 30px;
    right: 3px !important;
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-start;  /* align text to left */
    padding: 2px 4px;
}
.Fav-overlay {
    position: absolute;
    top: 60px;
    right: 3px !important;
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-end;  /* align text to left */
    padding: 2px 4px;
}
.Complete-overlay {
    position: absolute;
    bottom: 1% !important;
    z-index: 999;
    right: 2% !important;
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-end; 
    padding: 2px 4px;
}
.Hot-overlay {
    position: absolute;
    top: 120px !important;
    right: 4px !important;
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-end;  /* align text to left */
    padding: 2px 4px;
}
.online-overlay {
    position: relative;
    bottom: 15% !important;
    /* z-index: 999; */
    /* left: 0% !important; */
    width: 100%;
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-start; 
    padding: 2px 4px;
}

/* .profile-img-container {
    position: relative;
} */

.positions {
    font-size: 10pt !important;
    color: #000;
    margin: 0;
    
}
.distance  {
    font-size: 10pt !important;
    color: #000;
    margin: 0;
    border-radius: 3px;
    background: #fff;
    padding: 3px;
}

.profile-name {
    font-size: 12pt !important;
    color: #fff;
    margin: 0;
    display: flex;
}
.custom-tooltip {
    z-index: 999;
    position: relative;
  --bs-tooltip-bg: var(--bd-violet-bg);
  --bs-tooltip-color: var(--bs-white);
}
.mt-5 {
    margin-top: 5rem !important;
}

.navbar-brand img{
    width: 80px;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>.col-md-3 {
    padding-right: 0;
    padding-left: 0;
}

.theme-dark .form-control {
    background-color: #fff !important;
}

.form-control {
    height: 40px;
    line-height: 2em !important;
}

textarea{
    height:100px !important;
}
.theme-dark .form-control {
    border-color: none !important;
}
/* Wrapper for positioning and styling */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px; /* Adjust width as needed */
}

/* Custom styling for select element */
.custom-select {
    appearance: none; /* Remove default styling */
    -webkit-appearance: none; /* Remove default styling in WebKit browsers */
    -moz-appearance: none; /* Remove default styling in Firefox */
    background-color: #fff; /* Background color */
    border: 1px solid #ccc; /* Border color and style */
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px; /* Padding inside the select */
    font-size: 14px; /* Font size */
    color: #333; /* Font color */
    width: 100%; /* Full width */
    cursor: pointer; /* Change cursor on hover */
    height: 40px;
}

/* Custom arrow indicator */
.custom-select::after {
    content: '▼'; /* Unicode character for the down arrow */
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none; /* Prevent arrow from interfering with click events */
    color: #333; /* Arrow color */
}

/* Hide default dropdown arrow in WebKit browsers */
.custom-select::-ms-expand {
    display: none;
}

/* Styling for focus state */
.custom-select:focus {
    outline: none; /* Remove default focus outline */
    border-color: #007bff; /* Change border color on focus */
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25); /* Optional focus shadow */
}
.proileimg{
    width: 200px;
    margin: 0 auto;
    text-align: center;
}
.bg-golden{
    background: #C3836C;
    background: linear-gradient(90deg, rgba(195, 131, 108, 1) 0%, rgba(230, 180, 156, 1) 100%);
}
.text-blue{
    color: #152a48;
}
.text-golden{
    color: #c3836c;
}
.bg-text{
    background-color: #fff;
}
.menu-icon {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline from the link */
}

.profimg {
    width: 40px; /* Adjust the size as needed */
    height: 40px; /* Adjust the size as needed */
    border-radius: 50%; /* Makes the image round */
    object-fit: cover; /* Ensures the image covers the container */
    margin-right: 8px; /* Adds space between image and text */
}
.profileimg{
    width: 297px;
    height: 352px;
}
.profile-img-container {
     aspect-ratio: 1 / 1;
    width: 100%;
    /* height: 297px;  */
    height: 100%;
    overflow: hidden;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    object-fit: cover
}
.opac{
    opacity: 0.1;
}
.profile-img-container1 {
     aspect-ratio: 1 / 1;
    width: 100%;
    /* height: 297px;  */
    height: 100%;
    overflow: hidden;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    object-fit: cover
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover; 
    /* opacity: 0.3; */
}
.profile-img-container1 img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover; 
}
.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: none;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #a2a2a2;
}
.w3-container h5{
    text-align:center;
    font-weight:light;
    text-transform: capitalize;
  }
  .w3-card{
    /* border-radius: 10px; */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  }

  .w3-hover-grayscale{
    cursor:pointer;
    /* border-radius: 10px; */
  }
  /* .text-blue{
    color:#293145 !important
  } */
  /* Hide the file input */
.file-input {
    display: none;
}
#open-image .modal-body {
    padding: 0 !important;   /* remove modal padding */
    background-color: #000 !important;
}
#openImageTag {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* or 'cover' if you want cropping */
    margin: 0;
}
/* #album-all-pics img{
    width: 100%;
    height:100%;
    object-fit: cover;
    vertical-align: middle;
} */
/* Style the image */
.upload-image {
    /* width: 100px; Adjust the size as needed */
    height: auto;
    cursor: pointer;
}

/* Optionally, add hover effects to the image */
.upload-image:hover {
    opacity: 0.8;
}

/* Hide the file input */
.file-input {
    display: none;
}


/* Modal image styling */
.img-container {
    max-width: 100%;
    max-height: 400px;
    overflow: hidden;
}

#image-preview {
    width: 100%; /* Make sure the image fits within the modal */
}
a {
    text-decoration: none;
}
.login-page {
    /* width: 100%;
    height: 90vh; */
    display: inline-block;
    display: flex;
    align-items: center;
}
.form-right i {
    font-size: 100px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show,.nav-item .dropdown {
    color: #fff;
}
.navbar-nav .nav-link.hover, .navbar-nav .nav-link.show {
    color: #fff;
}
.nav-link {
    color: #fff;
}
.nav-link:hover, .nav-tabs .nav-link:focus {
 color: #ed1c24 !important;
 background-color: #fff !important;
 border-radius: 5px;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:active {
    color: #ed1c24 !important;
    background-color: #fff !important;
    border-radius: 5px;
}
/* .nav-link:focus, .nav-link:hover {
  color: #fff !important;
  border-color: #dee2e6 #dee2e6 #fff;
} */
.btn-primary{
    border:none !important;
    text-transform: capitalize;
    background-color: #ed1c24 !important;
    color: #fff !important
}
.btn-secondary{
    border:solid 1px #ed1c24 !important;
    text-transform: capitalize;
    background-color: transparent !important;
    color: #000 !important
}
/* .profile-img-container{
    border: 1px solid #746f6f !important;
} */
.profileBorder {
    border: 0.1px solid rgba(116, 111, 111, 0.1) !important; /* last value = opacity */
}
.text-grey{
    color: #746f6f;
}

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Adjust as needed */
    background-color: #000; /* Optional background */
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures full image is visible */
    margin: auto;
}
.img-circle {
    width: 50px;       /* set desired width */
    height: 50px;      /* set desired height */
    border-radius: 50%;
    object-fit: cover; /* ensures image fills circle without distortion */
}
#userDetails{
    font-size: 10pt;
     display: block;
}
#home-area{
    overflow: hidden;
}
/* .text-blue{
    color: #0000ff !important;
} */
.text-green{
    color:#38a572 !important; 
}
/* .badge{
    box-shadow:
    inset -1px -1px 20px 0px rgba(0, 0, 0, 0.23),
    inset 1px 1px 24px 0px #eee;
} */
@media (min-width: 768px) {
 #pd{
        margin-top:40px;
        margin-left:-50px;
        /* align-items: flex-end; */
    }
}
/* #profiles-container,profile-img-container{ */
    /* background-color: #242222 !important; */
    /* --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important; */
/* } */
/* Small screens - stack name and button */

/* For mobile devices (up to 576px wide) */
@media (max-width: 576px) {
    .badge{
        font-size:12pt !important;
    }
    /* #pd{
        margin-top:-10px;
        margin-left:40px;
    } */
    #profileLike,#profileFav{
        font-size: 12pt;
    }
    .Liked-overlay {
        top: 25px !important;
    }
    .Fav-overlay {
        top:50px !important;
    }
    .Complete-overlay {
        top: 1% !important;
        align-items: flex-start;
        z-index: 999;
    }
    .Hot-overlay {
        top:75px !important;
        z-index: 999;
    }
    #home-area{
        margin-top: 50px;
        /* background-color: #242222 !important; */
    }
    .positions{
         font-size: 10px;
    }
    .profile-name {
        /* font-size: 12px !important; */
        width:100px;
        /* height: 40px; */
    }

    .profile-name span {
        font-size: 12px !important;
    }

    .d-flex.mt-2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .userChatbtn {
        margin-top: 0.4rem;
    }
     .navbar {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
    }
    .container,.row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .container,.carousel-inner, #profileImageCarousel,.carousel-item img {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0;
    }
    #chatmaxmin{
        display: block !important;
    }
}
.rainbow-text {
    background: linear-gradient(
        -70deg,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #0000ff,
        #4b0082,
        #8f00ff
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.editable {
    padding: 6px;
    border: 1px solid transparent;
    min-height: 36px;
    transition: border-color 0.3s ease;
    border-radius: 5px;
}

.editable.editing {
    border: 1px solid #007bff;
    background-color: #f9f9f9;
}
@media only screen and (max-width: 767px) {
    /* .profile-img-container {
        height: 150px;
    } */
     
    #profileForm{
        margin-top: 50px !important;
    }
}
/* Medium+ screens - keep side by side */
@media (min-width: 577px) {
    .d-flex.mt-2 {
        flex-direction: row;
    }
}
/* Mobile icon bar */
.mobile-top-icon-bar {
    display: none; /* hide by default */
}
.form-control1 {
    line-height: 30px;
    height: 20px;
    font-size: 14px;
    display: inline-block;
    border: 2px #eee solid;
}
#albumCarousel,.carousel-inner{
    background-color:  #000 !important;
}
#albums-list{
    width: 100%;
    padding-right: var(--bs-gutter-x, 15px);
    padding-left: var(--bs-gutter-x, 15px);
    margin-right: auto;
    margin-left: auto;
}
.text-white{
    color: #fff !important;
}
.cropper-container{
    height:300px !important;
}
.modal-lg1{
    height:400px !important;
}
/* =============================
   Cropper Container
   ============================= */
#cropper-container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 70vh; /* Prevent modal overflow */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* =============================
   Image inside container
   ============================= */
#cropper-container img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
}

/* =============================
   Bootstrap Modal Overrides
   ============================= */

.modal-body {
  padding: 0;
}

.modal-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
}

/* =============================
   Cropper.js UI Elements
   ============================= */
.cropper-view-box {
  box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.5);
  outline: 1px solid #39f;
  outline-color: rgba(51, 153, 255, 0.75);
}

.cropper-dashed {
  background-color: transparent;
  opacity: 0.5;
}

.cropper-point {
  background-color: #39f;
}

.cropper-center {
  background-color: transparent;
}
/* Kill the duplicated preview image inside the crop box */
.cropper-crop-box .cropper-face::before,
.cropper-crop-box .cropper-face::after,
.cropper-crop-box .cropper-face img {
  /* display: none !important; */
  background: none !important;
  /* content: none !important; */
}

/* Make crop box itself transparent */
.cropper-face {
  background: transparent !important;
}

/* Give visible border to crop box */
.cropper-view-box {
  outline: 2px solid #00aaff !important; /* change color if needed */
  background: transparent !important;
}
@media (min-width: 768px) {
    .modal{
        height: 85vh !important;
    }
    #profile-details-content{
        height: 80vh !important;
    }
}
/* =============================
   Responsive Adjustments
   ============================= */
/* Desktop */
@media (min-width: 768px) {
  #cropper-container {
    max-width: 600px;
    max-height: 500px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  #cropper-container {
    max-width: 100%;
    max-height: 60vh;
  }
  .modal-dialog {
    margin: 10px;
  }
}
/*********************mobile-bottom******************/
.mobile-bottom-icon-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        max-height: 200px !important;
        width: 100%;
        /* background-color: #000; */
        padding: 10px 0;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
        -webkit-box-shadow: 0 -2px 5px #00000033; 
        box-shadow: 0 -2px 5px #00000033;
        z-index: 2000;
    }
    .mobile-bottom-icon-bar a {
        color: white;
        font-size: 24px;
        text-decoration: none;
        transition: color 0.2s;
    }
    .mobile-bottom-icon-bar a:hover {
        color: #ef5241; /* highlight on hover */
    }
@media screen and (max-width: 768px) {
    #filterList {
        top:10px !important;
    }
    #profile-details{
        height: 80vh;
        margin-top: 45px;
    }
    /* .goog-te-banner-frame.skiptranslate {
        display: none !important;
    }*/
    .VIpgJd-ZVi9od-ORHb-OEVmcd{
        display: none !important;
        z-index: -9999 !important;
        position: absolute;
    } 
    .mobile-top-icon-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        /* position: fixed; */
        position: absolute;
        /* top: -15px !important; */
        left: 0;
        max-height: 200px !important;
        width: 100%;
        /* background-color: #000; */
        /* padding: 10px 0; */
        /* box-shadow: 0 -2px 5px rgba(0,0,0,0.2); */
        -webkit-box-shadow: 5px 5px 15px 5px #00000033; 
        box-shadow: 5px 5px 15px 5px #00000033;
        z-index: 2000;
    }
    .mobile-top-icon-bar a {
        color: white;
        width: 25%;
        font-size: 24px;
        text-decoration: none;
        transition: color 0.2s;
        text-align: right;
    }
    .mobile-top-icon-bar a:hover {
        color: #ef5241; /* highlight on hover */
    }
    .mobile-bottom-icon-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: -1px;
        left: 0;
        max-height: 200px !important;
        width: 100%;
        background-color: #000;
        padding: 10px 0;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
        -webkit-box-shadow: 0 -2px 5px #00000033; 
        box-shadow: 0 -2px 5px #00000033;
        z-index: 2000;
    }
    .mobile-bottom-icon-bar a {
        color: white;
        font-size: 24px;
        text-decoration: none;
        transition: color 0.2s;
    }
    .mobile-bottom-icon-bar a:hover {
        color: #ef5241; /* highlight on hover */
    }
}
.badge{
    cursor: pointer !important;
}
.filter.active {
    background-color: #38a572; /* Bootstrap success color */
    color: #fff;
}

.filter.inactive {
    /* background-color: #e6b49c;  */
    background-color: #152a48; 
    color: #fff;
    opacity: 0.8;
}
.badge-scroll {
    display: flex;
    flex-wrap: nowrap;       /* Keep badges in one line */
    overflow-x: auto;        /* Enable horizontal scroll */
    white-space: nowrap;     /* Prevent text wrapping */
    padding: 20px 0;
    gap: 10px;               /* Space between badges */
    scrollbar-width: thin;   /* Thin scrollbar for Firefox */
}
/* Optional: Style the scrollbar for WebKit browsers */
.badge-scroll::-webkit-scrollbar {
    height: 6px;
}

.badge-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.badge-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.badge-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.form-range{
    height: 0.1rem;
}
.text-green{
    color:#00ff00;
}
#clearFilter{
    cursor: pointer;
}
#profile_modal_close_btn{
    margin-right: 15px;
}
/* Chat list */
.filter-list {
    position: fixed;
    bottom: 55px;
    right: 0px;
    width: 350px;
    /* height: 500px; */
    /* chatList-width */
    height: var(--chatList-height);
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    display: flex;                /* keep flex always */
    flex-direction: column;
    font-family: Arial, sans-serif;
    /* background: #f9f9f9; */
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(100%);   /* start hidden (below screen) */
    transition: transform 0.4s ease-in-out;
    opacity: 0;                    /* optional fade */
    pointer-events: none;          /* prevent clicks when hidden */
}
.chatList1{
    padding: 10px;
    overflow-y: auto !important;
}
.filter-list.active {
    transform: translateY(0);      /* slide up into view */
    opacity: 1;
    
    pointer-events: auto;          /* re-enable clicks */
}
.outputValue{
    padding-right:1px;
    padding-left:1px;
    border-radius: 5px;
    border: 1px solid #a2a2a2;
}
.filter-close {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: transparent;
    border: none;
}
.smallfont{
    font-size: 10pt;
}
.editable_txt{
    background-color: #c0b4b4;
}
/* Google Translate widget customization */
#google_translate_element {
    display: inline-block !important;
    /* z-index: 9999 !important;
    position: absolute; */
    right: 0px;
    align-items: right !important;
}
.goog-te-gadget-simple {
    background: #fff !important;
    border-radius: 8px !important;
    padding: 8px 4px !important;
    border: 1px solid #ccc !important;
    vertical-align: middle !important;
}
.VIpgJd-ZVi9od-ORHb-OEVmcd{
        display: none !important;
        z-index: -9999 !important;
        position: absolute;
    } 
    body{
        top:0 !important;
    }
    #goog-gt-vt{
        /* display:none !important; */
        margin-left: 15px !important;
    }
#profileHeader{
    border-bottom: #fff solid 1px;
}