/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #0073AA;
  --primary-dark: #005B87;
  --dark: #333333;
  --light: #F2F2F2;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: #333333;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #333333;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.shadow-premium {
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

.shadow-premium-hover:hover {
  box-shadow: 0 20px 40px -10px rgba(0,115,170,0.15);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Smooth transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

/* Telehealth Phone Mockup */
.telehealth-phone-frame {
  background-color: #0c1524 !important;
  padding: 0.85rem !important;
  border-radius: 2.75rem !important;
  border: 4px solid #1e293b !important;
  box-shadow: 0 35px 65px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.telehealth-phone-screen {
  background-color: #ffffff !important;
  border-radius: 2.15rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(243, 244, 246, 0.8) !important;
}

.telehealth-screen-header {
  background-color: #0073AA !important;
  padding: 0.85rem 1.15rem !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.telehealth-screen-header .title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
  color: #ffffff !important;
}

.telehealth-screen-header .live-badge {
  background-color: rgba(255, 255, 255, 0.22) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  padding: 0.2rem 0.65rem !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
}

.telehealth-photo-container {
  position: relative !important;
  height: 20rem !important;
  overflow: hidden !important;
  background-color: #f8fafc !important;
}

.telehealth-photo-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.telehealth-doctor-badge {
  position: absolute !important;
  bottom: 0.85rem !important;
  left: 0.85rem !important;
  background-color: rgba(12, 21, 36, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.telehealth-action-bar {
  padding: 1.15rem 1.25rem !important;
  background-color: #ffffff !important;
  border-top: 1px solid #f3f4f6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.telehealth-action-bar .action-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #1a1a1a !important;
}

.telehealth-action-bar .action-subtitle {
  font-size: 0.75rem !important;
  color: #9ca3af !important;
  font-weight: 500 !important;
  margin-top: 0.15rem !important;
}

.telehealth-action-bar .btn-start-visit {
  background-color: #0073AA !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3) !important;
  transition: all 0.2s ease !important;
}

.telehealth-action-bar .btn-start-visit:hover {
  background-color: #005B87 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 115, 170, 0.4) !important;
}

/* Nav Book Visit Button */
.nav-book-visit-btn {
  background-color: #0073AA !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px -5px rgba(0, 115, 170, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-book-visit-btn:hover {
  background-color: #005B87 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 24px -5px rgba(0, 115, 170, 0.45) !important;
}

/* Hero Book an Appointment Card */
.hero-booking-card {
  background-color: #ffffff !important;
  border-radius: 1.75rem !important;
  padding: 1.75rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(243, 244, 246, 0.8) !important;
}

.hero-booking-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #f3f4f6 !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1.15rem !important;
}

.hero-booking-header h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  color: #005B87 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.hero-booking-header p {
  font-size: 0.8rem !important;
  color: #9ca3af !important;
  margin: 0.25rem 0 0 0 !important;
}

.hero-booking-calendar-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 9999px !important;
  background-color: rgba(0, 115, 170, 0.1) !important;
  color: #0073AA !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.hero-booking-item {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 1.15rem !important;
  background-color: #f9fafb !important;
  border: 1px solid #f3f4f6 !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.hero-booking-item-dot {
  width: 0.55rem !important;
  height: 0.55rem !important;
  border-radius: 9999px !important;
  background-color: #0073AA !important;
  flex-shrink: 0 !important;
}

.hero-booking-item-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
  color: #1a1a1a !important;
  line-height: 1.25 !important;
  transition: color 0.2s ease !important;
}

.hero-booking-item-badge {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  display: block !important;
  margin-top: 0.1rem !important;
  transition: color 0.2s ease !important;
}

.hero-booking-item-arrow {
  color: #9ca3af !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  flex-shrink: 0 !important;
}

/* Hover & Focus Interaction */
.hero-booking-item:hover,
.hero-booking-item:focus {
  background-color: #f0f9ff !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 4px 14px -2px rgba(0, 115, 170, 0.12) !important;
  transform: translateY(-1px) !important;
}

.hero-booking-item:hover .hero-booking-item-title,
.hero-booking-item:focus .hero-booking-item-title {
  color: #0073AA !important;
}

