/* ==========================================
   UNIFIED IAOTH FRONTEND & DIRECTORY STYLES
   ========================================== */

.iaoth-directory-wrapper {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #0f172a;
  margin-bottom: 40px;
}

/* ==========================================
   HERO SEARCH SECTION STYLING (FIXED)
   ========================================== */
.iaoth-directory-hero {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  padding: 50px 20px;
  border-radius: 16px;
  color: #ffffff;
  margin-bottom: 30px;
  overflow: visible;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.iaoth-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 16px;
  pointer-events: none;
}

.iaoth-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.iaoth-hero-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.iaoth-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  align-items: center;
}

.iaoth-search-field {
  position: relative;
  flex: 1;
  min-width: 160px;
}

.iaoth-search-field .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 14px;
  z-index: 5;
  pointer-events: none;
}

.iaoth-search-field input[type="text"],
.iaoth-search-field select {
  width: 100% !important;
  height: 44px !important;
  padding: 8px 12px 8px 38px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  font-size: 13px !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  outline: none !important;
}

.iaoth-search-field input::placeholder {
  color: #94a3b8;
}

.iaoth-hero-search-btn {
  height: 44px;
  padding: 0 24px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.iaoth-hero-search-btn:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

/* OpenStreetMap Autocomplete Box (Fixed Positioning) */
.iaoth-autocomplete-wrapper {
  position: relative;
  overflow: visible !important;
}

.iaoth-suggestions-box {
  position: absolute !important;
  top: 50px !important;
  left: 0 !important;
  right: 0 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25) !important;
  z-index: 999999 !important;
  display: none;
  max-height: 250px !important;
  overflow-y: auto !important;
  text-align: left !important;
}

.iaoth-suggestion-item {
  padding: 12px 14px !important;
  font-size: 13px !important;
  color: #1e293b !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
}

.iaoth-suggestion-item:hover {
  background: #f8fafc !important;
  color: #4f46e5 !important;
}

.iaoth-suggestion-item.loading,
.iaoth-suggestion-item.no-match {
  color: #64748b;
  cursor: default;
}

.iaoth-osm-badge {
  padding: 8px 12px !important;
  font-size: 11px !important;
  color: #94a3b8 !important;
  background: #f8fafc !important;
  text-align: right !important;
  font-weight: 500 !important;
}

/* Select2 Fixes for Hero Search */
.select2-container--default .select2-selection--single {
  height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 38px !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 42px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 42px !important;
}

/* ==========================================
   RESULTS BAR & FILTER TOOLBAR STYLING
   ========================================== */
.iaoth-directory-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.iaoth-results-count {
  font-size: 24px;
  font-weight: 700;
  color: #0284c7;
}

.iaoth-based-on-box select {
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  color: #64748b;
  background: #ffffff;
}

.iaoth-directory-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

/* Filter Group */
.iaoth-filter-search-group {
  position: relative;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 12px 8px 12px;
  margin-top: 6px;
}

.iaoth-group-label {
  position: absolute;
  top: -10px;
  left: 12px;
  background: #ffffff;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.iaoth-filter-controls-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iaoth-date-picker-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.iaoth-date-picker-wrap i {
  position: absolute;
  left: 10px;
  color: #64748b;
  font-size: 13px;
  pointer-events: none;
}

.iaoth-date-picker-wrap input[type="date"] {
  height: 36px;
  padding: 4px 8px 4px 30px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
}

.iaoth-filter-controls-inline select {
  height: 36px;
  padding: 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
  background: #ffffff;
}

.iaoth-apply-btn {
  height: 36px;
  padding: 0 18px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.iaoth-apply-btn:hover {
  background: #0369a1;
}

.iaoth-right-controls-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iaoth-right-controls-group select {
  height: 36px;
  padding: 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
  background: #ffffff;
}

.iaoth-view-toggle {
  display: flex;
  gap: 4px;
}

.iaoth-view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
}

.iaoth-view-btn.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

/* ==========================================
   CARDS GRID & PAGINATION STYLING
   ========================================== */
.iaoth-directory-grid.view-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.iaoth-directory-grid.view-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.iaoth-provider-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.iaoth-provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.iaoth-card-media {
  position: relative;
  height: 200px;
  background: #f8fafc;
}

