/* ============================================================
   Find Tutors - Netflix/Extraordinarios Dark Theme
   Exact match to extraordinarios-app React project
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1. PAGE BACKGROUND & BASE
   ============================================================ */
body {
  background: linear-gradient(180deg, #1a0a05 0%, #2d1208 30%, #3d1a0a 50%, #2d1208 70%, #1a0a05 100%) !important;
  background-attachment: fixed !important;
  font-family: 'Inter', sans-serif !important;
  color: #fff !important;
}

.am-find-tutors-area {
  font-family: 'Inter', sans-serif !important;
  min-height: 100vh;
  color: #fff;
  padding-bottom: 40px;
}

/* ============================================================
   2. HEADER / SEARCH HEAD - Netflix style
   ============================================================ */
.am-searchhead {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 10%, transparent) !important;
  padding: 30px 0 20px !important;
  border-bottom: none !important;
}

.am-searchhead .container {
  max-width: 100% !important;
  padding: 0 4% !important;
}

.am-searchhead_title h2 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.2vw !important;
  margin: 0 !important;
}

@media (max-width: 1330px) {
  .am-searchhead_title h2 { font-size: 18px !important; }
}
@media (max-width: 768px) {
  .am-searchhead_title h2 { font-size: 16px !important; }
}

.am-searchhead_title p {
  color: #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  margin-top: 4px !important;
  display: none !important;
}

/* Breadcrumb */
.am-breadcrumb {
  margin-bottom: 8px !important;
}
.am-breadcrumb li a {
  color: #ff7a54 !important;
  font-size: 13px !important;
}
.am-breadcrumb li em {
  color: rgba(255, 255, 255, 0.4) !important;
}
.am-breadcrumb li.active span {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px !important;
}

/* ============================================================
   3. FILTER/CATEGORY BAR - Netflix Navigation Style
   ============================================================ */
.am-searchfilter_wrap {
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
}

.am-searchfilter_wrap .container {
  max-width: 100% !important;
  padding: 0 4% !important;
}

