.det-appointment-form-style1 {
  margin: 0 auto -120px;
}
.det-header {
  background-color: #2cb4af;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 180, 219, 0.2);
}

.det-logo i {
  font-size: 1.8rem;
}

.det-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.det-nav-links {
  display: flex;
  gap: 1.5rem;
}

.det-nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.det-nav-links a:hover {
  opacity: 0.8;
}

.det-user-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.det-btn-outline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.det-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.det-btn-primary {
  background: linear-gradient(180deg, #2dc97c 0%, #2cb4af 100%);
  color: white;
  border: none;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.det-btn-primary:hover {
  background-color: #0082ad;
}

/* Search Bar */
.det-search-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
  border-radius: 12px;
  padding: 1rem 1.8rem;
  margin: 1.5rem 0 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.1);
  border: 1px solid rgba(0, 180, 219, 0.15);
}

.det-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0rem;
}

.det-search-header h2 {
  color: #2cb4af;
  font-size: 1.2rem 1.8rem;
  font-weight: 700;
}

.det-search-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.det-filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.det-filter-item label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.det-filter-select {
  padding: 0.6rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: white;
  color: #334155;
  min-width: 160px;
  transition: border-color 0.3s;
}

.det-filter-select:focus {
  outline: none;
  border-color: #2cb4af;
  box-shadow: 0 0 0 3px rgba(0, 180, 219, 0.1);
}

/* Main Content */
.det-main-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Procedure Details */
.det-procedure-details {
  background-color: white;
  border-radius: 12px;
  padding: 1rem 2rem;
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.08);
  border: 1px solid rgba(0, 180, 219, 0.1);
}

.det-procedure-code {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  background-color: #f0f9ff;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  border-left: 3px solid #2cb4af;
}

.det-procedure-title {
  color: #2cb4af;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.det-procedure-description {
  margin-bottom: 1rem;
  color: #475569;
  line-height: 1.7;
}

.det-read-more {
  color: #2cb4af;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.det-read-more:hover {
  color: #0099c8;
}

.det-results-info {
  background: linear-gradient(to right, #f0f9ff, #e6f7ff);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  border-left: 4px solid #2cb4af;
}

/* Provider Cards */
.det-provider-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.8rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.det-provider-card:hover {
  box-shadow: 0 10px 25px rgba(0, 180, 219, 0.12);
  transform: translateY(-3px);
  border-color: rgba(0, 180, 219, 0.3);
}

.det-provider-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #2cb4af;
}

.det-provider-name {
  color: #2cb4af;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.det-provider-type {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.det-provider-type i {
  color: #2cb4af;
}

.det-provider-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
}

.det-provider-location i {
  color: #2cb4af;
}

.det-provider-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.det-price-section {
  display: flex;
  gap: 2rem;
  margin-bottom: 2, 4rem;
}

.det-price-badge {
  color: #047857;
  padding: 0.2rem 0rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center;
  min-width: 120px;
}

.det-price-badge i {
  font-size: 0.9rem;
  color: #2cb4af;
}

.det-price-badge-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
  font-weight: 500;
}

.det-insurance-price {
  color: #0369a1;
  padding: 0.2rem 0rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center;
  min-width: 120px;
}

.det-insurance-price i {
  font-size: 0.9rem;
  color: #2cb4af;
}

.det-insurance-price-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
  font-weight: 500;
}

.det-provider-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.det-facility-badge {
  background-color: #f0f9ff;
  color: #2cb4af;
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.det-facility-badge i {
  font-size: 0.7rem;
}

/* Sidebar */
.det-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.det-price-summary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.08);
  border: 1px solid rgba(0, 180, 219, 0.1);
}

.det-price-summary h3 {
  color: #2cb4af;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.det-price-summary h3 i {
  color: #2cb4af;
}

.det-midpoint-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.8rem;
}

.det-price-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2cb4af;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 180, 219, 0.1);
}

.det-price-label {
  color: #64748b;
  font-size: 0.95rem;
  max-width: 250px;
}

.det-price-range {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.det-low-price,
.det-high-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  width: 48%;
}

.det-low-price {
  background-color: rgba(16, 185, 129, 0.08);
}

.det-high-price {
  background-color: rgba(239, 68, 68, 0.08);
}

.det-low-price .det-price-value {
  color: #10b981;
  font-size: 2rem;
}

