/*
Theme Name: Virtrulio
Theme URI: https://psicologon.com.ar
Author: Virtrulio
Author URI: https://psicologon.com.ar
Description: Plataforma de salud mental — Marketplace y SaaS para psicólogos y pacientes en Argentina.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: virtrulio
Tags: health, marketplace, saas, mental-health, spanish
*/

/* ==========================================================================
   DESIGN SYSTEM — CSS Custom Properties
   ========================================================================== */

:root {
  /* ── Brand Colors (New Friendly Palette) ── */
  --v-primary: #337066;
  /* Verde principal */
  --v-primary-light: #4c988b;
  --v-primary-dark: #225149;
  --v-primary-50: rgba(51, 112, 102, 0.08);
  --v-primary-100: rgba(51, 112, 102, 0.15);
  --v-primary-200: rgba(51, 112, 102, 0.25);

  --v-secondary: #164741;
  /* Verde oscuro — moderno y legible */
  --v-secondary-light: #28635b;
  --v-secondary-dark: #0d2e2a;

  --v-accent: #FA8A28;
  /* Naranja — calidez, energía positiva */
  --v-accent-light: #fcaf58;
  --v-accent-dark: #d86f15;

  --v-success: #10B981;
  --v-warning: #FA8A28;
  --v-danger: #EF4444;
  --v-info: #0EA5E9;

  /* Colores amigables extra */
  --v-pastel-purple: #EDE9FE;
  --v-pastel-blue: #E0F2FE;
  --v-pastel-green: #ECFDF5;
  --v-pastel-yellow: #FFFBEB;

  /* ── Neutrals ── */
  --v-white: #FFFFFF;
  --v-gray-50: #F8FAFB;
  --v-gray-100: #F1F4F6;
  --v-gray-200: #E2E7EB;
  --v-gray-300: #CBD3DA;
  --v-gray-400: #9AA5B1;
  --v-gray-500: #6B7785;
  --v-gray-600: #4A5568;
  --v-gray-700: #2D3748;
  --v-gray-800: #1A202C;
  --v-gray-900: #0F1419;
  --v-black: #0A0E13;

  /* ── Typography ── */
  --v-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --v-font-size-xs: 0.75rem;
  /* 12px */
  --v-font-size-sm: 0.875rem;
  /* 14px */
  --v-font-size-base: 1rem;
  /* 16px */
  --v-font-size-md: 1.125rem;
  /* 18px */
  --v-font-size-lg: 1.25rem;
  /* 20px */
  --v-font-size-xl: 1.5rem;
  /* 24px */
  --v-font-size-2xl: 1.875rem;
  /* 30px */
  --v-font-size-3xl: 2.25rem;
  /* 36px */
  --v-font-size-4xl: 3rem;
  /* 48px */
  --v-font-size-5xl: 3.75rem;
  /* 60px */

  --v-font-weight-normal: 400;
  --v-font-weight-medium: 500;
  --v-font-weight-semibold: 600;
  --v-font-weight-bold: 700;
  --v-font-weight-extrabold: 800;

  --v-line-height-tight: 1.2;
  --v-line-height-normal: 1.5;
  --v-line-height-relaxed: 1.75;

  /* ── Spacing ── */
  --v-space-1: 0.25rem;
  /* 4px */
  --v-space-2: 0.5rem;
  /* 8px */
  --v-space-3: 0.75rem;
  /* 12px */
  --v-space-4: 1rem;
  /* 16px */
  --v-space-5: 1.25rem;
  /* 20px */
  --v-space-6: 1.5rem;
  /* 24px */
  --v-space-8: 2rem;
  /* 32px */
  --v-space-10: 2.5rem;
  /* 40px */
  --v-space-12: 3rem;
  /* 48px */
  --v-space-16: 4rem;
  /* 64px */
  --v-space-20: 5rem;
  /* 80px */
  --v-space-24: 6rem;
  /* 96px */

  /* ── Border Radius (Friendly & Rounded) ── */
  --v-radius-xs: 4px;
  --v-radius-sm: 8px;
  --v-radius-md: 12px;
  --v-radius-lg: 16px;
  --v-radius-xl: 24px;
  --v-radius-2xl: 32px;
  --v-radius-full: 9999px;

  /* ── Shadows ── */
  --v-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --v-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --v-shadow-md: 0 8px 16px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
  --v-shadow-lg: 0 16px 32px rgba(51, 112, 102, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  --v-shadow-xl: 0 24px 48px rgba(51, 112, 102, 0.12), 0 12px 24px rgba(0, 0, 0, 0.04);
  --v-shadow-2xl: 0 32px 64px rgba(51, 112, 102, 0.15);
  --v-shadow-glass: 0 8px 32px rgba(51, 112, 102, 0.08);

  /* ── Transitions ── */
  --v-transition-fast: 150ms ease;
  --v-transition-base: 250ms ease;
  --v-transition-slow: 350ms ease;
  --v-transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index ── */
  --v-z-dropdown: 100;
  --v-z-sticky: 200;
  --v-z-header: 300;
  --v-z-overlay: 400;
  --v-z-modal: 500;
  --v-z-toast: 600;

  /* ── Layout ── */
  --v-container-max: 1200px;
  --v-container-sm: 640px;
  --v-container-md: 768px;
  --v-container-lg: 1024px;
  --v-header-height: 72px;
  --v-sidebar-width: 260px;
}

/* ==========================================================================
   GLOBAL RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--v-font-family);
  font-size: var(--v-font-size-base);
  font-weight: var(--v-font-weight-normal);
  line-height: var(--v-line-height-normal);
  color: var(--v-gray-800);
  background-color: var(--v-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Typography ── */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--v-font-weight-bold);
  line-height: var(--v-line-height-tight);
  color: var(--v-secondary);
  margin-bottom: var(--v-space-4);
}

h1 {
  font-size: var(--v-font-size-4xl);
}

h2 {
  font-size: var(--v-font-size-3xl);
}

h3 {
  font-size: var(--v-font-size-2xl);
}

h4 {
  font-size: var(--v-font-size-xl);
}

h5 {
  font-size: var(--v-font-size-lg);
}

h6 {
  font-size: var(--v-font-size-md);
}

p {
  margin-bottom: var(--v-space-4);
  color: var(--v-gray-600);
  line-height: var(--v-line-height-relaxed);
}

a {
  color: var(--v-primary);
  text-decoration: none;
  transition: color var(--v-transition-fast);
}

a:hover {
  color: var(--v-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.v-container {
  width: 100%;
  max-width: var(--v-container-max);
  margin-inline: auto;
  padding-inline: var(--v-space-6);
}

.v-container--sm {
  max-width: var(--v-container-sm);
}

.v-container--md {
  max-width: var(--v-container-md);
}

.v-container--lg {
  max-width: var(--v-container-lg);
}

.v-section {
  padding-block: var(--v-space-16);
}

.v-section--lg {
  padding-block: var(--v-space-24);
}

.v-grid {
  display: grid;
  gap: var(--v-space-6);
}

.v-grid--2 {
  grid-template-columns: repeat(1, 1fr);
}

.v-grid--3 {
  grid-template-columns: repeat(1, 1fr);
}

.v-grid--4 {
  grid-template-columns: repeat(1, 1fr);
}

.v-flex {
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
}

.v-flex--between {
  justify-content: space-between;
}

.v-flex--center {
  justify-content: center;
}

.v-flex--col {
  flex-direction: column;
  align-items: stretch;
}

/* ── Text Alignment ── */
.v-text-center {
  text-align: center;
}

.v-text-left {
  text-align: left;
}

.v-text-right {
  text-align: right;
}

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

.v-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--v-space-2);
  padding: var(--v-space-3) var(--v-space-6);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-semibold);
  line-height: 1.4;
  border: 2px solid transparent;
  border-radius: var(--v-radius-lg);
  cursor: pointer;
  transition: all var(--v-transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.v-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--v-transition-fast);
}

