/* ============================================================
   Tutor Detail - Netflix/Extraordinarios Dark Theme
   Matches find-tutors-netflix.css styling
   ============================================================ */

@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;
}

/* ============================================================
   2. HEADER / NAVBAR - Fixed transparent (same as find-tutors)
   ============================================================ */
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;
}

header.scrolled,
.am-header.scrolled,
.am-navbar.scrolled {
  background: #3d1a0a !important;
}

.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; }

.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;
}

/* ============================================================
   3. BANNER / HERO SECTION
   ============================================================ */
.am-search-detail-banner {
  background: linear-gradient(180deg, rgba(26, 10, 5, 0.3) 0%, #1a0a05 100%) !important;
  padding-top: 90px !important;
  padding-bottom: 30px !important;
  border: none !important;
}

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

/* Breadcrumb */
.am-breadcrumb {
  margin-bottom: 15px !important;
}
.am-breadcrumb li a {
  color: #ff7a54 !important;
  font-size: 13px !important;
  font-family: 'Inter', sans-serif !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;
}

/* ============================================================
   4. TUTOR PROFILE HEADER
   ============================================================ */
.am-searchdetail {
  background: rgba(61, 26, 10, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  backdrop-filter: blur(10px) !important;
}

.am-tutordetail_head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
}

/* Avatar */
.am-tutorvone_img {
  border: 3px solid #fd5223 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.am-tutorvone_img img {
  border-radius: 50% !important;
}

.am-userstaus_online {
  background: #22c55e !important;
  border: 2px solid #1a0a05 !important;
}

/* Name */
.am-tutordetail_user_name h3 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
}

.am-tutordetail_user_name span {
  color: #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
}

