/* TezDropdown component styles */

.tez-dropdown-container {
  /* Extends shared styles from form-fields.css */
}

.tez-dropdown-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.tez-dropdown-label-container {
  flex: 1;
}

.tez-dropdown-field-container {
  flex: 1;
  max-width: 300px;
}

.tez-dropdown-select {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #ecf0f1;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.tez-dropdown-select:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
  background-color: rgba(0, 0, 0, 0.4);
}

.tez-dropdown-select:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.35);
}

.tez-dropdown-select option {
  background-color: #2c2c2c;
  color: #ecf0f1;
  padding: 8px;
}

/* Error state */
.tez-dropdown-container.error .tez-dropdown-select {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.tez-dropdown-container.error .tez-dropdown-select:focus {
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

/* Disabled state */
.tez-dropdown-container.disabled .tez-dropdown-select {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
  .tez-dropdown-content {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .tez-dropdown-field-container {
    max-width: none;
  }
} 