.v-btn:hover::after {
  opacity: 1;
}

.v-btn:active {
  transform: scale(0.97);
}

/* Primary */
.v-btn--primary {
  background: linear-gradient(135deg, var(--v-primary), var(--v-primary-dark));
  color: var(--v-white);
  box-shadow: 0 4px 12px rgba(51, 112, 102, 0.3);
  border: 0 !important;
}

.v-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(51, 112, 102, 0.4);
  transform: translateY(-1px);
  color: var(--v-white);
}

/* Secondary */
.v-btn--secondary {
  background: var(--v-white);
  color: var(--v-primary);
  border-color: var(--v-primary);
}

.v-btn--secondary:hover {
  background: var(--v-primary-50);
  color: var(--v-primary-dark);
  transform: translateY(-1px);
}

/* Ghost */
.v-btn--ghost {
  background: transparent;
  color: var(--v-gray-600);
}

.v-btn--ghost:hover {
  background: var(--v-gray-100);
  color: var(--v-gray-800);
}

/* Sizes */
.v-btn--sm {
  padding: var(--v-space-2) var(--v-space-5);
  font-size: var(--v-font-size-sm);
}

.v-btn--lg {
  padding: var(--v-space-4) var(--v-space-8);
  font-size: var(--v-font-size-base);
}

.v-btn--xl {
  padding: var(--v-space-5) var(--v-space-10);
  font-size: var(--v-font-size-md);
  border-radius: var(--v-radius-xl);
}

.v-btn--full {
  width: 100%;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.v-card {
  background: var(--v-white);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-sm);
  border: 1px solid var(--v-gray-200);
  overflow: hidden;
  transition: all var(--v-transition-base);
}

.v-card:hover {
  box-shadow: var(--v-shadow-lg);
  transform: translateY(-2px);
}

.v-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.v-card__body {
  padding: var(--v-space-6);
}

.v-card__title {
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  margin-bottom: var(--v-space-2);
}

.v-card__text {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-500);
  margin-bottom: var(--v-space-4);
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.v-form-group {
  margin-bottom: var(--v-space-5);
}

.v-label {
  display: block;
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  color: var(--v-gray-700);
  margin-bottom: var(--v-space-2);
}

.v-input {
  width: 100%;
  padding: var(--v-space-3) var(--v-space-4);
  font-size: var(--v-font-size-base);
  color: var(--v-gray-800);
  background: var(--v-white);
  border: 1.5px solid var(--v-gray-300);
  border-radius: var(--v-radius-md);
  transition: all var(--v-transition-fast);
  outline: none;
}

.v-input:focus {
  border-color: var(--v-primary);
  box-shadow: 0 0 0 3px var(--v-primary-100);
}

.v-input::placeholder {
  color: var(--v-gray-400);
}

.v-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7785' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--v-space-3) center;
  padding-right: var(--v-space-10);
}

textarea.v-input {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   BADGES & TAGS
   ========================================================================== */

.v-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--v-space-1) var(--v-space-3);
  font-size: var(--v-font-size-xs);
  font-weight: var(--v-font-weight-medium);
  border-radius: var(--v-radius-full);
  line-height: 1.4;
}

.v-badge--primary {
  background: var(--v-primary-50);
  color: var(--v-primary-dark);
}

.v-badge--success {
  background: rgba(82, 183, 136, 0.12);
  color: #2D8A5E;
}

.v-badge--warning {
  background: rgba(244, 162, 97, 0.12);
  color: #C67A30;
}

.v-badge--danger {
  background: rgba(231, 111, 81, 0.12);
  color: #C44E33;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.v-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--v-header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: var(--v-z-header);
  transition: all var(--v-transition-base);
}

.v-header.scrolled {
  box-shadow: var(--v-shadow-md);
}

.v-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--v-container-max);
  margin-inline: auto;
  padding-inline: var(--v-space-6);
}

.v-header__logo {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  font-size: var(--v-font-size-xl);
  font-weight: var(--v-font-weight-extrabold);
  color: var(--v-secondary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.v-header__logo:hover {
  color: var(--v-secondary);
}

.v-header__logo-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  background: linear-gradient(135deg, var(--v-primary), var(--v-primary-dark));
  border-radius: var(--v-radius-md);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--v-white);
  font-size: var(--v-font-size-lg);
  line-height: 1;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.v-nav {
  display: none;
  align-items: center;
  gap: var(--v-space-1);
}

/* Notificaciones */
#v-notifications-dropdown {
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

#v-notifications-dropdown[style*="display: block"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  animation: slideFadeIn 0.2s forwards;
}

.v-notification-item {
  display: flex;
  padding: var(--v-space-3) var(--v-space-4);
  border-bottom: 1px solid var(--v-gray-100);
  transition: background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.v-notification-item:hover {
  background-color: var(--v-gray-50);
}

.v-notification-item--unread {
  background-color: var(--v-pastel-blue);
}

.v-notification-item--unread:hover {
  background-color: #eaf1ff;
  /* un poco más oscuro que pastel-blue */
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v-nav__link {
  padding: var(--v-space-2) var(--v-space-4);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  color: var(--v-gray-600);
  border-radius: var(--v-radius-md);
  transition: all var(--v-transition-fast);
  text-decoration: none;
}

.v-nav__link:hover,
.v-nav__link.active {
  color: var(--v-primary);
  background: var(--v-primary-50);
}

.v-header__actions {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
}

/* Mobile menu toggle */
.v-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--v-space-2);
  background: none;
  border: none;
  cursor: pointer;
  z-index: calc(var(--v-z-header) + 10);
}

.v-menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--v-gray-700);
  border-radius: 2px;
  transition: all var(--v-transition-base);
  transform-origin: center;
}

.v-menu-toggle.active .v-menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.v-menu-toggle.active .v-menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.v-menu-toggle.active .v-menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.v-mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--v-white);
  z-index: calc(var(--v-z-header) + 50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--v-space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--v-transition-base);
}

.v-mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.v-mobile-nav__link {
  font-size: var(--v-font-size-xl);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-gray-700);
  padding: var(--v-space-3) var(--v-space-6);
  border-radius: var(--v-radius-lg);
  transition: all var(--v-transition-fast);
  text-decoration: none;
}

.v-mobile-nav__link:hover {
  color: var(--v-primary);
  background: var(--v-primary-50);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.v-footer {
  background: var(--v-secondary);
  color: var(--v-gray-300);
  padding-block: var(--v-space-16) var(--v-space-8);
}

.v-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--v-space-10);
  margin-bottom: var(--v-space-12);
}

.v-footer__brand {
  max-width: 300px;
}

.v-footer__logo {
  font-size: var(--v-font-size-xl);
  font-weight: var(--v-font-weight-extrabold);
  color: var(--v-white);
  margin-bottom: var(--v-space-4);
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
}