.det-high-price .det-price-value {
  color: #ef4444;
  font-size: 2rem;
}

.det-range-label {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.det-insurance-toggle {
  background: linear-gradient(135deg, #f8fdff 0%, #f0f9ff 100%);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.08);
  border: 1px solid rgba(0, 180, 219, 0.1);
}

.det-toggle-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.det-toggle-header i {
  color: #2cb4af;
}

.det-toggle-header h3 {
  color: #2cb4af;
  font-size: 1.4rem;
  font-weight: 700;
}

.det-toggle-switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 32px;
  margin-bottom: 1rem;
}

.det-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.det-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.4s;
  border-radius: 34px;
}

.det-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .det-slider {
  background-color: #2cb4af;
}

input:checked + .det-slider:before {
  transform: translateX(32px);
}

.det-insurance-status {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #334155;
  font-size: 1.1rem;
}

.det-platform-resources {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.08);
  border: 1px solid rgba(0, 180, 219, 0.1);
}

.det-platform-resources h3 {
  color: #2cb4af;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.det-resource-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 4px;
  padding-left: 0.5rem;
}

.det-resource-link:hover {
  color: #2cb4af;
  background-color: rgba(0, 180, 219, 0.05);
  padding-left: 1rem;
}

.det-resource-link i {
  color: #2cb4af;
  width: 20px;
}

.det-related-procedures {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0, 180, 219, 0.08);
  border: 1px solid rgba(0, 180, 219, 0.1);
}

.det-related-procedures h3 {
  color: #2cb4af;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.det-related-procedure {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e1e1e1;
}

.det-related-procedure:last-child {
  border-bottom: none;
}

.det-related-name {
  font-weight: 500;
  color: #475569;
}

.det-related-price {
  font-weight: 600;
  color: #2cb4af;
}

/* Footer */
.det-footer {
  background-color: #2cb4af;
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

.det-footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.det-footer-section h3 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.det-footer-links {
  list-style: none;
}

.det-footer-links li {
  margin-bottom: 0.7rem;
}

.det-footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.det-footer-links a:hover {
  color: white;
}

.det-copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* Appointment Modal */
.det-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.det-modal-content {
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.det-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

.det-modal-close:hover {
  color: #334155;
}

.det-modal h3 {
  color: #2cb4af;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.det-form-group {
  margin-bottom: 1rem;
}

.det-form-group label {
  display: block;
  margin-bottom: 0.1rem;
  font-weight: 600;
  color: #475569;
}

.det-form-group input,
.det-form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
}

.det-form-group input:focus,
.det-form-group select:focus {
  outline: none;
  border-color: #2cb4af;
  box-shadow: 0 0 0 3px rgba(0, 180, 219, 0.1);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .det-main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .det-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .det-header-content {
    flex-direction: column;
    gap: 1.2rem;
  }

  .det-nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .det-search-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .det-search-filters {
    flex-direction: column;
    width: 100%;
  }

  .det-filter-item {
    width: 100%;
  }

  .det-filter-select {
    width: 100%;
  }

  .det-price-section {
    flex-direction: column;
    gap: 1rem;
  }

  .det-provider-actions {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .det-price-range {
    flex-direction: column;
    gap: 1.5rem;
  }

  .det-low-price,
  .det-high-price {
    width: 100%;
  }

  .det-footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.det-provider-card {
  animation: fadeIn 0.5s ease-out;
}

.det-provider-card:nth-child(1) {
  animation-delay: 0.1s;
}

.det-provider-card:nth-child(2) {
  animation-delay: 0.2s;
}

.det-provider-card:nth-child(3) {
  animation-delay: 0.3s;
}

.det-provider-card:nth-child(4) {
  animation-delay: 0.4s;
}

.toggle-btn {
  padding: 4px 10px;
  margin-top: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn i {
  transition: 0.3s;
}

.toggle-btn.active i {
  transform: rotate(180deg);
}

.toggle-section {
  display: none;
  padding: 12px;
  background: #f4f4f4;
  border-radius: 6px;
  margin-top: 8px;
  border: 1px solid #ddd;
}

.hospital-title {
  align-items: baseline;
}

.inside-detail {
  padding: 0.6rem 0.8rem;
  background: white;
  border-radius: 10px;
}

.inside-detail h6 {
  font-size: 1rem;
}