/* Session type tabs → Netflix category links */
.am-searchfilter_tabs {
  border-bottom: none !important;
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.am-searchfilter_tabslist {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.am-searchfilter_tabslist li a {
  color: #e5e5e5 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  margin: 0 12px !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  transition: color 0.3s ease !important;
  text-decoration: none !important;
}

@media (min-width: 640px) {
  .am-searchfilter_tabslist li a { font-size: 16px !important; }
}
@media (min-width: 1330px) {
  .am-searchfilter_tabslist li a { font-size: 18px !important; }
}

.am-searchfilter_tabslist li a:hover {
  color: #b3b3b3 !important;
}

.am-searchfilter_tabslist li a.active {
  color: #ffffff !important;
  font-weight: 700 !important;
  background: transparent !important;
  border: none !important;
}

/* Clear filter button */
.am-clearfilterbtn a {
  color: #ff7a54 !important;
  font-size: 13px !important;
}

/* Filter dropdowns row - compact Netflix style */
.am-searchfilter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
  padding: 10px 0 !important;
}

.am-searchfilter_item {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  flex: 0 1 auto !important;
  min-width: 140px !important;
}

.am-searchfilter_title {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-family: 'Inter', sans-serif !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.am-searchfilter_item .form-control,
.am-searchfilter_item input {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  padding: 2px 0 !important;
  font-size: 13px !important;
  height: auto !important;
  min-height: unset !important;
}

.am-searchfilter_item .form-control::placeholder {
  color: #777 !important;
}

/* Select2 dark theme */
.am-searchfilter_item .select2-container--default .select2-selection--single,
.am-searchfilter_item .select2-container--default .select2-selection--multiple,
.am-searchfilteritems .select2-container--default .select2-selection--single,
.am-searchfilteritems .select2-container--default .select2-selection--multiple {
  background: transparent !important;
  border: none !important;
  min-height: unset !important;
  height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  color: #fff !important;
  font-size: 13px !important;
  padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #777 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(255,255,255,0.5) transparent transparent transparent !important;
}

.select2-dropdown {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

.select2-container--default .select2-results__option {
  color: #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  padding: 6px 10px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #fd5223 !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: rgba(253, 82, 35, 0.3) !important;
}

.select2-search--dropdown .select2-search__field {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #ffffff !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 7px !important;
  font-size: 13px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #fd5223 !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  padding: 2px 8px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Search input & sort bar - Netflix searchbar style */
.am-searchfilteritems {
  border-top: none !important;
  padding-top: 0 !important;
}

.am-searchfilter_left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.am-searchinput {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #ffffff !important;
  border-radius: 6px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  max-width: 200px !important;
}

.am-searchinput input {
  background: transparent !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  border: none !important;
  padding: 7px 30px 7px 7px !important;
  font-size: 14px !important;
  height: auto !important;
}

.am-searchinput input::placeholder {
  color: #777 !important;
}

.am-searchinput_icon {
  position: absolute !important;
  right: 8px !important;
}

.am-searchinput_icon i {
  color: #fff !important;
  font-size: 1rem !important;
}

.am-select_title {
  color: #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
}

.am-searchfilteritems .am-select {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

/* ============================================================
   4. HERO BANNER - Netflix style featured tutor
   ============================================================ */
.am-hero-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.am-hero-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.am-hero-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 10, 5, 0.95) 0%,
    rgba(26, 10, 5, 0.7) 40%,
    rgba(26, 10, 5, 0.3) 100%
  );
}

.am-hero-banner__content {
  position: relative;
  z-index: 2;
  padding: 0 4%;
  max-width: 600px;
}

.am-hero-banner__title {
  font-size: 3.5vw;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .am-hero-banner__title { font-size: 28px; }
  .am-hero-banner {
    height: 60vh;
    min-height: 400px;
  }
}

.am-hero-banner__description {
  font-size: 1.2vw;
  color: #e5e5e5;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .am-hero-banner__description { font-size: 14px; }
}

.am-hero-banner__buttons {
  display: flex;
  gap: 1rem;
}

.am-hero-banner__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1vw;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .am-hero-banner__button {
    font-size: 14px;
    padding: 0.5rem 1rem;
  }
}

.am-hero-banner__button--play {
  background: #fd5223;
  color: #fff;
}

.am-hero-banner__button--play:hover {
  background: #ff7a54;
  color: #fff;
}

.am-hero-banner__button--info {
  background: rgba(65, 90, 119, 0.7);
  color: #fff;
}

.am-hero-banner__button--info:hover {
  background: rgba(65, 90, 119, 0.5);
  color: #fff;
}

.am-hero-banner__button i {
  font-size: 1.2em;
}

.am-hero-banner__bottom-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(transparent, #1a0a05);
  z-index: 1;
}

/* ============================================================
   4A. TUTOR SECTION CONTAINER
   ============================================================ */
.am-tutorsearch_section {
  padding: 10px 0 40px !important;
  background: transparent !important;
}

.am-tutorsearch_section > .container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ============================================================
   4A. NETFLIX ROW LAYOUT - Horizontal scrolling per category
   ============================================================ */
.am-netflix-row {
  padding: 0 4%;
  margin-bottom: 2.5rem;
}

.am-netflix-row__title {
  font-size: 1.4vw;
  color: #e5e5e5;
  font-weight: 700;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.45);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .am-netflix-row__title { font-size: 18px; }
}

.am-netflix-row__wrapper {
  position: relative;
}

/* Horizontal slider */
.am-netflix-row__slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}

.am-netflix-row__slider::-webkit-scrollbar {
  display: none;
}

.am-netflix-row__poster {
  scroll-snap-align: start;
}

/* Arrow buttons */
.am-netflix-row__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4%;
  min-width: 40px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(26, 10, 5, 0.7);
  border: none;
  color: #fff;
  font-size: 1.8em;
  opacity: 0;
  transition: opacity 0.3s;
}

.am-netflix-row__wrapper:hover .am-netflix-row__arrow {
  opacity: 1;
}

.am-netflix-row__arrow--left {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.am-netflix-row__arrow--right {
  right: 0;
  border-radius: 8px 0 0 8px;
}

.am-netflix-row__arrow:hover {
  background: rgba(26, 10, 5, 0.95);
}

/* Individual poster in row */
.am-netflix-row__poster {
  flex: 0 0 auto;
  cursor: pointer;
}

/* Responsive widths - match React breakpoints */
.am-netflix-row__poster {
  width: calc(50vw - 4% - 10px);
}

@media (min-width: 625px) {
  .am-netflix-row__poster { width: calc(33.333vw - 4% - 10px); }
}
@media (min-width: 998px) {
  .am-netflix-row__poster { width: calc(25vw - 4% - 10px); }
}
@media (min-width: 1378px) {
  .am-netflix-row__poster { width: calc(16.666vw - 4% - 10px); }
}

/* Poster inner card */
.am-netflix-row__poster-inner {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #3d1a0a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.am-netflix-row__poster-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.am-netflix-row__poster:hover .am-netflix-row__poster-inner {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 1);
  z-index: 10;
}

/* Poster image inside row cards */
.am-netflix-row__poster-inner .am-poster-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

/* Info overlay on row cards */
.am-netflix-row__poster-inner .am-poster-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26, 10, 5, 0.95));
  padding: 2rem 0.5rem 0.5rem;
  z-index: 2;
}