.v-footer__desc {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-400);
  line-height: var(--v-line-height-relaxed);
  margin-bottom: 0;
}

.v-footer__title {
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--v-space-4);
}

.v-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-3);
}

.v-footer__link {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-400);
  transition: color var(--v-transition-fast);
  text-decoration: none;
}

.v-footer__link:hover {
  color: var(--v-primary-light);
}

.v-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--v-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--v-space-4);
  align-items: center;
  text-align: center;
}

.v-footer__copy {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-500);
  margin-bottom: 0;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.v-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--v-space-10);
}

.v-404__code {
  font-size: 8rem;
  font-weight: var(--v-font-weight-extrabold);
  background: linear-gradient(135deg, var(--v-primary), var(--v-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--v-space-4);
}

.v-404__title {
  font-size: var(--v-font-size-2xl);
  margin-bottom: var(--v-space-4);
}

.v-404__text {
  font-size: var(--v-font-size-md);
  max-width: 480px;
  margin-bottom: var(--v-space-8);
}

/* ==========================================================================
   UTILITY: Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.v-animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.v-animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (≥ 640px) */
@media (min-width: 640px) {
  .v-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop (≥ 768px) */
@media (min-width: 768px) {
  h1 {
    font-size: var(--v-font-size-5xl);
  }

  h2 {
    font-size: var(--v-font-size-4xl);
  }

  h3 {
    font-size: var(--v-font-size-3xl);
  }

  .v-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .v-grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .v-nav {
    display: flex;
  }

  .v-menu-toggle {
    display: none;
  }

  .v-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .v-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* ==========================================================================
   HERO SECTION (Home)
   ========================================================================== */

.v-hero {
  position: relative;
  padding: var(--v-space-16) 0 var(--v-space-20);
  overflow: hidden;
}

.v-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.v-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.06) 0%, rgba(38, 70, 83, 0.04) 50%, rgba(233, 196, 106, 0.04) 100%);
}

.v-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(42, 157, 143, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(233, 196, 106, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(42, 157, 143, 0.05) 0%, transparent 40%);
}

.v-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.v-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--v-space-2);
  padding: var(--v-space-2) var(--v-space-4);
  background: var(--v-primary-50);
  color: var(--v-primary-dark);
  border-radius: var(--v-radius-full);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  margin-bottom: var(--v-space-6);
}

.v-hero__title {
  font-size: var(--v-font-size-4xl);
  font-weight: var(--v-font-weight-extrabold);
  color: var(--v-secondary);
  line-height: 1.1;
  margin-bottom: var(--v-space-6);
  letter-spacing: -0.02em;
}

.v-hero__title-accent {
  background: linear-gradient(135deg, var(--v-primary), var(--v-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v-hero__text {
  font-size: var(--v-font-size-md);
  color: var(--v-gray-500);
  max-width: 560px;
  margin: 0 auto var(--v-space-8);
  line-height: var(--v-line-height-relaxed);
}

/* Search Bar */
.v-search {
  max-width: 600px;
  margin: 0 auto var(--v-space-10);
}

.v-search__form {
  display: flex;
  align-items: center;
  background: var(--v-white);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-lg);
  border: 1.5px solid var(--v-gray-200);
  padding: var(--v-space-2);
  transition: all var(--v-transition-base);
}

.v-search__form:focus-within {
  border-color: var(--v-primary);
  box-shadow: var(--v-shadow-xl), 0 0 0 3px var(--v-primary-100);
}

.v-search__icon {
  padding: 0 var(--v-space-3) 0 var(--v-space-4);
  color: var(--v-gray-400);
  flex-shrink: 0;
}

.v-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--v-font-size-base);
  color: var(--v-gray-800);
  background: transparent;
  padding: var(--v-space-3) 0;
  min-width: 0;
}

.v-search__input::placeholder {
  color: var(--v-gray-400);
}

/* Hero Stats */
.v-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--v-space-6);
  flex-wrap: wrap;
}

.v-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--v-space-1);
}

.v-hero__stat-number {
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-primary);
}

.v-hero__stat-label {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
}

.v-hero__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--v-gray-200);
}

/* ==========================================================================
   SECTION LABELS
   ========================================================================== */

.v-section-label {
  display: inline-block;
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--v-space-3);
}

.v-section-title {
  margin-bottom: var(--v-space-4);
}

.v-section-subtitle {
  font-size: var(--v-font-size-md);
  color: var(--v-gray-500);
  max-width: 560px;
  margin: 0 auto var(--v-space-12);
}

/* ==========================================================================
   HOW IT WORKS — STEPS
   ========================================================================== */

.v-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--v-space-4);
}

.v-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: var(--v-space-6);
  position: relative;
}

.v-step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--v-space-4);
  background: var(--v-primary-50);
  border-radius: var(--v-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v-primary);
}

.v-step__number {
  position: absolute;
  top: var(--v-space-4);
  right: var(--v-space-4);
  width: 28px;
  height: 28px;
  border-radius: var(--v-radius-full);
  background: var(--v-primary);
  color: var(--v-white);
  font-size: var(--v-font-size-xs);
  font-weight: var(--v-font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-step__title {
  font-size: var(--v-font-size-base);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  margin-bottom: var(--v-space-2);
}

.v-step__text {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-500);
  margin-bottom: 0;
}

.v-step__connector {
  display: none;
  align-items: center;
  padding-top: var(--v-space-10);
}

/* ==========================================================================
   PSYCHOLOGIST CARD
   ========================================================================== */

.v-psychologist-card {
  background: var(--v-white);
  border-radius: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--v-gray-100);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.v-psychologist-card:hover {
  box-shadow: 0 20px 40px rgba(51, 112, 102, 0.12);
  transform: translateY(-8px);
  border-color: var(--v-primary-200);
}

.v-psychologist-card__header {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, var(--v-primary-500), var(--v-primary-700));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: height 0.3s ease;
}

.v-psychologist-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--v-white);
  position: absolute;
  bottom: -50px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background: var(--v-white);
  z-index: 2;
}

.v-psychologist-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-psychologist-card__body {
  padding: 65px var(--v-space-6) var(--v-space-6);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v-psychologist-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--v-gray-900);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.v-psychologist-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.v-psychologist-card__name a:hover {
  color: var(--v-primary);
}

.v-psychologist-card__matricula {
  font-size: 0.75rem;
  color: var(--v-gray-500);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v-psychologist-card__excerpt {
  font-size: 0.9rem;
  color: var(--v-gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
  flex: 1;
}

.v-psychologist-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--v-gray-50);
  padding-top: 16px;
  margin-top: auto;
}

.v-psychologist-card__price {
  text-align: left;
}

.v-psychologist-card__price-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--v-secondary);
  display: block;
  line-height: 1;
}

.v-psychologist-card__price-label {
  font-size: 0.7rem;
  color: var(--v-gray-400);
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   TRUST CARDS
   ========================================================================== */

.v-trust-section {
  background: var(--v-white);
}

.v-trust-card {
  text-align: center;
  padding: var(--v-space-8);
  border-radius: var(--v-radius-xl);
  border: 1px solid var(--v-gray-100);
  transition: all var(--v-transition-base);
}

.v-trust-card:hover {
  border-color: var(--v-primary-200);
  box-shadow: var(--v-shadow-md);
}

.v-trust-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--v-space-5);
  background: var(--v-primary-50);
  border-radius: var(--v-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v-primary);
}