.iaoth-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iaoth-badge-category {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #f97316;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.iaoth-card-body {
  padding: 16px;
  flex: 1;
}

.iaoth-provider-title {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.iaoth-provider-subtitle {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: #64748b;
}

.iaoth-provider-phone,
.iaoth-provider-location {
  margin: 0 0 6px 0;
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.iaoth-card-actions {
  display: flex;
  border-top: 1px solid #f1f5f9;
}

.iaoth-btn-view,
.iaoth-btn-fav {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0f172a;
  transition: background 0.2s;
}

.iaoth-btn-view {
  background: #0284c7;
  color: #ffffff;
}

.iaoth-btn-view:hover {
  background: #0369a1;
}

.iaoth-btn-fav {
  background: #38bdf8;
  color: #ffffff;
}

.iaoth-btn-fav.active {
  background: #ef4444;
}

/* Pagination */
.iaoth-pagination-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.iaoth-pag-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
}

.iaoth-pag-dots {
  padding: 0 6px;
  color: #94a3b8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.iaoth-pag-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #0f172a;
}

.iaoth-pag-btn.active,
.iaoth-pag-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

.iaoth-loading-state,
.iaoth-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #64748b;
  font-size: 16px;
}

.iaoth-loading-state i {
  font-size: 32px;
  margin-bottom: 12px;
  color: #4f46e5;
}

.iaoth-badge-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.iaoth-badge-status.status-available {
  background: #10b981;
}

.iaoth-badge-status.status-unavailable {
  background: #ef4444;
}

.iaoth-badge-status i {
  font-size: 7px;
}

/* ==========================================
   PRICING CARDS STYLES
   ========================================== */
.iaoth-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

.iaoth-pricing-card {
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.iaoth-pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.iaoth-pricing-card.card-therapist {
  border-color: #06b6d4;
  background-color: rgba(240, 253, 250, 0.4);
}

.iaoth-pricing-card.card-training {
  border-color: #38bdf8;
}

.iaoth-pricing-card.card-organization {
  border-color: #e2e8f0;
}

.iaoth-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.iaoth-card-icon {
  width: 46px;
  height: 46px;
  background-color: #dbeafe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iaoth-card-icon svg {
  width: 24px;
  height: 24px;
  color: #3b0764;
}

.iaoth-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #3b0764;
  margin: 0;
}

.iaoth-card-desc {
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.iaoth-card-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.iaoth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.iaoth-feature-item svg {
  width: 20px;
  height: 20px;
  color: #06b6d4;
  flex-shrink: 0;
}

.iaoth-feature-item span {
  font-size: 15px;
  color: #334155;
}

.iaoth-card-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.iaoth-card-price .amount {
  font-size: 32px;
  font-weight: 800;
  color: #3b0764;
}

.iaoth-card-price .period {
  font-size: 15px;
  color: #64748b;
}

.iaoth-btn-join {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #e10b4c;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.iaoth-btn-join:hover {
  opacity: 0.9;
}

/* ==========================================
   SIGNUP FORM & MODALS
   ========================================== */
.iaoth-signup-container {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.iaoth-signup-card {
  background: #ffffff;
  border: 2px solid #06b6d4;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.iaoth-signup-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.iaoth-signup-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #3b0764;
  margin: 0 0 14px 0;
}

.iaoth-selected-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f0fdfa;
  border: 1px solid #06b6d4;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
}

.iaoth-selected-plan-badge .plan-label {
  color: #64748b;
}

.iaoth-selected-plan-badge .plan-name {
  font-weight: 700;
  color: #3b0764;
}

.iaoth-selected-plan-badge .plan-price {
  font-weight: 700;
  color: #e10b4c;
}

.iaoth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.iaoth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .iaoth-form-row {
    grid-template-columns: 1fr;
  }
}

.iaoth-form-group {
  display: flex;
  flex-direction: column;
}

.iaoth-form-group label,
.iaoth-group-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.iaoth-form-group input[type="text"],
.iaoth-form-group input[type="email"],
.iaoth-form-group input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #1e293b;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.iaoth-form-group input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.iaoth-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.iaoth-payment-option {
  position: relative;
  cursor: pointer;
}

.iaoth-payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.iaoth-payment-option .option-card {
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
  background: #fafafa;
}

