:root {
  --primary-color: #ff7b00;
  --secondary-color: #1a1a1a;
  --light-brown-color: #ff7b000f;
  --white-color: #ffffff;
  --border-glass: #ffffff52;
  --light-border-color: #ffffff1f;
  --bg-glass: #ffffff0a;
  --light-blue: #78d2ff;
}

.text-white {
  color: white !important;
}
.text-red {
  color: red !important;
}
.profile-order-container-height {
    max-height: 90vh; /* Ajuste la hauteur à 70% de l'écran */
    overflow-y: auto !important;
    overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
}
body {
  background-image: url("../images/bg.png");
  background-position: center top;
  background-size: cover;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  /* color: var(--white-color); */
}
#right-pannel {
  font-family: sans-serif;
}

/* Tabs */
.btn-custom-tab {
    backdrop-filter: blur(12px);
    background: var(--bg-glass);
    border-radius: 12px;
    padding: 10px 20px;
    /* background: #1a1a1aff; Match your container background */
    border: 1px solid #333;
    color: #fff;
    transition: 0.3s;
}
.gallery-custom-input,
.gallery-custom-select {
  width: 100%;
  height: 60px;
  border-radius: 8px;
  padding: 0 10px;
  border: 1.5px solid var(--light-border-color);
  outline: none;
  font-size: 14px;
  color: var(--white-color);
}
.gallery-custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.gallery-custom-input::placeholder {
  color: black;
}
.btn-custom-tab.active {
    background: #962525ff; /* Match your primary theme color */
    border-color: #962525ff;
}

.btn-custom-tab:hover {
    border-color: #962525ff;
    color: #fff;
}



.font-size-14 {
  font-size: 14px !important;
}

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

.rad-6 {
  border-radius: 6px;
}

.rad-8 {
  border-radius: 8px;
}

.rad-10 {
  border-radius: 10px;
}

.rad-12 {
  border-radius: 12px;
}

.rad-16 {
  border-radius: 16px;
}

.rad-24 {
  border-radius: 24px;
}

.rad-top-left-right-16 {
  border-radius: 16px 16px 0px 0px;
}

a {
  text-decoration: none;
}

.container-background-color {
  backdrop-filter: blur(12px);
  background: var(--bg-glass);
}

.container-low-blur-background {
  backdrop-filter: blur(2px);
  background: var(--bg-glass);
}

.container-background-color-with-border {
  backdrop-filter: blur(12px);
  background: var(--bg-glass);
  border: 1.5px solid var(--border-glass);
}

body {
  color: var(--white-color);
}

.models-background-color {
  background-color: #20213a;
}

.model-close-btn {
  position: absolute !important;
  right: 1rem !important;
}

.light-blue-color:hover {
  color: var(--light-blue);
}

.cursor-pointer {
  cursor: pointer;
}

.max-width-container {
  max-width: 1260px;
}

/* ===================    ✨    Navbar    ✨   ============================  */

/* Navbar */




/* Background */
.app-navbar-bg {
  /* background: linear-gradient(90deg, #1b1b2f, #22223b); */
  background-color: var(--bg-glass);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure the mobile menu has a solid background */
.offcanvas.app-navbar-bg {
    background-color: #1a1d21 !important; /* Use your dark brand color here */
    color: white;
}

/* Style for active links in mobile menu */
.offcanvas .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: 0.3s;
}

.offcanvas .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding-left: 15px !important;
}

/* Darken the page background when menu is open */
.offcanvas-backdrop.show {
    opacity: 0.7;
    background-color: #000;
}

/* Full-screen wrapper */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1d21; /* Match your brand's dark background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Stay on top of everything */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* The Spinner */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #ffffff; /* Your brand color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Class to hide the loader */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}
/* Nav Buttons */
.navbar-link-btn {
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffffd9;
  border: 1px solid #ffffff40;
  transition: 0.25s;
}

.navbar-link-btn:hover {
  background: white;
  /* color: #ff8400 !important; */
  color: var(--primary-color);
  font-weight: 700;
  border-color: white;
  box-shadow: 0 0 10px #ffffff50;
}

/* Active State */
.navbar-link-btn.active {
  background: #ff8400;
  border-color: #ff8400;
  color: white;
  font-weight: 600;
  box-shadow: 0 0 12px #ff840060;
}

/* Badge */
.trial-badge {
  background: #ff8400;
  padding: 6px 14px;
  /* border-radius: 40px; */
  font-size: 14px;
  font-weight: 600;
  color: white;
}