.v-trust-card__title {
  font-size: var(--v-font-size-md);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  margin-bottom: var(--v-space-3);
}

.v-trust-card__text {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-500);
  margin-bottom: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.v-cta-section {
  background: var(--v-gray-50);
}

.v-cta-card {
  background: linear-gradient(135deg, var(--v-secondary), var(--v-secondary-dark));
  border-radius: var(--v-radius-2xl);
  padding: var(--v-space-12);
  color: var(--v-white);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--v-space-8);
}

.v-cta-card__title {
  font-size: var(--v-font-size-3xl);
  color: var(--v-white);
  margin-bottom: var(--v-space-4);
}

.v-cta-card__text {
  font-size: var(--v-font-size-md);
  color: var(--v-gray-300);
  max-width: 480px;
  margin-bottom: var(--v-space-6);
}

.v-cta-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-4);
}

.v-cta-feature {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-300);
}

/* ==========================================================================
   ARCHIVE LAYOUT
   ========================================================================== */

.v-archive-hero {
  background: linear-gradient(135deg, var(--v-secondary), var(--v-secondary-dark));
  padding: var(--v-space-12) 0;
  color: var(--v-white);
}

.v-archive-hero__title {
  color: var(--v-white);
  margin-bottom: var(--v-space-3);
}

.v-archive-hero__text {
  color: var(--v-gray-300);
  font-size: var(--v-font-size-md);
  margin: 0;
}

.v-archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--v-space-8);
  padding-top: var(--v-space-8);
}

.v-archive-content {
  min-width: 0;
}

.v-archive-count {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-500);
  margin-bottom: var(--v-space-6);
}

/* Filters Sidebar */
.v-filters {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  background: var(--v-white);
  z-index: var(--v-z-overlay);
  padding: var(--v-space-6);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--v-transition-base);
  box-shadow: var(--v-shadow-2xl);
}

.v-filters.active {
  transform: translateX(0);
}

.v-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--v-space-6);
}

.v-filters__title {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  margin-bottom: 0;
}

.v-filters__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v-gray-500);
  padding: var(--v-space-1);
}

.v-filter-group {
  margin-bottom: var(--v-space-5);
}

.v-range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--v-gray-200);
  outline: none;
  margin-top: var(--v-space-2);
}

.v-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--v-primary);
  cursor: pointer;
  box-shadow: var(--v-shadow-sm);
}

.v-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
  margin-top: var(--v-space-2);
}

.v-mobile-filter-btn {
  margin-bottom: var(--v-space-6);
}

/* Empty State */
.v-empty-state {
  text-align: center;
  padding: var(--v-space-16) var(--v-space-6);
}

.v-empty-state__icon {
  margin-bottom: var(--v-space-4);
}

.v-empty-state__title {
  font-size: var(--v-font-size-xl);
  color: var(--v-secondary);
  margin-bottom: var(--v-space-3);
}

.v-empty-state__text {
  color: var(--v-gray-500);
  margin-bottom: var(--v-space-6);
}

/* Pagination */
.v-pagination {
  margin-top: var(--v-space-10);
  display: flex;
  justify-content: center;
}

.v-pagination ul {
  display: flex;
  gap: var(--v-space-1);
  list-style: none;
}

.v-pagination li a,
.v-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--v-space-3);
  border-radius: var(--v-radius-md);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  color: var(--v-gray-600);
  border: 1px solid var(--v-gray-200);
  transition: all var(--v-transition-fast);
  text-decoration: none;
}

.v-pagination li a:hover {
  background: var(--v-primary-50);
  border-color: var(--v-primary);
  color: var(--v-primary);
}

.v-pagination li span.current {
  background: var(--v-primary);
  color: var(--v-white);
  border-color: var(--v-primary);
}

/* ==========================================================================
   PSYCHOLOGIST PROFILE PAGE
   ========================================================================== */

.v-profile-hero {
  padding: var(--v-space-10) 0;
}

.v-profile-back {
  display: inline-flex;
  align-items: center;
  gap: var(--v-space-2);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  text-decoration: none;
  transition: color var(--v-transition-fast);
}

.v-profile-back:hover {
  color: var(--v-white);
}

.v-profile-content {
  padding-bottom: var(--v-space-16);
}

.v-profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--v-space-8);
}

/* Profile Sidebar Card */
.v-profile-sidebar {
  width: 100%;
}

.v-profile-card {
  background: var(--v-white);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-md);
  padding: var(--v-space-8);
  text-align: center;
  position: relative;
  margin-top: -60px;
}

.v-profile-card__avatar-wrapper {
  margin-bottom: var(--v-space-5);
}

.v-profile-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--v-radius-full);
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid;
}

.v-profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-profile-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--v-font-size-4xl);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-white);
}

.v-profile-card__name {
  font-size: var(--v-font-size-xl);
  margin-bottom: var(--v-space-2);
}

.v-profile-card__matricula {
  display: inline-flex;
  align-items: center;
  gap: var(--v-space-1);
  font-size: var(--v-font-size-sm);
  color: var(--v-success);
  margin-bottom: var(--v-space-4);
}

.v-profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--v-space-1);
  justify-content: center;
  margin-bottom: var(--v-space-5);
}

.v-profile-card__price-box {
  background: var(--v-gray-50);
  border: 1px solid;
  border-radius: var(--v-radius-lg);
  padding: var(--v-space-5);
  margin-bottom: var(--v-space-5);
}

.v-profile-card__price-label {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
  display: block;
  margin-bottom: var(--v-space-1);
}

.v-profile-card__price-amount {
  font-size: var(--v-font-size-3xl);
  font-weight: var(--v-font-weight-extrabold);
  line-height: 1.2;
  display: block;
}

.v-profile-card__price-note {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-400);
  display: block;
  margin-top: var(--v-space-1);
}

.v-profile-card__info {
  margin-bottom: var(--v-space-6);
  text-align: left;
}

.v-profile-info-item {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  padding: var(--v-space-3) 0;
  border-bottom: 1px solid var(--v-gray-100);
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-600);
}

.v-profile-info-item:last-child {
  border-bottom: none;
}

/* Profile Main Content */
.v-profile-section {
  background: var(--v-white);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-sm);
  border: 1px solid var(--v-gray-200);
  padding: var(--v-space-8);
  margin-bottom: var(--v-space-6);
}

.v-profile-section__title {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  font-size: var(--v-font-size-lg);
  margin-bottom: var(--v-space-6);
  padding-bottom: var(--v-space-4);
  border-bottom: 1px solid var(--v-gray-100);
}

.v-profile-section__content p {
  line-height: var(--v-line-height-relaxed);
}

/* Specialties Grid */
.v-specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--v-space-4);
}

.v-specialty-item {
  padding: var(--v-space-4);
  border-left: 3px solid;
  background: var(--v-gray-50);
  border-radius: 0 var(--v-radius-md) var(--v-radius-md) 0;
}

.v-specialty-item__name {
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  font-size: var(--v-font-size-sm);
}

.v-specialty-item__desc {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
  margin: var(--v-space-1) 0 0;
}

/* ==========================================================================
   BOOKING CALENDAR
   ========================================================================== */

