/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: -22px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  border: 3px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content h6 {
  margin-bottom: 5px;
  font-weight: 600;
}

/* Payment method radio buttons styling */
.form-check-custom .form-check-input {
  display: none;
}

.form-check-custom .form-check-input:checked + .form-check-label {
  background-color: #e3f2fd;
  border-color: #2196f3 !important;
  color: #1976d2;
}

.form-check-custom .form-check-label {
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-check-custom .form-check-label:hover {
  background-color: #f8f9fa;
  border-color: #6c757d !important;
}

/* Auto-filled input styling */
.form-control.bg-light {
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-control.bg-light:hover {
  background-color: #e9ecef !important;
}

/* Loading indicator */
.loading-indicator {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Success and info alerts in forms */
.alert.fade.show {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Phone search page styling */
.btn-group .btn {
  border-radius: 0.375rem !important;
}

.btn-group .btn:not(:last-child) {
  margin-right: 0.25rem;
}

/* Input group styling */
.input-group-lg .input-group-text {
  padding: 0.75rem 1rem;
}

/* Card shadow */
.card.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Alert improvements */
.alert h6.alert-heading {
  color: inherit;
  font-weight: 600;
}

/* Button transitions */
.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Search highlighting */
mark.bg-warning {
  background-color: #fff3cd !important;
  color: #856404;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

/* Search form improvements */
.form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Loading state for search */
.search-loading {
  opacity: 0.6;
  pointer-events: none;
}

.search-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
