:root {
  --ef-green: #2ecc71;
  --ef-green-dark: #27ae60;
  --ef-dark: #2c3e50;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #f4f7f6;
}

.navbar {
  background-color: var(--ef-dark) !important;
  border-bottom: 4px solid var(--ef-green);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: var(--ef-green) !important;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-link {
  color: #ecf0f1 !important;
  font-weight: 500;
  margin: 0 5px;
  transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--ef-green) !important;
}

.btn-ef {
  background-color: var(--ef-green);
  border-color: var(--ef-green-dark);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
}

.btn-ef:hover {
  background-color: var(--ef-green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Tom Select LG Fix */
.ts-wrapper.form-select-lg .ts-control {
  min-height: 48px !important;
  padding: 0.5rem 1rem !important;
  font-size: 1.25rem !important;
  line-height: 1.5 !important;
  border-radius: 0.5rem !important;
  display: flex;
  align-items: center;
  color: #212529 !important;
}
.ts-control, .ts-dropdown {
  color: #212529 !important;
}
/* TomSelect Clean Design Fix */
.ts-wrapper .ts-control {
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
}
.ts-wrapper .ts-control > div {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  flex: 1 !important;
}
.ts-wrapper .ts-control input {
  position: absolute !important;
  opacity: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  z-index: 1 !important;
}
.ts-wrapper.focus .ts-control input {
  opacity: 1 !important;
  background: transparent !important;
}
/* If an item is selected, keep input transparent to show the selection */
.ts-wrapper.has-items .ts-control input {
  opacity: 0 !important;
}
/* But show input when dropdown is active so user sees what they type */
.ts-wrapper.dropdown-active .ts-control input {
  opacity: 1 !important;
  position: relative !important;
  width: auto !important;
  flex: 1 !important;
  z-index: 2 !important;
}
.ts-wrapper.dropdown-active .ts-control > div {
  display: none !important;
}

.ts-control input::placeholder {
  color: #6c757d !important;
  opacity: 1;
}
.location-active .input-group-text,
.location-active .form-control,
.location-active .btn {
  border-color: #198754 !important;
  border-width: 2px !important;
}
.ts-wrapper.single .ts-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.5rem !important;
}