.v-booking-calendar {
  border: 1px solid var(--v-gray-200);
  border-radius: var(--v-radius-lg);
  padding: var(--v-space-6);
  background: var(--v-gray-50);
}

.v-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--v-space-4);
}

.v-cal-month {
  font-size: var(--v-font-size-md);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  margin: 0;
}

.v-cal-nav {
  width: 36px;
  height: 36px;
  border-radius: var(--v-radius-md);
  border: 1px solid var(--v-gray-200);
  background: var(--v-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--v-gray-600);
  transition: all var(--v-transition-fast);
}

.v-cal-nav:hover {
  border-color: var(--v-primary);
  color: var(--v-primary);
}

.v-cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: var(--v-space-2);
}

.v-cal-days-header span {
  font-size: var(--v-font-size-xs);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-gray-500);
  padding: var(--v-space-2);
}

.v-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.v-cal-day {
  aspect-ratio: 1;
  border: none;
  background: var(--v-white);
  border-radius: var(--v-radius-md);
  cursor: pointer;
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  color: var(--v-gray-700);
  transition: all var(--v-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-cal-day:hover:not(.v-cal-day--disabled) {
  background: var(--v-primary-50);
  color: var(--v-primary);
}

.v-cal-day--selected {
  background: var(--v-primary) !important;
  color: var(--v-white) !important;
  font-weight: var(--v-font-weight-bold);
}

.v-cal-day--today {
  border: 2px solid var(--v-primary);
}

.v-cal-day--disabled {
  color: var(--v-gray-300);
  cursor: not-allowed;
}

.v-cal-day--empty {
  cursor: default;
}

/* Time Slots */
.v-cal-slots__title {
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-secondary);
  margin-bottom: var(--v-space-4);
}

.v-cal-slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: var(--v-space-2);
}

.v-cal-slot {
  padding: var(--v-space-2) var(--v-space-3);
  border: 1.5px solid var(--v-gray-200);
  border-radius: var(--v-radius-md);
  background: var(--v-white);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  color: var(--v-gray-700);
  cursor: pointer;
  text-align: center;
  transition: all var(--v-transition-fast);
}

.v-cal-slot:hover {
  border-color: var(--v-primary);
  color: var(--v-primary);
}

.v-cal-slot--selected {
  background: var(--v-primary);
  border-color: var(--v-primary);
  color: var(--v-white);
}

/* Booking Summary */
.v-booking-summary {
  margin-top: var(--v-space-6);
  border-top: 1px solid var(--v-gray-200);
  padding-top: var(--v-space-6);
}

.v-booking-summary h4 {
  font-size: var(--v-font-size-md);
  margin-bottom: var(--v-space-4);
}

.v-booking-summary__details {
  background: var(--v-white);
  border-radius: var(--v-radius-md);
  border: 1px solid var(--v-gray-200);
  overflow: hidden;
  margin-bottom: var(--v-space-4);
}

.v-booking-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--v-space-3) var(--v-space-4);
  font-size: var(--v-font-size-sm);
  border-bottom: 1px solid var(--v-gray-100);
}

.v-booking-summary__row:last-child {
  border-bottom: none;
}

.v-booking-summary__row span {
  color: var(--v-gray-500);
}

.v-booking-summary__row--total {
  background: var(--v-gray-50);
  font-size: var(--v-font-size-base);
}

.v-booking-summary__notice {
  display: flex;
  gap: var(--v-space-3);
  padding: var(--v-space-4);
  background: rgba(69, 123, 157, 0.06);
  border-radius: var(--v-radius-md);
  margin-bottom: var(--v-space-4);
  align-items: flex-start;
}

.v-booking-summary__notice p {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-600);
  margin: 0;
  line-height: var(--v-line-height-normal);
}

/* ==========================================================================
   RESPONSIVE — PAGE SPECIFIC
   ========================================================================== */

@media (min-width: 640px) {
  .v-hero__title {
    font-size: var(--v-font-size-5xl);
  }

  .v-step__connector {
    display: flex;
  }
}

@media (min-width: 768px) {
  .v-hero {
    padding: var(--v-space-20) 0 var(--v-space-24);
  }

  .v-cta-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .v-archive-layout {
    grid-template-columns: 260px 1fr;
  }

  .v-filters {
    position: static;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--v-gray-200);
    border-radius: var(--v-radius-xl);
    width: auto;
    height: fit-content;
    position: sticky;
    top: calc(var(--v-header-height) + var(--v-space-6));
  }

  .v-filters__close {
    display: none;
  }

  .v-mobile-filter-btn {
    display: none;
  }

  .v-profile-layout {
    grid-template-columns: 340px 1fr;
  }

  .v-profile-card {
    position: sticky;
    top: calc(var(--v-header-height) + var(--v-space-6));
  }
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.v-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--v-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--v-space-4);
  opacity: 0;
  transition: opacity var(--v-transition-base);
}

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

.v-modal {
  background: var(--v-white);
  border-radius: var(--v-radius-2xl);
  box-shadow: var(--v-shadow-2xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--v-transition-base);
}

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

.v-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--v-space-6) var(--v-space-6) 0;
}

.v-modal__title {
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-semibold);
  margin: 0;
}

.v-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v-gray-400);
  padding: var(--v-space-1);
  border-radius: var(--v-radius-md);
  transition: all var(--v-transition-fast);
}

.v-modal__close:hover {
  color: var(--v-gray-700);
  background: var(--v-gray-100);
}

.v-modal__body {
  padding: var(--v-space-6);
}

/* ==========================================================================
   BOOKING FORM
   ========================================================================== */

.v-booking-form-summary {
  background: var(--v-gray-50);
  border-radius: var(--v-radius-lg);
  padding: var(--v-space-4);
  margin-bottom: var(--v-space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--v-space-3);
}

.v-booking-form-summary__item {
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-600);
}

.v-booking-form-summary__item strong {
  color: var(--v-secondary);
}

.v-booking-form__policies {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-3);
  margin-bottom: var(--v-space-5);
}

.v-booking-form__policy {
  display: flex;
  align-items: flex-start;
  gap: var(--v-space-2);
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-600);
  line-height: var(--v-line-height-normal);
}

.v-booking-form__policy svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.v-booking-form__error {
  background: rgba(231, 111, 81, 0.08);
  border: 1px solid rgba(231, 111, 81, 0.2);
  border-radius: var(--v-radius-md);
  padding: var(--v-space-3) var(--v-space-4);
  color: var(--v-danger);
  font-size: var(--v-font-size-sm);
  margin-bottom: var(--v-space-4);
}

/* Booking Timer */
.v-booking-timer {
  display: inline-flex;
  align-items: center;
  gap: var(--v-space-2);
  padding: var(--v-space-3) var(--v-space-5);
  background: rgba(42, 157, 143, 0.08);
  border-radius: var(--v-radius-full);
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-600);
}

.v-booking-timer strong {
  font-size: var(--v-font-size-lg);
  color: var(--v-primary);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   AUTH PAGES (Login / Register)
   ========================================================================== */

.v-auth {
  min-height: 100vh;
  margin-top: calc(-1 * var(--v-header-height));
  padding-top: var(--v-header-height);
  background: #fafbfc;
}

.v-auth__container {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--v-header-height));
}