/* Fee badge on row cards */
.am-netflix-row__poster-inner .am-poster-fee {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fd5223;
  border-radius: 4px;
  padding: 2px 6px;
  z-index: 3;
}

/* Hover overlay on row cards */
.am-netflix-row__poster-inner .am-poster-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0.6em;
  padding-bottom: 1.2em;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
  border-radius: 10px;
}

.am-netflix-row__poster:hover .am-poster-hover {
  opacity: 1;
}

/* Fav button in row cards */
.am-netflix-row__poster-inner .am-poster-fav {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* ============================================================
   4B. FILTERED GRID LAYOUT (when filters active)
   ============================================================ */
/* Card grid container */
.am-tutorsearch {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -3px !important;
  padding: 0 4%;
}

/* Pagination spans full width */
.am-tutorsearch .am-pagination {
  width: 100% !important;
  flex: 0 0 100% !important;
}

/* ============================================================
   5. INDIVIDUAL TUTOR CARD - Full Image Poster
   ============================================================ */
.am-tutorsearch_card {
  display: inline-block !important;
  position: relative !important;
  padding: 0 3px !important;
  margin-bottom: 4vw !important;
  vertical-align: top !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  width: 50% !important;
}

@media (min-width: 625px) {
  .am-tutorsearch_card { width: 33.333% !important; }
}
@media (min-width: 998px) {
  .am-tutorsearch_card { width: 25% !important; }
}
@media (min-width: 1378px) {
  .am-tutorsearch_card { width: 16.666% !important; }
}

/* Inner card */
.am-tutorsearch_card .am-tutorsearch_content {
  position: relative !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 12px !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  background: #3d1a0a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  padding: 0 !important;
}

.am-tutorsearch_card:hover .am-tutorsearch_content {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(255, 255, 255, 1) !important;
}

/* ============================================================
   6. POSTER IMAGE - Full card background
   ============================================================ */
.am-poster-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  z-index: 0 !important;
}

/* Top gradient for contrast */
.am-tutorsearch_card .am-tutorsearch_content::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 40% !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* ============================================================
   7. POSTER INFO - Name & rating at bottom
   ============================================================ */
.am-poster-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(transparent, rgba(26, 10, 5, 0.95)) !important;
  padding: 2rem 0.5rem 0.5rem !important;
  z-index: 2 !important;
}

.am-poster-info h3 {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.am-poster-info h3 a {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: block !important;
}

.am-poster-rating {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 4px !important;
}

.am-poster-rating-badge {
  background: #fd5223 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-family: 'Inter', sans-serif !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.am-poster-rating-badge i {
  color: #fff !important;
  font-size: 10px !important;
}

/* Fee badge - top right */
.am-poster-fee {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  background: #fd5223 !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  z-index: 3 !important;
}

.am-poster-fee strong {
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
}

/* ============================================================
   8. POSTER HOVER OVERLAY - Action buttons
   ============================================================ */
.am-poster-hover {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.85) 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  padding: 0.6em !important;
  padding-bottom: 1.2em !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: 4 !important;
  border-radius: 10px !important;
}

.am-tutorsearch_card:hover .am-poster-hover {
  opacity: 1 !important;
}

/* Action buttons */
.am-poster-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border: 1px solid #ffffff !important;
  background: transparent !important;
  color: #fff !important;
  white-space: nowrap !important;
}

.am-poster-btn--primary {
  background: #fd5223 !important;
  border-color: #fd5223 !important;
}

.am-poster-btn--primary:hover {
  background: #ff7a54 !important;
  border-color: #ff7a54 !important;
  color: #fff !important;
}

.am-poster-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
}

