body,
html {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.header {
  background-color: #f8f9fa;
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 0 0 auto;
}

.footer {
  background-color: #f8f9fa;
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  flex: 0 0 auto;
}

.content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px;
}

.center-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-large {
  width: 350px;
  font-size: 35px;
  margin-bottom: 30px;
}

.form-container {
  width: 100%;
  max-width: 580px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.editable-select-container {
  display: flex;
  flex-direction: column;
  width: 300px;
}

.editable-select-container select,
.editable-select-container input {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 5px;
}

.error {
  color: red;
  font-size: 0.9rem;
}

.is-invalid {
  border-color: red;
}

.capitalize {
  text-transform: uppercase;
}

/* Result Container Above Input */
.result-list {
  border: 1px solid #e0e0e0;
  width: 480px;
  margin-bottom: 8px;
  display: none;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 10;
}

/* Individual Result Items */
.result-item {
  padding: 12px 16px;
  /* Add spacing */
  cursor: pointer;
  border-bottom: 1px solid #dcdcdc;
  /* Subtle gray line between items */
  transition: all 0.3s ease-in-out;
  /* Smooth hover effect */
  font-size: 14px;
  /* Slightly smaller text */
  color: #333;
  /* Dark gray text */
  font-family: Arial, sans-serif;
  /* Modern font */
}

/* Remove Bottom Border for the Last Item */
.result-item:last-child {
  border-bottom: none;
}

/* Hover Effect for Items */
.result-item:hover {
  background-color: #ffffff;
  /* Light background highlight */
  color: #0078d4;
  font-weight: bold;
  /* Highlight text in blue */
  transform: translateX(5px);
  /* Slight movement to the right */
}

/* Highlight Container While User is Active */
[id^="resultContainer"]:focus-within {
  border-color: #0078d4;
  /* Blue border when active */
  box-shadow: 0px 8px 15px rgba(0, 120, 212, 0.2);
  /* Adjusted shadow */
}

[id^="resultContainer"] {
  max-height: 300px;
  /* Limit the height to 300px */
  overflow-y: auto;
  /* Add vertical scrollbar when content overflows */
  border: 1px solid #ddd;
  /* Optional: Adds a border to the result container */
  border-radius: 5px;
  /* Optional: Rounded corners for better visual */
  padding: 5px;
  /* Optional: Add padding inside the container */
  background-color: #fff;
  /* Optional: Background color */
}

/* Add a simple hover effect for list items */
[id^="resultContainer"] .result-item:hover {
  background-color: #f0f0f0;
}

.d-flex {
  display: flex;
}

.me-2 {
  margin-right: 1rem;
}

.form-label {
  display: block;
}

.mb-3 {
  margin-bottom: 0.3rem !important;
}

.form-label {
  margin-bottom: 0.3rem;
  font-weight: bold;
}

.result-item.highlighted {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.language-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.home-button {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

select {
  appearance: none;
  /* Removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  padding: 8px 30px 8px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 24 24' width='24' height='24' fill='black' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5H7z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
  width: 100%;
  /* Ensure full width */
}

.maintenance-container {
  max-width: 600px;
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.maintenance-container h1 {
  font-size: 2rem;
  color: #dc3545;
}

.maintenance-container p {
  font-size: 1.2rem;
}

button.btn-space {
  margin-left: 1em;
}

#gridAnnonceClient55 {
  width: 100%;
  table-layout: fixed;
}