.v-auth__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--v-space-12) var(--v-space-8);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.v-auth__header {
  margin-bottom: var(--v-space-8);
}

.v-auth__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--v-space-2);
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-extrabold);
  color: var(--v-secondary);
  text-decoration: none;
  margin-bottom: var(--v-space-6);
}

.v-auth__title {
  font-size: var(--v-font-size-2xl);
  margin-bottom: var(--v-space-2);
}

.v-auth__subtitle {
  color: var(--v-gray-500);
  margin: 0;
}

.v-auth__error {
  background: rgba(231, 111, 81, 0.08);
  border: 1px solid rgba(231, 111, 81, 0.2);
  border-radius: var(--v-radius-md);
  padding: var(--v-space-3) var(--v-space-4);
  color: var(--v-danger);
  font-size: var(--v-font-size-sm);
  margin-bottom: var(--v-space-6);
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
}

.v-auth__form {
  margin-bottom: var(--v-space-6);
}

.v-auth__forgot {
  font-size: var(--v-font-size-xs);
  color: var(--v-primary);
}

.v-auth__footer {
  text-align: center;
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-500);
}

.v-auth__footer p {
  margin: 0;
}

.v-auth__side {
  display: none;
  background: linear-gradient(135deg, var(--v-secondary), var(--v-secondary-dark));
  color: var(--v-white);
  padding: var(--v-space-12);
  align-items: center;
  justify-content: center;
}

.v-auth__side-content h2 {
  color: var(--v-white);
  font-size: var(--v-font-size-3xl);
  margin-bottom: var(--v-space-8);
}

.v-auth__side-features {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-5);
}

.v-auth__side-feature {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-300);
}

/* Password toggle */
.v-input-password {
  position: relative;
}

.v-input-password .v-input {
  padding-right: var(--v-space-10);
}

.v-input-password__toggle {
  position: absolute;
  right: var(--v-space-3);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v-gray-400);
  padding: var(--v-space-1);
}

/* Role selector */
.v-role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--v-space-3);
}

.v-role-option input {
  display: none;
}

.v-role-option__card {
  border: 2px solid var(--v-gray-200);
  border-radius: var(--v-radius-lg);
  padding: var(--v-space-4);
  text-align: center;
  cursor: pointer;
  transition: all var(--v-transition-fast);
}

.v-role-option__card:hover {
  border-color: var(--v-primary-200);
}

.v-role-option input:checked+.v-role-option__card {
  border-color: var(--v-primary);
  background: var(--v-primary-50);
}

.v-role-option__card strong {
  display: block;
  font-size: var(--v-font-size-sm);
  color: var(--v-secondary);
  margin-top: var(--v-space-2);
}

.v-role-option__card span {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
}

/* ==========================================================================
   DASHBOARD
   ========================================================================== */

.v-dashboard {
  display: flex;
  min-height: calc(100vh - var(--v-header-height));
  margin-top: 0;
  padding-top: 0;
}

/* Sidebar Overlay */
.dash-sidebar-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--v-transition-base);
}

.dash-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sidebar */
.v-dash-sidebar {
  width: var(--v-sidebar-width);
  background: var(--v-white) !important;
  border-right: 1px solid var(--v-gray-200);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  z-index: 10000 !important;
  transform: translateX(-100%);
  transition: transform var(--v-transition-base);
}

.v-dash-sidebar.active {
  transform: translateX(0);
}

#close-dash-sidebar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--v-transition-base);
}

.v-dash-sidebar.active #close-dash-sidebar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.v-dash-sidebar__header {
  padding: var(--v-space-6);
  border-bottom: 1px solid var(--v-gray-100);
}

.v-dash-sidebar__user {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
}

.v-dash-sidebar__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--v-radius-full);
  background: linear-gradient(135deg, var(--v-primary), var(--v-primary-dark));
  box-shadow: 0 4px 12px rgba(51, 112, 102, 0.2);
  color: var(--v-white);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: var(--v-font-weight-bold);
  font-size: var(--v-font-size-md);
  line-height: 1;
  padding: 0;
  margin: 0;
}

.v-dash-sidebar__name {
  display: block;
  font-size: var(--v-font-size-base);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-secondary-dark);
}

.v-dash-sidebar__role {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
}

.v-dash-nav {
  flex: 1;
  padding: var(--v-space-6) var(--v-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--v-space-2);
  overflow-y: auto;
  min-height: 0;
}

.v-dash-nav__link {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  padding: var(--v-space-3) var(--v-space-4);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  color: var(--v-gray-600);
  border-radius: var(--v-radius-xl);
  text-decoration: none;
  transition: all var(--v-transition-base);
}

.v-dash-nav__link:hover {
  background: var(--v-primary-50);
  color: var(--v-primary);
  transform: translateX(4px);
}

.v-dash-nav__link.active {
  background: var(--v-primary-50);
  color: var(--v-primary-dark);
  font-weight: var(--v-font-weight-bold);
}

.v-dash-nav__link--danger {
  color: var(--v-danger);
}

.v-dash-nav__link--danger:hover {
  background: rgba(231, 111, 81, 0.06);
  color: var(--v-danger);
}

.v-dash-nav__divider {
  height: 1px;
  background: var(--v-gray-100);
  margin: var(--v-space-4) 0;
}

.v-dash-sidebar__footer {
  padding: var(--v-space-3) var(--v-space-4) var(--v-space-4);
  border-top: 1px solid var(--v-gray-100);
  display: flex;
  flex-direction: column;
  gap: var(--v-space-1);
}

/* Main Content */
.v-dash-main {
  flex: 1;
  min-width: 0;
}

.v-dash-topbar {
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
  padding: var(--v-space-5) var(--v-space-8);
  border-bottom: 1px solid var(--v-gray-200);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 9990;
}

.v-dash-topbar__toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v-gray-600);
  padding: var(--v-space-1);
}

.v-dash-topbar__title {
  font-size: var(--v-font-size-xl);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-secondary-dark);
  margin: 0;
  flex: 1;
}

.v-dash-content {
  padding: var(--v-space-8);
  max-width: 1200px;
}

/* Stats */
.v-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--v-space-4);
  margin-bottom: var(--v-space-6);
}

.v-dash-stat-card {
  background: var(--v-white);
  border: 1px solid var(--v-gray-200);
  border-radius: var(--v-radius-xl);
  padding: var(--v-space-5);
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
}

.v-dash-stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--v-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v-dash-stat-card__value {
  display: block;
  font-size: var(--v-font-size-xl);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-secondary);
  line-height: 1.2;
}

.v-dash-stat-card__label {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
}

/* Dashboard Cards */
.v-dash-card {
  background: var(--v-white);
  border: 1px solid var(--v-gray-100);
  border-radius: var(--v-radius-2xl);
  box-shadow: 0 4px 24px rgba(51, 112, 102, 0.04);
  overflow: hidden;
  transition: box-shadow var(--v-transition-base);
}

.v-dash-card:hover {
  box-shadow: 0 8px 32px rgba(51, 112, 102, 0.08);
}

.v-dash-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--v-space-6) var(--v-space-8);
  border-bottom: 1px solid var(--v-gray-100);
  gap: var(--v-space-4);
  flex-wrap: wrap;
}

.v-dash-card__header h3 {
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-secondary-dark);
  margin: 0;
}

.v-dash-card__body {
  padding: var(--v-space-8);
}