/* Icon Button */
.btn-icon {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 8px;
  border-radius: 14px;
  transition: 0.25s;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Mobile Menu Hidden */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  background-color: var(--bg-glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeDown 0.3s ease;
}

/* Animation */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Button */
.mobile-menu-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  padding: 4px;
  display: flex;
  align-items: center;
}



/* If you want to strictly use your 480px breakpoint: */
@media (max-width: 480px) {
  .marcheo-search-btns {
    width: 100%;
  }
  .top_search_icon{
    display: none;
  }
  .marcheo-search-btns .btn {
    flex-grow: 1;
  }
}

/* ===================    ✨   Footer Section    ✨   ============================  */

.marcheo-footer-links a {
  color: white;
  text-decoration-color: #0284c7 !important; /* underline color */
}

.marcheo-footer-links a:hover {
  color: #0284c7;
  text-decoration-color: #0284c7 !important; /* underline color */
}

.nav-link {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: white;
}
.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active,
.nav-link:active,
.nav-link:focus {
  color: var(--primary-color) !important;
  font-weight: 700;
  box-shadow: none !important;
  outline: none !important;
}
.marcheo-main-heading {
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  letter-spacing: 0%;
  width: 840px;
  /* text-transform: capitalize; */
}

.marcheo-main-subheading {
  font-weight: 500;
  font-size: 22px;
  line-height: 36px;
  letter-spacing: 0%;
  opacity: 0.7;
  width:940px;
  text-align: center;
}

/*  =================     Support left card     ===========================   */

/* support left first box */

/* Icon box */
.support-left-first-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: var(--primary-color);
}

.support-icon-width-height {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Title */
.support-left-first-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 50px;
  text-align: start;
}

/* List */
.support-left-first-list {
  padding-left: 0;
  margin-left: 24px;
  text-align: left;
  font-size: 18px;
  line-height: 36px;
}

.support-left-first-list li {
  margin-bottom: 10px;
  /* position: relative; */
  opacity: 0.8;
}

/* Button */
.support-left-first-btn {
  background: var(--primary-color);
  padding: 18px 24px;
  font-weight: 700;
  border-radius: 16px;
}

/* support left second box */

.support-left-second-card {
  border-radius: 24px;
  color: var(--white);
  background: var(--light-brown-color);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-left-second-icon-box {
  border: 1px solid var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-brown-color);
  backdrop-filter: blur(12px);
}

.alert-icon-width-height {
  width: 24px;
  height: 24px;
  object-fit: cover;
}
.support-left-second-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 50px;
}

.support-left-second-para {
  /* padding-inline: 15px; */
  font-size: 19px;
  line-height: 30px;
}



/* RESPONSIVE CSS */

/* 🔥 Mobile responsive: move links to left side */
@media only screen and (max-width: 768px) {
  .marcheo-main-heading {
    font-size: 24px;      /* Reduced from 50px */
    line-height: 40px;    /* Reduced from 60px */
    width: 100%;         /* Ensures it doesn't overflow the screen */
    text-align: center;   /* Optional: centers text for better mobile look */
  }

  .marcheo-main-subheading {
    font-size: 18px;      /* Reduced from 22px */
    line-height: 28px;    /* Reduced from 36px */
    padding: 0 15px;      /* Optional: adds some breathing room on sides */
  }
  .text-footer-left {
    text-align: left;
  }
  .top_search_icon {
    display: none;
  }
  .marcheo-footer-links {
    justify-content: flex-start !important;
    text-align: left;
    gap: 6px;
    flex-wrap: wrap;
  }
}

.search-input-width {
  width: 100%;
}

.search-input {
  border-radius: 10px;
  font-size: 14px;
  padding-right: 40px;
  background-color: transparent;
  color: white;
  border: 2px solid #ffffff1c;
}

.search-input::placeholder {
  color: white;
  opacity: 0.5;
}

.search-input:focus {
  border: 1px solid #ff7b00;
  box-shadow: 0 0 5px rgba(255, 123, 0, 0.5);
  background: transparent;
  color: white;
  outline: none;
}

/* Position the search icon inside input */
.search-icon {
  position: absolute;
  right: 1%;
  top: 25%;
  color: white;
  font-size: 30px;
}

/*icon color on focus */
.search-input:focus + .search-icon {
  color: #ff7b00;
}