.iaoth-payment-option input[type="radio"]:checked + .option-card {
  border-color: #06b6d4;
  background-color: #f0fdfa;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.option-title {
  font-size: 14px;
  font-weight: 700;
  color: #3b0764;
}

.option-subtitle {
  font-size: 12px;
  color: #64748b;
}

.iaoth-btn-submit {
  width: 100%;
  background-color: #e10b4c;
  color: #ffffff;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
  margin-top: 10px;
}

.iaoth-btn-submit:hover {
  opacity: 0.9;
}

.iaoth-btn-submit:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

.iaoth-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.iaoth-alert.success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.iaoth-alert.error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.iaoth-select-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  color: #1e293b;
  background-color: #fff;
  box-sizing: border-box;
}

.iaoth-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.iaoth-input-group .input-group-icon {
  background: #f8fafc;
  border-right: 1.5px solid #cbd5e1;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.iaoth-input-group input {
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  box-shadow: none !important;
  width: 100%;
}

.iaoth-input-group input:focus {
  outline: none;
}

/* Login Modal */
#iaoth-login-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 9999999 !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

#iaoth-login-modal-overlay .iaoth-modal-card {
  background: #ffffff !important;
  padding: 32px 28px !important;
  border-radius: 12px !important;
  width: 100% !important;
  max-width: 420px !important;
  position: relative !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #e2e8f0 !important;
}

#iaoth-login-modal-overlay .iaoth-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  background: transparent !important;
  border: none !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: #64748b !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
}

#iaoth-login-modal-overlay .iaoth-modal-close:hover {
  color: #0f172a !important;
}

#iaoth-login-modal-overlay .iaoth-modal-title {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: left !important;
}

#iaoth-login-modal-overlay .iaoth-form-group {
  margin-bottom: 16px !important;
}

#iaoth-login-modal-overlay .iaoth-input {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  outline: none !important;
}

#iaoth-login-modal-overlay .iaoth-recaptcha-wrapper {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

#iaoth-login-modal-overlay .iaoth-btn-submit {
  width: 100% !important;
  padding: 12px !important;
  background: #3b00c5 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}

/* Forgot Password Modal */
#iaoth-forgot-password-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 9999999 !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-modal-card {
  background: #ffffff !important;
  padding: 32px 28px !important;
  border-radius: 12px !important;
  width: 100% !important;
  max-width: 420px !important;
  position: relative !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #e2e8f0 !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  background: transparent !important;
  border: none !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: #64748b !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-modal-close:hover {
  color: #0f172a !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-modal-title {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: left !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-form-group {
  margin-bottom: 16px !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-input {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  outline: none !important;
}

#iaoth-forgot-password-modal-overlay .iaoth-btn-submit {
  width: 100% !important;
  padding: 12px !important;
  background: #3b00c5 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}

/* ==========================================
   SINGLE PROVIDER DETAIL PAGE STYLING
   ========================================== */
.iaoth-provider-single-page {
  background-color: #f8fafc;
  color: #334155;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  padding-bottom: 60px;
}

.iaoth-single-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.iaoth-hero-cover-banner {
  position: relative;
  width: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iaoth-cover-overlay {
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  padding: 40px 0;
  display: flex;
  align-items: center;
}

.iaoth-quick-nav-sidebar {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.iaoth-quick-nav-sidebar a {
  padding: 12px 16px;
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
  font-size: 16px;
  transition: all 0.2s;
}

.iaoth-quick-nav-sidebar a:hover {
  background: #2563eb;
  color: #ffffff;
}

.iaoth-provider-card-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.iaoth-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  /*margin-bottom: 24px;*/
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.iaoth-card-title.dark-title {
  color: #ffffff;
}

.iaoth-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.iaoth-overview-left {
  flex: 0 0 240px;
  text-align: center;
  border-right: 1px solid #f1f5f9;
  padding-right: 20px;
}

.iaoth-avatar-img {
  width: 200px;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin: 0 auto 15px auto;
}

.iaoth-overview-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
}

.iaoth-overview-right {
  flex: 1;
  min-width: 280px;
}

.iaoth-overview-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.iaoth-overview-tagline {
  font-size: 14px;
  font-style: italic;
  color: #64748b;
  margin-bottom: 12px;
}

.iaoth-category-badge-wrap {
  margin-bottom: 16px;
}

.iaoth-category-pill {
  display: inline-block;
  padding: 4px 12px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.iaoth-overview-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.2s;
}

.iaoth-overview-fav-btn:hover {
  background: #f8fafc;
}

.iaoth-provider-rich-bio {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
}

.iaoth-provider-rich-bio img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

.iaoth-dark-gallery-box {
  background: #0f172a;
}

.iaoth-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.iaoth-gallery-item {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
}

.iaoth-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iaoth-table-responsive {
  overflow-x: auto;
}

.iaoth-hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
  border: 1px solid #e2e8f0;
}

