/* ===== NEW PREMIUM PATIENT RESULTS VIDEO GALLERY STYLES ===== */

:root {
  --g-bg-dark: #090d16; /* Deep rich slate black */
  --g-bg-card: rgba(17, 24, 39, 0.7);
  --g-border: rgba(255, 255, 255, 0.08);
  --g-text-white: #f8fafc;
  --g-text-muted: #94a3b8;
  --g-primary: #14b8a6;
  --g-primary-hover: #0d9488;
  --g-accent: #f59e0b;
  --g-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --g-radius: 16px;
}

body.gallery-standalone-body {
  background-color: var(--g-bg-dark);
  color: var(--g-text-white);
  min-height: 100vh;
  padding-top: 80px; /* offset for fixed navbar */
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* NAVBAR MODIFICATIONS */
body.gallery-standalone-body .navbar {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* MAIN CONTAINER */
.v-gallery-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* HEADER SECTION */
.v-gallery-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.v-tag {
  display: inline-block;
  background: rgba(20, 184, 166, 0.1);
  color: var(--g-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.v-gallery-header h1 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, var(--g-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v-gallery-header p {
  color: var(--g-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* SEARCH & FILTER CONTROLS */
.v-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid var(--g-border);
  padding: 16px 24px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Tabs styles */
.v-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.v-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--g-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.v-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.v-tab.active {
  background: var(--g-primary);
  color: #fff;
  border-color: var(--g-primary);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

/* Search bar styles */
.v-search-box {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.v-search-box input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 12px 18px 12px 42px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}

.v-search-box input:focus {
  border-color: var(--g-primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.v-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--g-text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

/* VIDEO GRID */
.v-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* VIDEO CARD */
.v-card {
  background: var(--g-bg-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--g-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.v-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 25px 50px -12px rgba(20, 184, 166, 0.15);
}

/* Thumbnail wrapper */
.v-card-thumbnail {
  aspect-ratio: 16 / 10;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.v-card-time {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.v-card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 5;
}

.v-card-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px; /* offset for perfect triangle alignment */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
}

.v-card:hover .v-card-play-icon {
  transform: scale(1.15);
  background: #fff;
  color: var(--g-primary-hover);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.v-card:hover .v-card-play-overlay {
  background: rgba(9, 13, 22, 0.1);
}

/* Card Content details */
.v-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.v-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.v-card-desc {
  font-size: 0.88rem;
  color: var(--g-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.v-card-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--g-primary);
  align-self: flex-start;
  transition: transform 0.2s;
}

.v-card:hover .v-card-more {
  transform: translateX(4px);
}

/* Empty States */
.v-empty-state {
  grid-column: span 3;
  text-align: center;
  padding: 60px 24px;
  background: rgba(17, 24, 39, 0.2);
  border: 1px dashed var(--g-border);
  border-radius: var(--g-radius);
}

.v-empty-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  display: block;
}

.v-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.v-empty-state p {
  color: var(--g-text-muted);
  font-size: 0.9rem;
}

/* ===== PREMIUM VIDEO PLAYER MODAL ===== */
.v-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.v-modal-container {
  background: #090d16;
  border: 1px solid var(--g-border);
  border-radius: 20px;
  width: 100%;
  max-width: 1100px;
  height: 85vh;
  max-height: 720px;
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Desktop Splitpane */
  overflow: hidden;
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.8);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-modal-overlay.active .v-modal-container {
  transform: scale(1) translateY(0);
}

/* LEFT SIDE: CUSTOM VIDEO CONTAINER */
.v-modal-player-side {
  background: #020408;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.v-player-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.v-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Big Center Play Button Overlay */
.v-center-play-btn {
  position: absolute;
  z-index: 15;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 13, 22, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-center-play-btn::before {
  content: '▶';
  font-size: 1.8rem;
  padding-left: 6px;
}

.v-center-play-btn:hover {
  transform: scale(1.1);
  background: var(--g-primary);
  border-color: var(--g-primary);
}

/* Custom Controls Bar */
.v-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%);
  padding: 30px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0; /* Auto-hide controls */
  transition: opacity 0.3s;
}

.v-player-wrapper:hover .v-controls-bar {
  opacity: 1;
}

/* Custom scrubber container */
.v-timeline-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.v-timeline-container:hover {
  height: 8px;
}

.v-timeline-bg {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 10px;
}

.v-timeline-progress {
  height: 100%;
  background: var(--g-primary);
  width: 0%;
  border-radius: 10px;
}

.v-timeline-handle {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 0%;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.v-timeline-container:hover .v-timeline-handle {
  opacity: 1;
}

/* Controls buttons and items */
.v-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v-controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.v-control-btn {
  background: none;
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.v-control-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--g-primary);
}

.v-control-btn svg {
  width: 18px;
  height: 18px;
}

/* Volume Slider Controls */
.v-volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
}

.v-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.v-volume-control:hover .v-volume-slider {
  width: 70px;
}

.v-time-counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* RIGHT SIDE: SPECIFIC DETAILS SIDEBAR SHEET */
.v-modal-info-side {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #090d16;
}

.v-modal-info-header {
  padding: 24px;
  border-bottom: 1px solid var(--g-border);
  position: relative;
}

.v-modal-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--g-primary);
  background: rgba(20, 184, 166, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.v-modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.v-modal-duration {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--g-text-muted);
}

.v-modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--g-text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}

.v-modal-close-btn:hover {
  color: #fff;
}

/* Info Scroll wrapper */
.v-modal-info-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.v-modal-info-section h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.v-modal-desc {
  font-size: 0.88rem;
  color: var(--g-text-muted);
  line-height: 1.6;
}

/* Trust Badge Bio card */
.v-modal-trust-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--g-border);
  padding: 16px 20px;
  border-radius: 12px;
}

.v-trust-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.v-trust-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(20, 184, 166, 0.3);
}

.v-trust-avatar-row h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.v-verified-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--g-primary);
}

.v-trust-text {
  font-size: 0.8rem;
  color: var(--g-text-muted);
  line-height: 1.5;
}

/* Patient Reviews item list */
.v-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-review-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid rgba(20, 184, 166, 0.3);
}

.v-review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  color: var(--g-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.v-review-content {
  flex-grow: 1;
}

.v-review-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.v-review-text {
  font-size: 0.8rem;
  color: var(--g-text-muted);
  line-height: 1.4;
}

/* Footer Section with CTA */
.v-modal-info-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--g-border);
  background: #090d16;
}

.v-cta-booking-btn {
  display: block;
  width: 100%;
  background: var(--g-primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
  transition: all 0.3s;
}

.v-cta-booking-btn:hover {
  background: var(--g-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.35);
}

/* ===== RESPONSIVE BREAKPOINT RULES ===== */
@media (max-width: 1100px) {
  .v-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .v-control-row {
    flex-direction: column;
    align-items: stretch;
  }
  .v-search-box {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body.gallery-standalone-body {
    padding-top: 70px;
  }
  .v-gallery-main {
    padding: 24px 16px 60px;
  }
  .v-gallery-header {
    margin-bottom: 32px;
  }
  .v-gallery-header h1 {
    font-size: 2rem;
  }
  .v-gallery-header p {
    font-size: 0.95rem;
  }
  .v-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .v-control-row {
    padding: 14px;
    border-radius: 14px;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  /* Modal responsive: collapses sidebar sheet under video */
  .v-modal-overlay {
    padding: 0;
  }
  .v-modal-container {
    grid-template-columns: 1fr;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    border: none;
  }
  
  .v-modal-player-side {
    height: 38vh; /* top 38% video player */
    flex-shrink: 0;
  }
  
  .v-modal-info-side {
    height: 62vh; /* bottom 62% info scroll sheet */
  }
  .v-modal-info-header {
    padding: 16px 20px;
  }
  .v-modal-title {
    font-size: 1.15rem;
  }
  .v-modal-info-scroll {
    padding: 20px;
    gap: 20px;
  }
  
  .v-controls-bar {
    padding: 20px 14px 10px;
  }
  .v-center-play-btn {
    width: 60px;
    height: 60px;
  }
  .v-center-play-btn::before {
    font-size: 1.4rem;
  }
  .v-volume-slider {
    display: none; /* Hide slider on mobile */
  }
}

/* ===== LIGHT THEME FOR SERVICES & BRANCHES STANDALONE PAGES ===== */
body.light-standalone-body {
  background-color: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
  padding-top: 80px;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
}

body.light-standalone-body .navbar {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

body.light-standalone-body .v-gallery-header h1 {
  background: linear-gradient(135deg, #0f172a 30%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-standalone-body .v-gallery-header p {
  color: #64748b;
}

body.light-standalone-body .v-control-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

body.light-standalone-body .v-tab {
  color: #64748b;
}

body.light-standalone-body .v-tab:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-standalone-body .v-tab.active {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
}

body.light-standalone-body .v-search-box input {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

body.light-standalone-body .v-search-box input:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

body.light-standalone-body .v-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

body.light-standalone-body .v-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.12);
}

body.light-standalone-body .v-card-title {
  color: #0f172a;
}

body.light-standalone-body .v-card-desc {
  color: #64748b;
}

body.light-standalone-body .v-card-badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

body.light-standalone-body .v-modal-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

body.light-standalone-body .v-modal-info-side {
  background: #ffffff;
}

body.light-standalone-body .v-modal-info-header {
  border-bottom: 1px solid #e2e8f0;
}

body.light-standalone-body .v-modal-title {
  color: #0f172a;
}

body.light-standalone-body .v-modal-info-section h3 {
  color: #0f172a;
}

body.light-standalone-body .v-modal-desc {
  color: #64748b;
}

body.light-standalone-body .v-modal-trust-card {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid #e2e8f0;
}

body.light-standalone-body .v-trust-avatar-row h4 {
  color: #0f172a;
}

body.light-standalone-body .v-review-item {
  background: rgba(0, 0, 0, 0.01);
  border-left-color: #0d9488;
}

body.light-standalone-body .v-review-name {
  color: #0f172a;
}

body.light-standalone-body .v-review-text {
  color: #64748b;
}

body.light-standalone-body .v-modal-info-footer {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