/* General button styling */
.btn {
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5; /* keep text vertically centered */
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  display: inline-flex; /* flex ensures vertical center */
  align-items: center; /* vertical center */
  justify-content: center; /* horizontal center */
  min-height: 48px; /* fixes button height across text changes */
  white-space: nowrap; /* prevents text from wrapping */
}

/* Effacer button */
.btn-clear {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background-color: transparent;
}

.btn-clear:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Analyser button */
.btn-analyse {
  color: white;
  border: 1px solid white;
}

.btn-analyse:hover {
  background-color: white; /* main theme color, green example */
  color: var(--primary-color);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    min-height: 42px;
  }
}

.stats-section {
  gap: 1rem; /* space between items */
}

.stat-item {
  padding: 1rem 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white-color);
}

.stat-text {
  font-size: 0.95rem;
  color: var(--white-color);
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-section {
    flex-direction: column;
    /* text-align: center; */
  }
  .stat-item {
    margin-bottom: 1rem;
  }
}

.marcheo-headings {
  font-weight: 800;
  font-size: 24px;
}

.why-marcheo-subheading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white-color);
}

.stats-section {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, 1fr); /* Default 1 column */
}

/* Medium screens - 2 columns */
@media (min-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large screens - 3 columns */
@media (min-width: 1024px) {
  .stats-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1. Small Screens (Default: Mobile) - 1 Column */
.details-grid {
  display: grid;
  gap: 20px 16px; /* Vertical and horizontal gap */
  grid-template-columns: repeat(1, 1fr);
}

/* 2. Medium Screens (e.g., Tablet) - 2 Columns */
@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3. Large Screens (e.g., Desktop) - 3 Columns */
@media (min-width: 1200px) {
  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.w-540-m-auto {
  width: 540px;
  margin: 0 auto;
}

.br-24 {
  border-radius: 12px;
  padding: 10px 15px;
}

.model-close-btn {
  position: absolute !important;
  right: 1rem !important;
}

.btn-icon-14 {
  border: none;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.fs-20-bold-white {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
  color: white;
}


.form-control1 {
  display: block;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}
.form-control1::placeholder {
  color: #fff; /* Sets the placeholder color to red */
  opacity: 1; /* Ensures full opacity in Firefox, which defaults to a lower opacity */
}

.submit-button {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid #ff7b00;
  color: white;
  font-size: 14px;
  font-weight: 700;
  background-color: #ff7b00;
}

.fs-14-regular-fff {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.lot-summary-box {
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--white-color);
}

.marcheo-company-search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  height: 100vh;
  overflow-y: auto;
}

/* Reset default appearance */
progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
}

/* Background (track) */
progress::-webkit-progress-bar {
  background-color: rgba(255, 255, 255, 0.15); /* soft dark bg */
  border-radius: 999px;
}

/* Filled part (value) */
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #ffffff, #ff7b00);
  border-radius: 999px;
}

/* Firefox */
progress::-moz-progress-bar {
  background: linear-gradient(90deg, #ffffff, #ff7b00);
  border-radius: 999px;
}

progress {
  margin-top: 6px;
}

.offers-header {
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offers-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 10px;
}

.offers-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* winner row */
.offers-row.winner {
  background: linear-gradient(
    90deg,
    rgba(2, 132, 199, 0.15),
    rgba(34, 197, 94, 0.08)
  );
}

/* status badge */
.status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
  width: fit-content;
}

.text-success {
  font-weight: 900 !important;
  
}
.text-danger {
  font-weight: 900 !important;
}
.status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.status.closed {
  background-color: rgba(255, 255, 255, 0.1);
}

/* scroll container */
.marcheo-company-search-box {
  height: 550px;
  overflow-y: auto;
}

.offers-grid {
  display: grid;
  align-content: start;
  font-size: 12px;
}

.offers-header,
.offers-row {
  display: grid;
  grid-template-columns: 40px 2fr 1.2fr 1.8fr 1.2fr 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 10px 0;
  min-height: 48px;
}

.offers-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.offers-row.winner {
  background: linear-gradient(
    90deg,
    rgba(2, 132, 199, 0.15),
    rgba(34, 197, 94, 0.08)
  );
}

/* ========================   Custom scrollbar  =======================   */

.custom-scroll::-webkit-scrollbar {
  width: 4px;
  height: 2px;
  border-radius: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: var(--bg-glass);
  border-radius: 9999px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background-color: #a0a0a0;
  border-radius: 9999px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #6b6b6b;
}

@media (max-width: 720px) {
  .marcheo-company-search-box {
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .offers-grid {
    min-width: 700px;
  }
}