.quotation-widget {
  display: block;
  font-family: Arial, sans-serif;
  --primary-color: #28a745; /* Green */
  --secondary-color: #6c757d; /* Gray */
  --background-color: #f8f9fa; /* Light gray */
  --card-background: #ffffff;
  --border-color: #ced4da;
  --text-color: #343a40;
  --heading-color: #000000;
}

.quotation-widget {
  background-color: #F5DEB3; /* Light wheat */
  padding: 20px;
  border-radius: 8px;
  /* max-width: 500px;
  margin: 20px auto; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  color: var(--heading-color);
  font-size: 1.8em;
  margin-bottom: 5px;
}

.header p {
  color: var(--secondary-color);
  font-size: 0.9em;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.tabs button {
  flex: 1;
  padding: 15px 10px;
  border: none;
  background-color: #e9ecef; /* Light background for inactive tabs */
  color: var(--text-color);
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tabs button span {
  font-size: 0.8em;
  color: var(--secondary-color);
  margin-top: 5px;
}

.tabs button.active {
  background-color: var(--primary-color);
  color: #ffffff;
}

.tabs button.active span {
  color: #ffffff;
}

.tabs button:hover:not(.active) {
  background-color: #dee2e6;
}

.form-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.suggestions {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  color:brown;
  font-size:medium;
  font-family: Calibri;
}

.suggestions li {
  padding: 10px;
  cursor: pointer;
}

.suggestions li:hover {
  background-color: #f0f0f0;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1em;
  color: var(--text-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.file-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
  position: relative;
}

.file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-box p {
  margin: 5px 0;
  color: var(--secondary-color);
}

.file-upload-box p:first-of-type {
  font-weight: bold;
  color: var(--text-color);
}

.switch-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 8px;
}

.switch-group label {
  margin-right: 8px;
  font-weight: bold;
  font-style: italic;
  font-size: 14px;
  color: #495057;
  cursor: pointer;
  user-select: none;
}

.switch-group input[type="checkbox"] {
  margin-right: 12px;
  width: 16px;
  height: 16px;
  accent-color: #6f42c1;
  cursor: pointer;
}

.switch-group input[type="checkbox"]:checked {
  background-color: #6f42c1;
  border-color: #6f42c1;
}

.switch-group input[type="checkbox"]:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.switch-group input[type="checkbox"]:focus {
  outline: 2px solid rgba(111, 66, 193, 0.3);
  outline-offset: 2px;
}

.item-details, .item-dimensions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.item-details input, .item-dimensions input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9em;
  box-sizing: border-box;
   max-height: 200px;
  overflow-y: auto;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px; /* Add some space between title and button */
}

.item-input-options {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: blue;
  font-size: medium;
}

.addons-container {
  position: relative;
  display: flex; /* Align button properly */
  align-items: center;
}

.addons-dropdown {
  position: absolute;
  top: 100%; /* Position it right below the button */
  right: 0; /* Align to the right of the container */
  background-color: white;
  border: 1px solid #ccc;
  list-style-type: none;
  margin: 5px 0 0 0;
  padding: 0;
  width: 300px; /* Or a suitable width */
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
}

.addons-dropdown li {
  padding: 10px;
  cursor: pointer;
  list-style-type: none; /* Remove bullets */
  color: blue;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  
}

.addons-dropdown li:hover {
  background-color: #f0f0f0;
}

.btn-add {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.5em;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selected-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.selected-addon {
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.selected-addon:hover {
  background-color: #218838;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-delete {
  background: none;
  border: none;
  color: red;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Simplified Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 12px;
}

.modal-content {
  background: white;
  border-radius: 6px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  text-align: left;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color), #34d399);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #218838, #059669);
}

.btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ef4444;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  cursor: pointer;
  z-index: 10;
}

.btn-close:hover {
  background: #dc2626;
}

.quote-details {
  padding: 24px;
  text-align: left;
}

.quote-details h2 {
  margin: 0 0 20px 0;
  font-size: 1.5em;
  font-weight: 700;
  color: #1f2937;
  text-align: left !important;
  letter-spacing: -0.025em;
}

.quote-summary {
  background: white;
  padding: 12px 0;
  margin-bottom: 12px;
}

.quote-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #34d399);
}

.route-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  margin-left: 0;
  margin-right: 0;
}

.route-item {
  background: white;
  padding: 12px 0;
}

.route-label {
  font-size: 0.75em;
  color: #6b7280;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.route-value {
  font-size: 1em;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.4;
}

.quote-details hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0;
}