.v-dash-card.v-dash-card__empty {
  padding: var(--v-space-10) var(--v-space-8);
  border: 1px dashed var(--v-gray-300);
  background: var(--v-white);
  box-shadow: var(--v-shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--v-space-3);
  color: var(--v-gray-500);
  border-radius: var(--v-radius-lg);
}

.v-dash-card.v-dash-card__empty svg {
  color: var(--v-gray-300);
}

.v-dash-card.v-dash-card__empty p {
  margin: 0;
  font-size: var(--v-font-size-lg);
}

.v-dash-card__list {
  display: flex;
  flex-direction: column;
}

/* Grid */
.v-dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--v-space-6);
}

/* Booking Item */
.v-dash-booking-item {
  display: flex;
  align-items: center;
  gap: var(--v-space-4);
  padding: var(--v-space-4) var(--v-space-6);
  border-bottom: 1px solid var(--v-gray-100);
}

.v-dash-booking-item:last-child {
  border-bottom: none;
}

.v-dash-booking-item__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  background: var(--v-primary-50);
  border-radius: var(--v-radius-md);
  padding: var(--v-space-2);
}

.v-dash-booking-item__day {
  font-size: var(--v-font-size-lg);
  font-weight: var(--v-font-weight-bold);
  color: var(--v-primary);
  line-height: 1;
}

.v-dash-booking-item__month {
  font-size: var(--v-font-size-xs);
  color: var(--v-primary-dark);
  text-transform: uppercase;
}

/* Quick Actions */
.v-dash-quick-actions {
  display: flex;
  flex-direction: column;
}

.v-dash-quick-action {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  padding: var(--v-space-4) var(--v-space-6);
  border-bottom: 1px solid var(--v-gray-100);
  text-decoration: none;
  transition: background var(--v-transition-fast);
}

.v-dash-quick-action:last-child {
  border-bottom: none;
}

.v-dash-quick-action:hover {
  background: var(--v-gray-50);
}

.v-dash-quick-action strong {
  display: block;
  font-size: var(--v-font-size-sm);
  color: var(--v-secondary);
}

.v-dash-quick-action span {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
}

.v-dash-quick-action--warning {
  background: rgba(233, 196, 106, 0.06);
}

/* Dashboard Columns Layout */
.v-dash-layout-columns {
  display: flex;
  gap: var(--v-space-6);
  align-items: flex-start;
}

.v-shift-input {
  width: 130px;
}

.v-dash-layout-col-main {
  flex: 2;
  min-width: 0;
}

.v-dash-layout-col-side {
  flex: 1;
  min-width: 0;
  width: 100%;
}

/* Tables */
.v-dash-table-wrap {
  overflow-x: auto;
}

.v-dash-table {
  width: 100%;
  border-collapse: collapse;
}

.v-dash-table th {
  text-align: left;
  font-size: var(--v-font-size-xs);
  font-weight: var(--v-font-weight-semibold);
  color: var(--v-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: var(--v-space-3) var(--v-space-4);
  border-bottom: 1px solid var(--v-gray-200);
}

.v-dash-table td {
  padding: var(--v-space-3) var(--v-space-4);
  font-size: var(--v-font-size-sm);
  color: var(--v-gray-700);
  border-bottom: 1px solid var(--v-gray-100);
}

/* Alerts */
.v-dash-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--v-space-3);
  padding: var(--v-space-4) var(--v-space-5);
  border-radius: var(--v-radius-lg);
  margin-bottom: var(--v-space-6);
  font-size: var(--v-font-size-sm);
}

.v-dash-alert--success {
  background: rgba(82, 183, 136, 0.08);
  color: #2D8A5E;
  border: 1px solid rgba(82, 183, 136, 0.15);
}

.v-dash-alert--error {
  background: rgba(231, 111, 81, 0.08);
  color: var(--v-danger);
  border: 1px solid rgba(231, 111, 81, 0.15);
}

/* Mercado Pago */
.v-dash-mp-status {
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  padding: var(--v-space-4);
  border-radius: var(--v-radius-lg);
}

.v-dash-mp-status--connected {
  background: rgba(82, 183, 136, 0.06);
}

.v-dash-mp-status--disconnected {
  background: rgba(233, 196, 106, 0.06);
}

.v-dash-fee-breakdown {
  margin-top: var(--v-space-4);
}

.v-dash-fee-row {
  display: flex;
  justify-content: space-between;
  padding: var(--v-space-3) 0;
  border-bottom: 1px solid var(--v-gray-100);
  font-size: var(--v-font-size-sm);
}

.v-dash-fee-row:last-child {
  border-bottom: none;
}

.v-dash-fee-row--total {
  border-top: 2px solid var(--v-gray-200);
  margin-top: var(--v-space-2);
  padding-top: var(--v-space-4);
}

/* ==========================================================================
   RESPONSIVE — Auth & Dashboard
   ========================================================================== */

@media (min-width: 768px) {
  .v-auth__container {
    grid-template-columns: 1fr 1fr;
  }

  .v-auth__side {
    display: flex;
  }

  .v-dash-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .v-dash-sidebar {
    position: sticky;
    top: 0;
    transform: none;
  }

  .v-dash-topbar__toggle {
    display: none;
  }
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.v-toast {
  position: fixed;
  top: calc(var(--v-header-height) + var(--v-space-4));
  right: var(--v-space-4);
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  padding: var(--v-space-4) var(--v-space-6);
  border-radius: var(--v-radius-lg);
  font-size: var(--v-font-size-sm);
  font-weight: var(--v-font-weight-medium);
  box-shadow: var(--v-shadow-xl);
  z-index: var(--v-z-toast);
  transform: translateX(calc(100% + var(--v-space-4)));
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.v-toast--visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.v-toast--success {
  background: var(--v-white);
  color: #2D8A5E;
  border: 1px solid rgba(82, 183, 136, 0.2);
}

.v-toast--error {
  background: var(--v-white);
  color: var(--v-danger);
  border: 1px solid rgba(231, 111, 81, 0.2);
}

/* ==========================================================================
   HONEYPOT ANTI-SPAM
   ========================================================================== */

.v-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ==========================================================================
   WHATSAPP LINK (Dashboard)
   ========================================================================== */

.v-dash-wa-link {
  display: inline-flex;
  align-items: center;
  gap: var(--v-space-1);
  color: #25D366;
  font-weight: var(--v-font-weight-medium);
  text-decoration: none;
  transition: opacity var(--v-transition-fast);
}

.v-dash-wa-link:hover {
  opacity: 0.8;
  color: #25D366;
}

/* ==========================================================================
   PATIENT DASHBOARD — Profile
   ========================================================================== */

.v-dash-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.v-dash-profile-row {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-1);
  padding: var(--v-space-4) 0;
  border-bottom: 1px solid var(--v-gray-100);
}

.v-dash-profile-row:last-child {
  border-bottom: none;
}

.v-dash-profile-row .v-label {
  margin-bottom: 0;
  color: var(--v-gray-500);
}

/* ==========================================================================
   PASSWORD TOGGLE
   ========================================================================== */

.v-input-password {
  position: relative;
  display: flex;
  align-items: center;
}

.v-input-password .v-input {
  padding-right: var(--v-space-10);
}

.v-input-password__toggle {
  position: absolute;
  right: var(--v-space-3);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--v-gray-400);
  padding: var(--v-space-1);
  display: flex;
  align-items: center;
  transition: color var(--v-transition-fast);
}