/* Favorite/heart button */
.am-poster-fav {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: transparent !important;
  border: 1px solid #ffffff !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.am-poster-fav:hover,
.am-poster-fav.active {
  background: #fd5223 !important;
  border-color: #fd5223 !important;
}

.am-poster-fav i {
  color: #fff !important;
  font-size: 14px !important;
}

@media (min-width: 998px) {
  .am-poster-btn { font-size: 12px !important; padding: 7px 16px !important; }
  .am-poster-fav { width: 34px !important; height: 34px !important; }
  .am-poster-info h3 { font-size: 13px !important; }
}

/* ============================================================
   9. PAGINATION
   ============================================================ */
.am-pagination,
.am-pagination_two {
  background: transparent !important;
  text-align: center !important;
  padding: 20px 0 !important;
}

.am-pagination .page-link,
.am-pagination_two .page-link {
  background: transparent !important;
  color: #e5e5e5 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 4px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
}

.am-pagination .page-item.active .page-link,
.am-pagination_two .page-item.active .page-link {
  background: #fd5223 !important;
  border-color: #fd5223 !important;
  color: #fff !important;
}

.am-pagination .page-link:hover,
.am-pagination_two .page-link:hover {
  background: rgba(253, 82, 35, 0.3) !important;
  color: #fff !important;
}

/* ============================================================
   10. NO RESULTS
   ============================================================ */
.am-norecord-found {
  background: rgba(61, 26, 10, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 60px 30px !important;
  text-align: center !important;
  width: 100% !important;
}

.am-norecord-found strong {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

.am-norecord-found strong span {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================================
   11. SKELETON LOADING
   ============================================================ */
.tutors-skeleton {
  width: 100% !important;
}

/* ============================================================
   12. HEADER & FOOTER DARK OVERRIDES
   ============================================================ */
header,
.am-header,
.am-navbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 10%, rgba(0, 0, 0, 0)) !important;
  border-bottom: none !important;
  position: fixed !important;
  width: 100% !important;
  z-index: 10 !important;
  height: 70px !important;
  padding: 0 4vw !important;
  display: flex !important;
  align-items: center !important;
}

/* Compensate for fixed header */
.am-find-tutors-area {
  padding-top: 70px !important;
}

/* Header scroll state - add via JS or keep solid */
header.scrolled,
.am-header.scrolled,
.am-navbar.scrolled {
  background: #3d1a0a !important;
}

.am-footer,
footer {
  background: #1a0a05 !important;
  border-top: 1px solid rgba(253, 82, 35, 0.1) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.am-footer h3,
.am-footer h4,
.am-footer h5 {
  color: #fff !important;
}

.am-footer a {
  color: rgba(255, 255, 255, 0.6) !important;
}

.am-footer a:hover {
  color: #fd5223 !important;
}

/* Navbar links */
.am-navbar_list li a,
.am-header a {
  color: #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
}

.am-navbar_list li a:hover {
  color: #b3b3b3 !important;
}

.am-navbar_list li a.active {
  color: #fff !important;
  font-weight: 700 !important;
}

/* Buttons in header */
.am-header .am-btn,
.am-navbar .am-btn,
.am-header .am-btn-signup {
  background: #fd5223 !important;
  color: #fff !important;
  border-color: #fd5223 !important;
  border-radius: 4px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

.am-header .am-btn:hover,
.am-navbar .am-btn:hover {
  background: #ff7a54 !important;
}

/* ============================================================
   13. MESSAGING MODAL DARK THEME
   ============================================================ */
.am-modal,
.modal-content {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.modal-header .btn-close {
  filter: invert(1) !important;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.modal-body textarea,
.modal-body input {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #ffffff !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  border-radius: 6px !important;
}

.modal-body label {
  color: #e5e5e5 !important;
}

/* ============================================================
   14. RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 625px) {
  .am-poster-info h3 { font-size: 11px !important; }
  .am-poster-btn { font-size: 10px !important; padding: 5px 10px !important; }
  .am-searchfilter { flex-direction: column !important; }
}

/* ============================================================
   15. VERIFIED BADGE & FLAGS
   ============================================================ */
.am-poster-info .am-verified-tooltip {
  display: inline-flex !important;
}

.am-poster-rating .flag {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* ============================================================
   16. IMPERSONATION BAR
   ============================================================ */
.am-impersonation-bar {
  background: #fd5223 !important;
  color: #fff !important;
}

/* ============================================================
   17. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a0a05;
}
::-webkit-scrollbar-thumb {
  background: #4d4d4d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* ============================================================
   18. ALERT / TOAST MESSAGES
   ============================================================ */
.am-alert {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  border-radius: 6px !important;
}

/* ============================================================
   19. LIVEWIRE LOADING STATES
   ============================================================ */
[wire\:loading] {
  color: #e5e5e5 !important;
}

/* ============================================================
   20. GDPR / POPUP OVERRIDES
   ============================================================ */
.am-gdpr,
.am-popup {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #e5e5e5 !important;
}

.am-gdpr .am-btn,
.am-popup .am-btn {
  background: #fd5223 !important;
  color: #fff !important;
  border: none !important;
}