.iaoth-hours-table th {
  background: #f8fafc;
  color: #475569;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
}

.iaoth-hours-table td {
  padding: 16px 8px;
  border-right: 1px solid #e2e8f0;
}

.iaoth-hours-table td:last-child {
  border-right: none;
}

.iaoth-hour-open {
  color: #0f172a;
  display: block;
}

.iaoth-hour-closed {
  font-weight: 700;
  color: #ef4444;
}

.iaoth-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.iaoth-address-card {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.iaoth-address-card i {
  font-size: 24px;
  color: #2563eb;
  margin-bottom: 8px;
}

.iaoth-address-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #0f172a;
}

.iaoth-address-card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.iaoth-email-send-btn {
  display: inline-block;
  margin-top: 6px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.iaoth-leaflet-map-container {
  height: 320px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.iaoth-tabs-header {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.iaoth-tab-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.iaoth-tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.iaoth-tab-pane.hidden {
  display: none;
}

.iaoth-item-card {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
}

.iaoth-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.iaoth-item-main-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.iaoth-item-date-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.iaoth-item-desc-text {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.iaoth-empty-text {
  font-size: 13px;
  color: #94a3b8;
}

.iaoth-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.iaoth-video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.iaoth-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.iaoth-docs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iaoth-doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.iaoth-doc-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  flex: 1;
  word-break: break-all;
}

.iaoth-doc-download-btn {
  background: #2563eb;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.iaoth-doc-download-btn:hover {
  background: #1d4ed8;
}

.iaoth-article-card-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  align-items: center;
}

.iaoth-article-thumb {
  width: 100px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.iaoth-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iaoth-article-content {
  flex: 1;
}

.iaoth-article-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.iaoth-article-excerpt {
  font-size: 13px;
  color: #475569;
  margin: 0 0 6px 0;
}

.iaoth-article-date {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================
   LOGIN PAGE SPECIFIC STYLING
   ========================================== */

.iaoth-nav-login-btn {
  background-color: #2563eb !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
  border: none !important;
  height: auto !important;
  line-height: normal !important;
}

.iaoth-nav-login-btn:hover {
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
}

.iaoth-login-page-container {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.iaoth-login-box {
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.iaoth-login-btn {
  background-color: #2563eb !important; /* Blue color specifically for login button */
  margin-top: 20px;
}

.iaoth-login-btn:hover {
  background-color: #1d4ed8 !important;
}

#iaoth-login-message {
  margin-bottom: 20px;
}

.iaoth-forgot-pwd-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.iaoth-forgot-pwd-link a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.iaoth-forgot-pwd-link a:hover {
  color: #0f172a;
}

/* ==========================================
   HEADER BUTTONS
   ========================================== */

.iaoth-header-auth-bar .iaoth-nav-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: none !important;
  line-height: normal !important;
}

.iaoth-header-auth-bar .iaoth-login-btn {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-radius: 5px !important;
  cursor: pointer !important;
}

.iaoth-header-auth-bar .iaoth-login-btn:hover {
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
}

/* Single Provider — Map Marker Popup */
.iaoth-map-popup {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 240px;
}
.iaoth-map-popup-avatar {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.iaoth-map-popup-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.iaoth-map-popup-body strong {
  font-size: 14px;
  line-height: 1.3;
}
.iaoth-map-popup-company {
  font-size: 12px;
  color: #555;
}
.iaoth-map-popup-badge {
  display: inline-block;
  background: #3b00c5;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}
.iaoth-map-popup-body p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.iaoth-overview-social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.iaoth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e80038;
  color: white;
  font-size: 15px;
  transition: all 0.2s ease;
}
.iaoth-social-icon:hover {
  background: #2563eb;
  color: #ffffff;
}