.v-input-password__toggle:hover {
  color: var(--v-gray-600);
}

/* ==========================================================================
   MICRO-ANIMATIONS — Entrance
   ========================================================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].v-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
[data-animate][data-animate-delay="100"] {
  transition-delay: 100ms;
}

[data-animate][data-animate-delay="150"] {
  transition-delay: 150ms;
}

[data-animate][data-animate-delay="200"] {
  transition-delay: 200ms;
}

[data-animate][data-animate-delay="300"] {
  transition-delay: 300ms;
}

[data-animate][data-animate-delay="400"] {
  transition-delay: 400ms;
}

/* Card hover micro-interactions */
.v-psychologist-card,
.v-trust-card,
.v-dash-stat-card,
.v-dash-quick-action {
  transition: all var(--v-transition-base);
}

.v-dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--v-shadow-md);
}

.v-dash-quick-action:hover {
  transform: translateX(4px);
}

/* Sidebar overlay for mobile */
@media (max-width: 1023px) {
  /* The .v-dash-sidebar.active::before rule was removed from here */

  /* Make cards use less padding horizontally to reclaim space */
  .v-dash-card__header {
    padding: var(--v-space-4) var(--v-space-5);
  }

  .v-dash-card__body {
    padding: var(--v-space-5);
  }

  .v-dash-layout-columns {
    flex-direction: column;
  }

  /* Inputs inside shift rows were causing overflow. */
  .v-shift-row {
    flex-wrap: wrap;
    gap: var(--v-space-2) !important;
  }

  .v-shift-input {
    width: 105px !important;
  }
}

/* ==========================================================================
   ROLE SELECTOR (Registration)
   ========================================================================== */

.v-role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--v-space-3);
}

.v-role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.v-role-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--v-space-2);
  padding: var(--v-space-5) var(--v-space-4);
  border: 2px solid var(--v-gray-200);
  border-radius: var(--v-radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--v-transition-base);
}

.v-role-option__card strong {
  font-size: var(--v-font-size-sm);
  color: var(--v-secondary);
}

.v-role-option__card span {
  font-size: var(--v-font-size-xs);
  color: var(--v-gray-500);
}

.v-role-option__card:hover {
  border-color: var(--v-primary-200);
  background: var(--v-primary-50);
}

.v-role-option input[type="radio"]:checked+.v-role-option__card {
  border-color: var(--v-primary);
  background: var(--v-primary-50);
  box-shadow: 0 0 0 3px var(--v-primary-100);
}

.v-role-option input[type="radio"]:checked+.v-role-option__card strong {
  color: var(--v-primary-dark);
}

/* --- Especialidades Pill Checkboxes --- */
.v-especialidad-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.v-especialidad-pill span {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--v-gray-200);
  background: var(--v-white);
  color: var(--v-gray-600);
  font-size: var(--v-font-size-sm);
  font-weight: 500;
  transition: all 0.2s ease;
  user-select: none;
}

.v-especialidad-pill:hover span {
  border-color: var(--v-primary-200);
  background: var(--v-primary-50);
}

.v-especialidad-pill input:checked+span {
  background: var(--v-primary);
  color: var(--v-white);
  border-color: var(--v-primary);
  box-shadow: 0 2px 8px rgba(51, 112, 102, 0.25);
}

/* --- Pagos Table & Stats Responsive --- */
.v-dash-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.v-dash-stats {
  display: flex;
  gap: var(--v-space-4);
  flex-wrap: wrap;
}

.v-dash-stat-card {
  flex: 1;
  min-width: 200px;
}

/* --- PWA Install Button --- */
.v-pwa-install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  margin-bottom: var(--v-space-4);
  background: linear-gradient(135deg, #337066, #164741);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(51, 112, 102, 0.35);
  animation: pwa-pulse 2s ease-in-out infinite;
  transition: all 0.25s ease;
}

.v-pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(51, 112, 102, 0.5);
  animation: none;
}

.v-pwa-install-btn svg {
  flex-shrink: 0;
}

@keyframes pwa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(51, 112, 102, 0.35);
  }

  50% {
    box-shadow: 0 4px 24px rgba(51, 112, 102, 0.6), 0 0 0 6px rgba(51, 112, 102, 0.1);
  }
}

.v-mobile-nav .v-pwa-install-btn {
  margin: var(--v-space-4) var(--v-space-6);
  margin-top: var(--v-space-8);
  width: auto;
  max-width: 280px;
}

/* --- Dashboard Tabs --- */
.v-tabs {
  display: flex;
  gap: var(--v-space-2);
  flex-wrap: wrap;
  padding: var(--v-space-1);
  background: var(--v-gray-100);
  border-radius: var(--v-radius-lg);
  border-bottom: none !important;
}

.v-tab-btn {
  flex: 1;
  min-width: 120px;
  padding: var(--v-space-3) var(--v-space-4);
  border: none;
  border-radius: var(--v-radius-md);
  background: transparent;
  color: var(--v-gray-500);
  font-weight: 600;
  font-size: var(--v-font-size-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.v-tab-btn:hover {
  color: var(--v-gray-700);
  background: var(--v-gray-50);
}

.v-tab-btn.active {
  background: var(--v-white);
  color: var(--v-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- Patient Notes Dashboard --- */
.v-dash-notes-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--v-space-6);
  min-height: 600px;
}

.v-dash-notes-sidebar {
  border-right: 1px solid var(--v-gray-200);
  padding-left: var(--v-space-4);
  padding-right: var(--v-space-4);
}

.v-dash-notes-content {
  display: flex;
  flex-direction: column;
  gap: var(--v-space-5);
  padding-top: var(--v-space-4);
  padding-right: var(--v-space-4);
}

/* --- UX/UI Overhaul Fixes --- */
@media (max-width: 900px) {
  .hide-on-mobile {
    display: none !important;
  }

  .v-dash-notes-layout {
    grid-template-columns: 1fr;
    gap: var(--v-space-4);
  }

  .v-dash-notes-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--v-gray-200);
    padding-bottom: var(--v-space-4);
    padding-left: 0;
    padding-right: 0;
  }

  .v-dash-notes-content {
    padding: var(--v-space-4);
    padding-top: 0;
  }

  .v-dash-notes-patient-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--v-gray-100);
    border-radius: var(--v-radius-md);
    padding: var(--v-space-2);
  }

  .v-form-grid-2 {
    grid-template-columns: 1fr !important;
  }
}

/* --- Dashboard Stats Cards Effects --- */
.v-dash-stat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.v-dash-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(51, 112, 102, 0.12);
  border-color: var(--v-primary-200);
}

.v-dash-stat-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Strict Mobile Fixes for very small screens (320px-480px) */
@media (max-width: 480px) {

  .v-dashboard,
  .v-dash-content,
  .v-dash-layout-col-main,
  .v-dash-layout-col-side,
  .v-dash-card {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }

  .v-avail-day-header {
    flex-direction: column;
    align-items: stretch !important;
  }

  .v-avail-day-label {
    width: 100% !important;
    margin-bottom: var(--v-space-2);
  }

  .v-shift-input {
    width: 100% !important;
    max-width: 130px;
  }

  .v-dash-notes-content {
    padding: var(--v-space-3) !important;
  }
}