.quote-details h4 {
  margin: 24px 0 16px 0;
  color: #374151;
  font-size: 1.05em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


.quote-details p {
  margin: 8px 0;
  line-height: 1.6;
  color: #475569;
}

.item-details-modal {
  background: white;
  padding: 12px;
  margin-bottom: 8px;
  margin-left: 0;
  margin-right: 0;
}

.item-details-modal h5 {
  margin: 0 0 12px 0;
  color: #374151;
  font-size: 1.1em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-details-modal h5::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 2px;
  flex-shrink: 0;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0;
  margin-left: 0;
  margin-right: 0;
}

.service-item {
  background: white;
  padding: 8px;
}

.service-label {
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-value {
  color: #4b5563;
  font-size: 0.9em;
  font-weight: 500;
}

.rate-highlight {
  background: var(--primary-color);
  color: white;
  padding: 18px;
  margin: 20px 0;
  text-align: center;
}

.rate-highlight strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rate-highlight p {
  margin: 6px 0;
  font-size: 1.4em;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-actions {
  margin-top: 16px;
  padding: 16px 20px;
  background: white;
}

.modal-actions .form-group {
  margin-bottom: 16px;
}

.modal-actions .form-group:last-child {
  margin-bottom: 0;
}

.contact-info {
  margin-top: 12px;
  padding: 10px 16px;
  background: white;
  font-size: 0.8em;
  color: #92400e;
  text-align: center;
  line-height: 1.4;
}

.contact-info strong {
  color: #b45309;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #218838;
  text-decoration: underline;
}

/* Simple scrollbar styling */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 3px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.form-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-actions .btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.form-actions .btn-secondary:hover {
  background-color: #5a6268;
}

.form-actions .btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.form-actions .btn-primary:hover:not(:disabled) {
  background-color: #218838;
}

.form-actions .btn-primary:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-actions .btn-secondary:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.powered-by {
  text-align: center;
  margin-top: 30px;
  font-size: 0.8em;
  color: var(--secondary-color);
}

.powered-by a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.powered-by a:hover {
  text-decoration: underline;
}

/* Alert Styles */
.alert-message {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  margin: 15px 0;
  color: #856404;
  font-size: 1em;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-message strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1em;
}

/* File Upload Styles */
.file-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
  position: relative;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.file-upload-box:hover {
  border-color: var(--primary-color);
  background-color: #f0f8ff;
}

.file-upload-box.drag-over {
  border-color: var(--primary-color);
  background-color: #e8f5e8;
  transform: scale(1.02);
}

.file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-info-box {
  background-color: #f8f9fa;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.file-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-icon {
  font-size: 2em;
  color: var(--primary-color);
}

.file-text {
  flex: 1;
}

.file-name {
  margin: 0 0 4px 0;
  font-weight: 600;
  color: var(--text-color);
  word-break: break-all;
}

.file-size {
  margin: 0;
  font-size: 0.9em;
  color: var(--secondary-color);
}

.btn-delete-file {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.btn-delete-file:hover {
  background: #c82333;
}

/* Required Field Indicators */
.form-group label {
  position: relative;
}

.form-group label::after {
  content: " *";
  color: #dc3545;
  font-weight: bold;
}

/* Remove asterisks from optional fields */
.switch-group label::after,
.form-group textarea + label::after,
.form-group input[type="file"] + label::after,
label[for*="residential"]::after,
label[for*="tailLift"]::after,
label[for="residentialPickup"]::after,
label[for="tailLiftPickup"]::after,
label[for="residentialDelivery"]::after,
label[for="tailLiftDelivery"]::after {
  content: "";
}

/* Toaster Styles */
.toaster-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  pointer-events: none;
}

.toaster-message {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  animation: slideInRight 0.3s ease-out;
  pointer-events: auto;
  border-left: 4px solid;
  position: relative;
  overflow: hidden;
}

.toaster-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

.toaster-success {
  border-left-color: #28a745;
  background: linear-gradient(135deg, #f8f9fa 0%, #d6fdd6 100%);
}

.toaster-error {
  border-left-color: #dc3545;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffd2d2 100%);
}

.toaster-info {
  border-left-color: #17a2b8;
  background: linear-gradient(135deg, #f8f9fa 0%, #c4fdfd 100%);
}

.toaster-content {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

.toaster-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toaster-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #666;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animation removed for cleaner design */

/* Responsive Modal Design */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 12px;
  }

  .modal-content {
    max-height: 90vh;
    border-radius: 8px;
  }

  .quote-details {
    padding: 16px;
  }

  .route-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 8px;
  }

  .modal-content {
    max-height: 95vh;
  }

  .quote-details {
    padding: 12px;
  }

  .modal-actions {
    padding: 16px;
  }
}

/* Form styling for modal */
.modal-actions input[type="text"],
.modal-actions input[type="email"] {
  font-family: inherit;
  box-sizing: border-box;
}

.modal-actions input[type="text"]:focus,
.modal-actions input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Responsive toaster */
@media (max-width: 768px) {
  .toaster-container {
    left: 20px;
    right: 20px;
    top: 20px;
    max-width: none;
  }

  .toaster-message {
    font-size: 13px;
    padding: 10px 14px;
    min-height: 45px;
  }
}


