/* Variables moved to typography.css and colors.css */

/* Styles moved to base-clean.css */


/* Search Bar Styles */
.search-container {
  padding: 0 20px 20px 20px;
  width: 100%;
}


.search-input {
  display: flex;
  width: 429px;
  height: 56px;
  padding: 0 20px;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid var(--Gray-200, #E5E7EB);
  background: var(--White, #FFF);
}

.search-input input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 0;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  pointer-events: none;
}



.main-content .home-content {
  height: 60px;
  display: flex;
  align-items: center;
}

.main-content .home-content .bx-menu,
.main-content .home-content .text {
  color: #11101d;
  font-size: 35px;
}

.main-content .home-content .bx-menu {
  margin: 0 15px;
  cursor: pointer;
}

.main-content .home-content .text {
  font-size: 26px;
  font-weight: 600;
}

/* Hide the pin icon by default */
.d-flex .remove-favorite,
.d-flex .add-favorite {
  font-size: 12px !important;
  /* Force the size to 6px */
  cursor: pointer;
}


/* Hide the pin icon by default */
.d-flex .remove-favorite,
.d-flex .add-favorite {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show the pin icon when hovering over the .d-flex container */
.d-flex:hover .remove-favorite,
.d-flex:hover .add-favorite {
  visibility: visible;
  opacity: 1;
}


h2 {
  font-size: var(--fs-text-lg);
  font-weight: var(--font-weight-semibold);
  gap: 16px;
  padding: 16px 5px;
}


#content-container {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 0 20px;

}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-600);
  font-size: var(--fs-text-sm);
  margin: -16px 16px 16px 5px;
}

.breadcrumbs a {
  color: var(--color-gray-700);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: var(--color-yellow-600);
}

.breadcrumbs .current {
  color: var(--color-gray-600);
}

.breadcrumbs .icon {
  font-size: 14px;
  color: var(--color-yellow-600);
  margin-right: 4px;
}

.search-hero {
  position: relative;
  /* Needed for absolute positioning */
  display: flex;
  align-items: center;
  gap: 24px;
  background: #F7F9FC;
  border: 1px solid #EEF2F7;
  border-radius: 20px;
  padding: 20px 32px 20px 240px;
  /* extra left padding for text so it doesn't overlap image */
  overflow: visible;
  /* allow the illustration to stick out */
}

/* Illustration overflowing the container */
.search-hero .illustration {
  position: absolute;
  left: -10px;
  top: 30%;
  transform: translateY(-50%);
  width: 240px;
}

/* Content area */
.search-hero-content {
  flex: 1;
}

.search-hero-content h3 {
  margin: 0 0 4px;
  color: #0B2E5C;
  font-weight: 700;
  font-size: 1.4rem;
}

.search-hero .field-label {
  font-size: 0.9rem;
  color: var(--color-gray-600, #6B7280);
  margin-bottom: 6px;
}

/* Form */
.search-hero form {
  display: flex;
  align-items: center;
  gap: 8px;
}




/* .input-group {
  display: flex;
padding: 0 5px;
align-items: center;
gap: 5px;
flex: 0 0 1;
} */

/* Outlined input field styling */
.outlined-input {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 5px 12px 6px 30px;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 56px;
  width: 100%;
}

.outlined-input:focus-within {
  border-color: #0B2E5C;
  box-shadow: 0 0 0 4px rgba(11, 46, 92, 0.08);
}

.outlined-input .input-wrapper {
  position: relative;
  flex: 1;
}

.outlined-input .input-wrapper input, .outlined-input .input-wrapper select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #0F172A;
}

.outlined-input .input-wrapper input::placeholder, .outlined-input .input-wrapper select::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

.outlined-input .input-wrapper label {
  position: absolute;
  top: -20px;
  left: -15px;
  background: #fff;
  padding: 0 4px;
  font-size: 12px;
  color: #0A2A52;
  pointer-events: none;
  transition: all 0.2s ease;
  font-weight: var(--font-weight-medium);
  font-size: var(--fs-text-md);
  font-family: var(--font-family-base);
}

.outlined-input:focus-within .input-wrapper label {
  color: #0B2E5C;
  font-weight: 600;
}

/* Icon positioning for outlined inputs */
.icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 16px;
  z-index: 1;
}

.clear-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.2s ease;
}

.clear-input:hover {
  color: #6B7280;
}

a.demand-detail-link, a.patient-detail-link {
  color: var(--color-primary-900) !important;
  text-decoration: none !important;
}

a.urgent-demand-detail-link {
  color: var(--color-red-700) !important;
  text-decoration: none !important;
}

a.demand-detail-link:hover, a.patient-detail-link:hover {
  color: var(--color-primary-900) !important;
  text-decoration: underline !important;
}

a.urgent-demand-detail-link:hover {
  color: var(--color-red-700) !important;
  text-decoration: underline !important;
}
  .htmx-request .btn-content {
    opacity: 0;
  }
  
  /* Afficher le spinner pendant la requête */
  .htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
  }
  
  .htmx-request .htmx-indicator {
    opacity: 1;
  }