/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Custom styles for datalist */
input::-webkit-calendar-picker-indicator {
  display: none !important;
}

input[list]::-webkit-input-placeholder {
  color: #6b7280;
}

input[list]:focus::-webkit-input-placeholder {
  color: transparent;
}

/* Style for Firefox */
input[list] {
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
}

/* Custom styles for mobile-friendly client search */
.client-list-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.client-list-item:hover,
.client-list-item:focus {
  background-color: #f3f4f6;
}

@media (max-width: 640px) {
  .client-list-item {
    padding: 0.75rem 1rem;
  }
}

.border-red-500 {
  border-color: #f56565 !important;
}

html,
body {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

.line-through {
  text-decoration: line-through;
}