/* Fee */
.am-tutordetail_fee {
  background: linear-gradient(135deg, #fd5223, #ff7a54) !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  border: none !important;
}

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

.am-tutordetail_fee strong em {
  color: rgba(255, 255, 255, 0.8) !important;
}

.am-tutordetail_fee span {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================================
   5. STATS / REVIEWS BAR
   ============================================================ */
.am-tutordetail-reviews {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.am-tutordetail-reviews_wrap {
  border: none !important;
}

.am-tutorreviews-list li {
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.am-tutorreview-item i,
.am-tutorreview-item svg,
.am-tutorreview-item svg path {
  color: #fd5223 !important;
  stroke: #fd5223 !important;
}

.am-tutorreview-item span {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}

.am-tutorreview-item span em {
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 400 !important;
}

/* Social profiles */
.am-tutorsocial-list li a img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s !important;
}

.am-tutorsocial-list li a:hover img {
  opacity: 1 !important;
}

/* ============================================================
   6. SKILLS / SUBJECTS / LANGUAGES
   ============================================================ */
.am-tutorskills-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.am-tutorskills-item i {
  color: #fd5223 !important;
}

.am-tutorskills-item span {
  color: #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
}

.am-tutorskills-list ul li span,
.am-tutorskills-list ul li a span {
  color: #fff !important;
  background: rgba(253, 82, 35, 0.15) !important;
  border: 1px solid rgba(253, 82, 35, 0.3) !important;
  border-radius: 20px !important;
  font-family: 'Inter', sans-serif !important;
}

.am-tutorskills-list ul li a {
  color: #fd5223 !important;
}

/* Language tags */
.wa-tags-list p {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

.wa-tags-list p span {
  background: #fd5223 !important;
  color: #fff !important;
  border-radius: 4px !important;
}

.wa-tags-list ul li span {
  color: #e5e5e5 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
}

.am-more {
  color: #fd5223 !important;
  background: rgba(253, 82, 35, 0.15) !important;
  border: 1px solid rgba(253, 82, 35, 0.3) !important;
  border-radius: 50% !important;
}

.am-tooltip-text {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
}

.am-tooltip-text span {
  color: #e5e5e5 !important;
}

/* ============================================================
   7. ACTION BUTTONS (Book, Message, Favourite)
   ============================================================ */
.am-tutordetail-btns .am-btn,
.am-detailuser_novideo .am-btn,
.am-white-btn {
  font-family: 'Inter', sans-serif !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.am-btn {
  background: #fd5223 !important;
  color: #fff !important;
  border: 2px solid #fd5223 !important;
}

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

.am-white-btn {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

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

.am-likebtn {
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 24px !important;
  padding: 0 !important;
  transition: all 0.2s !important;
}

.am-likebtn:hover,
.am-likebtn.active {
  background: transparent !important;
  border: none !important;
}

.am-likebtn i {
  color: #fff !important;
  font-size: 24px !important;
  transition: color 0.2s !important;
}

.am-likebtn:hover i,
.am-likebtn.active i {
  color: #fd5223 !important;
}

/* Video section */
.am-detailuser_video {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

.am-detailuser_novideo {
  background: rgba(61, 26, 10, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 20px !important;
}

/* ============================================================
   8. TABS (Introduction, Availability, Reviews, etc.)
   ============================================================ */
.am-aboutuser_section {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

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

.am-aboutuser_tab {
  border: none !important;
  background: transparent !important;
}

.am-aboutuser_tab li .am-tabitem {
  color: #999 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  border: none !important;
  background: transparent !important;
  padding: 12px 0 !important;
  margin-right: 24px !important;
  transition: color 0.2s !important;
}

.am-aboutuser_tab li .am-tabitem:hover {
  color: #e5e5e5 !important;
}

.am-aboutuser_tab li.active .am-tabitem {
  color: #fff !important;
  font-weight: 700 !important;
  border-bottom: 3px solid #fd5223 !important;
}

.am-aboutuser_tab li .am-tabitem span {
  background: #fd5223 !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-size: 11px !important;
  padding: 1px 6px !important;
}

/* ============================================================
   9. ABOUT ME / DESCRIPTION
   ============================================================ */
.am-userinfo_section {
  background: transparent !important;
}

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

.am-userinfo_content {
  background: rgba(61, 26, 10, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 24px !important;
}

.am-userinfo_content h3 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

.am-userinfo_content p,
.am-userinfo_content div,
.am-addmore p,
.am-addmore div,
.am-toggle-text p {
  color: #ccc !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.7 !important;
  font-size: 14px !important;
}

.toggle-description {
  color: #fd5223 !important;
  font-weight: 600 !important;
}

/* ============================================================
   10. BOOKING / AVAILABILITY SECTION
   ============================================================ */
.am-tutor-detail {
  background: transparent !important;
}

.am-booking_section {
  background: transparent !important;
  padding: 20px 0 !important;
}

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

.am-booking_section h3,
.am-booking_section h2 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

/* Calendar */
.am-calendar,
.am-calendar-wrapper,
.am-sessioncalendar {
  background: rgba(61, 26, 10, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #fff !important;
}

.am-sessioncalendar_head,
.am-calendar_head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.am-sessioncalendar_head h5,
.am-calendar_head h5 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

.am-sessioncalendar_head a,
.am-calendar_head a {
  color: #fd5223 !important;
}

/* Calendar days */
.am-sessioncalendar_day span,
.am-calendar_day span {
  color: #999 !important;
}

.am-sessioncalendar_day.active span,
.am-calendar_day.active span {
  color: #fff !important;
}

.am-sessioncalendar_day.active,
.am-calendar_day.active {
  background: #fd5223 !important;
  border-radius: 8px !important;
}

.am-sessioncalendar_day:hover,
.am-calendar_day:hover {
  background: rgba(253, 82, 35, 0.2) !important;
  border-radius: 8px !important;
}

/* Slots */
.am-sessionslots_item,
.am-slot-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #e5e5e5 !important;
  transition: all 0.2s !important;
}

.am-sessionslots_item:hover,
.am-slot-item:hover {
  border-color: #fd5223 !important;
  background: rgba(253, 82, 35, 0.1) !important;
}

.am-sessionslots_item.active,
.am-slot-item.active,
.am-sessionslots_item.selected {
  background: #fd5223 !important;
  border-color: #fd5223 !important;
  color: #fff !important;
}

.am-sessionslots_item span,
.am-slot-item span {
  color: inherit !important;
  font-family: 'Inter', sans-serif !important;
}

/* Subject filter in booking */
.am-booking-filter select,
.am-booking-filter .form-control,
.am-booking-filter .am-select2 {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* ============================================================
   11. RESUME / HIGHLIGHTS SECTION
   ============================================================ */
.am-userinfomore {
  background: transparent !important;
}

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

.am-userinfomore h3 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

.am-resume-card,
.am-education-card,
.am-experience-card,
.am-certificate-card {
  background: rgba(61, 26, 10, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  color: #e5e5e5 !important;
}

.am-resume-card h4,
.am-education-card h4,
.am-experience-card h4,
.am-certificate-card h4 {
  color: #fff !important;
}

.am-resume-card p,
.am-education-card p,
.am-experience-card p,
.am-certificate-card p {
  color: #999 !important;
}

/* ============================================================
   12. REVIEWS SECTION
   ============================================================ */
.am-reviews-section {
  background: transparent !important;
}

.am-review-card {
  background: rgba(61, 26, 10, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
}

.am-review-card h4,
.am-review-card .am-review-name {
  color: #fff !important;
}

.am-review-card p,
.am-review-card .am-review-text {
  color: #ccc !important;
}

.am-review-card .am-review-date {
  color: #777 !important;
}

/* Stars */
.am-icon-star-01 {
  color: #fd5223 !important;
}

/* ============================================================
   13. SIMILAR TUTORS
   ============================================================ */
.am-similar-tutors {
  background: transparent !important;
}

.am-similar-tutors h3 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

/* ============================================================
   14. MODALS (Message, Booking)
   ============================================================ */
.am-modal,
.modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 12px !important;
}

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

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

.modal-header h5,
.modal-title {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

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

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

.modal-body textarea,
.modal-body input,
.modal-body select,
.modal-body .form-control {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
}

.modal-body .am-btn {
  background: #fd5223 !important;
  color: #fff !important;
  border-color: #fd5223 !important;
}

/* Select2 in modals */
.modal .select2-container--default .select2-selection--single,
.modal .select2-container--default .select2-selection--multiple {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
}

.select2-dropdown {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.select2-container--default .select2-results__option {
  color: #e5e5e5 !important;
}

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

/* ============================================================
   15. CART / BOOKING SIDEBAR
   ============================================================ */
.am-cart,
.am-booking-cart {
  background: rgba(61, 26, 10, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}

.am-cart h4,
.am-booking-cart h4 {
  color: #fff !important;
}

.am-cart-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e5e5e5 !important;
}

.am-cart-item span {
  color: #999 !important;
}

.am-cart-total {
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.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; }

/* ============================================================
   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. MISC OVERRIDES
   ============================================================ */
.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;
  color: #fff !important;
}

.am-norecord-found strong {
  color: #fff !important;
}

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

/* How to book popup */
.am-howtobook_popup {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  color: #e5e5e5 !important;
}

.am-howtobook_content h3 {
  color: #fff !important;
}

.am-howtobook_content ol li span {
  color: #ccc !important;
}

.am-howtobook > a i {
  color: #fd5223 !important;
}

/* Skeleton loading */
.am-skeletonresume,
.am-skeleton {
  background: rgba(61, 26, 10, 0.2) !important;
}

/* Request session form */
.am-requestsession,
.am-session-request {
  background: rgba(61, 26, 10, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}

.am-requestsession h4,
.am-session-request h4 {
  color: #fff !important;
}

.am-requestsession label,
.am-session-request label {
  color: #e5e5e5 !important;
}

.am-requestsession input,
.am-requestsession textarea,
.am-session-request input,
.am-session-request textarea {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* Impersonation bar */
.am-impersonation-bar {
  background: #fd5223 !important;
  color: #fff !important;
}

/* General text colors */
.am-tutor-detail h1,
.am-tutor-detail h2,
.am-tutor-detail h3,
.am-tutor-detail h4,
.am-tutor-detail h5 {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
}

.am-tutor-detail p,
.am-tutor-detail span,
.am-tutor-detail div {
  font-family: 'Inter', sans-serif !important;
}

/* Badges */
.am-user_badge figure {
  border: 2px solid rgba(253, 82, 35, 0.5) !important;
  border-radius: 50% !important;
}

/* ============================================================
   19. PERSON DETAIL - Poster Layout (React PersonDetail style)
   ============================================================ */

/* Blurred background */
.am-search-detail-banner {
  position: relative !important;
  overflow: hidden !important;
}

.am-detail-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  filter: blur(30px) brightness(0.3);
  transform: scale(1.1);
  z-index: 0;
}

.am-detail-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26, 10, 5, 0.4) 0%, rgba(26, 10, 5, 0.95) 100%);
  z-index: 1;
}

.am-search-detail-banner .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Poster layout - flexbox with image left, info right */
.am-detail-persondetail {
  display: flex !important;
  gap: 40px !important;
  align-items: flex-start !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
}

.am-detail-poster {
  flex-shrink: 0;
  width: 350px;
  height: 450px;
}

.am-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.am-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

/* Name styling - larger for poster layout */
.am-detail-persondetail .am-tutordetail_user_name h3 {
  font-size: 32px !important;
  margin-bottom: 8px !important;
  line-height: 1.2 !important;
}

.am-detail-persondetail .am-tutordetail_user_name > span {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  display: block;
  margin-top: 4px;
}

/* Head section - name left, heart right */
.am-detail-persondetail .am-tutordetail_head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
}

/* Responsive */
@media (max-width: 768px) {
  .am-detail-persondetail {
    flex-direction: column !important;
    align-items: center !important;
  }

  .am-detail-poster {
    width: 250px;
    height: 320px;
  }

  .am-detail-persondetail .am-tutordetail_user_name h3 {
    font-size: 24px !important;
    text-align: center;
  }

  .am-detail-info {
    width: 100%;
  }
}