.hero-booking-item:hover .hero-booking-item-badge,
.hero-booking-item:focus .hero-booking-item-badge {
  color: #0284c7 !important;
}

.hero-booking-item:hover .hero-booking-item-arrow,
.hero-booking-item:focus .hero-booking-item-arrow {
  color: #0073AA !important;
  transform: translateX(4px) !important;
}

/* Floating Send Text Button */
.open-send-text-modal {
  position: fixed !important;
  bottom: 2rem !important;
  left: 0 !important;
  z-index: 60 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background-color: #005B87 !important;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1rem 0.75rem 0.75rem !important;
  border-top-right-radius: 9999px !important;
  border-bottom-right-radius: 9999px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.open-send-text-modal:hover {
  background-color: #0073AA !important;
  transform: translateX(2px) !important;
}

@media (max-width: 768px) {
  .open-send-text-modal {
    bottom: 5.5rem !important;
  }
}

/* Send Text Modal */
#send-text-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 70 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding: 1.5rem !important;
  background-color: transparent !important;
  pointer-events: none !important;
}

#send-text-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  pointer-events: auto !important;
}

.send-text-modal-panel {
  width: 390px !important;
  max-width: calc(100vw - 2rem) !important;
  height: 590px !important;
  max-height: calc(100vh - 2.5rem) !important;
  border-radius: 1.15rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 75 !important;
  pointer-events: auto !important;
}

.send-text-modal-header {
  background-color: #005B87 !important;
  color: #ffffff !important;
  padding: 0.85rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
}

.send-text-modal-header h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  color: #ffffff !important;
}

.send-text-modal-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 1.25rem 1.35rem !important;
  background-color: #ffffff !important;
}

.send-text-modal-body::-webkit-scrollbar {
  width: 5px !important;
}
.send-text-modal-body::-webkit-scrollbar-track {
  background: #f3f4f6 !important;
}
.send-text-modal-body::-webkit-scrollbar-thumb {
  background: #9ca3af !important;
  border-radius: 9999px !important;
}

.send-text-modal-body input[type="text"],
.send-text-modal-body input[type="tel"],
.send-text-modal-body input[type="email"],
.send-text-modal-body textarea {
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 0.95rem !important;
  font-size: 0.875rem !important;
  color: #1f2937 !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  background-color: #ffffff !important;
}

.send-text-modal-body input:focus,
.send-text-modal-body textarea:focus {
  border-color: #0073AA !important;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15) !important;
}

.send-text-modal-body input::placeholder,
.send-text-modal-body textarea::placeholder {
  color: #9ca3af !important;
  font-size: 0.875rem !important;
}

.send-text-phone-group {
  display: flex !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
}

.send-text-phone-group:focus-within {
  border-color: #0073AA !important;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15) !important;
}

.send-text-phone-prefix {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.75rem 0.85rem !important;
  background-color: #f9fafb !important;
  border-right: 1px solid #e5e7eb !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.send-text-phone-group input {
  border: none !important;
  border-radius: 0 !important;
  padding: 0.75rem 0.95rem !important;
  flex: 1 !important;
  box-shadow: none !important;
}

.send-text-btn-send {
  width: 100% !important;
  padding: 0.85rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background-color: #a9d59b !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.send-text-btn-send:not(:disabled) {
  background-color: #6ab04c !important;
  cursor: pointer !important;
}

.send-text-btn-send:not(:disabled):hover {
  background-color: #5a9a3c !important;
}

.send-text-btn-send:disabled {
  background-color: #a9d59b !important;
  cursor: not-allowed !important;
  opacity: 0.9 !important;
}

.send-text-modal-footer {
  background-color: #005B87 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  padding: 0.6rem 1rem !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

@media (max-width: 640px) {
  #send-text-modal {
    padding: 0 !important;
  }
  .send-text-modal-panel {
    width: 100% !important;
    max-width: 100% !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

#send-text-modal.hidden {
  display: none !important;
}

#mobile-drawer-overlay.hidden {
  display: none !important;
}

/* Custom Toast Notification */
.custom-toast {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 100 !important;
  background-color: #005B87 !important;
  color: #ffffff !important;
  padding: 1rem 1.5rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  pointer-events: auto !important;
}

@keyframes toastSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
