/* ===================================
   HERO SEARCH COMPONENT
   =================================== */

.hero-search-container {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.tab-container {
  display: flex;
  margin-bottom: 20px;
  border-bottom: none;
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow: visible;
}

.tab {
  flex: 1 1 auto;
  padding: 12px 4px;
  border: none;
  background-color: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}

.tab-active {
  color: #E30A1D;
  font-weight: 700;
  border-bottom: 3px solid #E30A1D;
}

.tab:hover:not(.tab-active) {
  color: #E30A1D;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.field-container {
  display: flex;
  flex-direction: column;
}

.field-container-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  color: #2a2f43;
  margin-bottom: 5px;
}

.label-checkbox {
  font-size: 12px;
  font-weight: 600;
  color: #2a2f43;
  cursor: pointer;
  margin: 0;
}

.input,
.select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  background-color: white;
  transition: border-color 0.3s ease;
}

.input:focus,
.select:focus {
  border-color: #E30A1D;
}

.checkbox {
  width: 16px;
  height: 16px;
  accent-color: #E30A1D;
  cursor: pointer;
}

.button-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.button-group {
  display: flex;
  gap: 10px;
}

.button {
  height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
}

.button-primary {
  background-color: #3F486F;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.button-primary:hover {
  background-color: #2a2f43;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(63, 72, 111, 0.3);
}

.button-secondary {
  background-color: #6c757d;
  color: white;
}

.button-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.button-danger {
  background-color: #24AD73;
  color: white;
}

.button-danger:hover {
  background-color: #1e8f5f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(36, 173, 115, 0.3);
}

.button span[aria-hidden="true"] {
  font-weight: 700;
  font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-search-container {
    padding: 20px 15px;
    border-radius: 8px;
    max-width: 100%;
    margin: 0 15px;
    overflow: hidden;
  }

  .tab-container {
    margin-bottom: 15px;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }

  .tab {
    flex: 0 1 auto;
    padding: 10px 4px;
    font-size: 11px;
    min-width: 0;
    text-align: center;
    line-height: 1.2;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 15px;
  }

  .button-container {
    flex-direction: column;
    gap: 8px;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .button {
    width: 100%;
    height: 44px;
    padding: 12px 16px;
    font-size: 15px;
    justify-content: center;
  }
}

