/* ==========================================================================
   INGRYD BIANCA - FISIOTERAPUTA | BRAND DESIGN (EXACT LOGO COLOR #3E6435)
   CALENDAR & ADMIN DASHBOARD STYLING
   ========================================================================== */

:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-poppins: 'Poppins', sans-serif;

  /* Exact Solid Brand Green from Logo (#3E6435) */
  --brand-green: #3E6435;
  
  /* Verified Blue */
  --verified-blue: #0095F6;

  /* Birdsystem Colors */
  --bird-light: #42A0ED;
  --bird-medium: #267CC1;
  --bird-purple: #7544EA;
  --bird-dark: #161616;

  /* Surface Cards */
  --bg-page: #3E6435;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAF7;

  --whatsapp-green: #25D366;
  --whatsapp-hover: #1FAA52;

  --text-on-green: #FFFFFF;
  --text-on-green-sub: #E4EFE2;
  --text-on-green-muted: #CBDBC7;

  --text-dark: #142412;
  --text-body: #2B4529;
  --text-muted: #5B7558;

  --border-light: rgba(255, 255, 255, 0.22);
  --border-card: #E2EADF;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.14);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.24);

  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keyframes */
@keyframes bird-magic {
  0% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(66, 160, 237, 0); }
  25% { transform: scale(1.25) rotate(6deg); box-shadow: 0 0 20px 10px rgba(66, 160, 237, 0.4); }
  50% { transform: scale(1.1) rotate(-4deg); box-shadow: 0 0 30px 15px rgba(117, 68, 234, 0.3); }
  75% { transform: scale(1.2) rotate(3deg); box-shadow: 0 0 25px 12px rgba(66, 160, 237, 0.35); }
  100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(66, 160, 237, 0); }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--brand-green);
  background: var(--brand-green);
  color: var(--text-on-green);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Top Navigation Bar */
.top-nav {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Birdsystem Circular Buttons (Left & Right) */
.bird-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-out;
  position: relative;
}

.bird-btn-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(66, 160, 237, 0.45);
  border-color: var(--bird-light);
  background: #ffffff;
}

.bird-btn-circle:active {
  transform: scale(0.95);
}

.bird-btn-circle.animating {
  animation: bird-magic 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bird-btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bird-btn-circle:hover .bird-btn-icon {
  transform: scale(1.1) rotate(6deg);
}

.right-bird-btn i, .right-bird-btn .share-icon-svg {
  font-size: 1.1rem;
  width: 20px;
  height: 20px;
  color: var(--brand-green);
  stroke: var(--brand-green);
  transition: color 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
  display: block;
}

.right-bird-btn:hover i, .right-bird-btn:hover .share-icon-svg {
  color: var(--bird-light);
  stroke: var(--bird-light);
  transform: scale(1.08);
}

/* Main Container Layout */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 4px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Profile Hero Section (Logo Recortada com Margens Perfeitas) */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 6px;
  padding: 0;
}

.profile-logo-transparent {
  width: 240px;
  max-width: 82%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
}

.profile-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-on-green);
  letter-spacing: -0.02em;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blue-verified {
  color: var(--verified-blue);
  font-size: 1.2rem;
}

.profile-subtitle {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #F0F7EE;
  margin-top: 2px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* Tagline Slim Text (Sem icone, reduzido e colado ao titulo) */
.tagline-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-on-green-sub);
  margin-top: 0px;
  text-align: center;
  justify-content: center;
}

/* Links Section */
.links-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
}

/* Action Button Icons (Sem quadrado em volta e com a cor verde do fundo #3E6435) */
.card-icon {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-green) !important;
  margin-right: 14px;
  flex-shrink: 0;
  transition: var(--transition);
}

.card-icon i {
  color: var(--brand-green) !important;
}

.icon-whats, .icon-calendar, .icon-gold, .icon-emerald {
  background: transparent !important;
  color: var(--brand-green) !important;
}

.link-card:hover .card-icon {
  transform: scale(1.15) rotate(-4deg);
}

.card-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-right: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.link-card:hover .card-arrow {
  color: var(--brand-green);
  transform: translateX(4px);
}

/* Site Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

/* Footer Help / Dúvidas WhatsApp Banner */
.footer-help-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 4px;
}

.footer-help-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: #ffffff;
}

.help-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.help-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.help-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.help-action {
  font-size: 0.75rem;
  color: var(--text-on-green-sub);
}

.help-arrow {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-help-btn:hover .help-arrow {
  color: #ffffff;
  transform: translateX(4px);
}

.crefito-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-on-green-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

.copyright-text {
  font-size: 0.73rem;
  color: var(--text-on-green-muted);
}

.admin-secret-link {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.admin-secret-link:hover {
  color: #ffffff;
}

/* ==================== FULL-SCREEN WINDOW PAGES (JANELA INTEIRA) ==================== */
.fullscreen-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  background-color: var(--brand-green);
  background: var(--brand-green);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-page.active-page {
  transform: translateX(0);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #2E4C26;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-header h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  flex-grow: 1;
}

.back-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}

.back-btn:hover {
  color: var(--text-on-green-sub);
  transform: translateX(-3px);
}

.header-spacer {
  width: 38px;
  flex-shrink: 0;
}

.page-content {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 20px 20px 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero-banner {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.banner-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.page-hero-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.page-hero-banner p {
  font-size: 0.85rem;
  color: var(--text-on-green-sub);
}

/* MONTHLY CALENDAR STYLING (OTIMIZADO PARA MOBILE & TOUCH) */
.month-calendar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.month-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.month-nav-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: capitalize;
}

.month-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F3F6F2;
  border: 1px solid #E2EADF;
  color: var(--brand-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition);
}

.month-nav-btn:hover {
  background: var(--brand-green);
  color: #ffffff;
  transform: scale(1.08);
}

.month-nav-btn:active {
  transform: scale(0.92);
}

.month-weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid #EAEFE9;
}

.month-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.month-day-cell {
  min-height: 46px;
  border-radius: 12px;
  background: #FAFCF9;
  border: 1.5px solid #EAEFE9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 5px 2px;
}

.month-day-cell:hover:not(.disabled):not(.empty) {
  border-color: var(--brand-green);
  background: #F2F7F0;
}

.month-day-cell:active:not(.disabled):not(.empty) {
  transform: scale(0.92);
}

.month-day-cell.empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.month-day-cell.disabled {
  background: #F9FAFB;
  border-color: #F3F4F6;
  opacity: 0.38;
  cursor: not-allowed;
}

.month-day-cell.disabled .month-day-num {
  color: #9CA3AF;
}

.month-day-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.month-day-cell.today:not(.selected) {
  border-color: var(--brand-green);
  background: rgba(62, 100, 53, 0.08);
}

.month-day-cell.today .month-day-num {
  color: var(--brand-green);
  font-weight: 900;
}

.month-day-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 3px;
}

.dot-available-cell {
  background: #25D366;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.6);
}

.dot-full-cell {
  background: #EF4444;
}

.dot-closed-cell {
  background: #CBD5E1;
}

.month-day-cell.selected {
  background: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  box-shadow: 0 4px 14px rgba(62, 100, 53, 0.35);
  transform: scale(1.02);
}

.month-day-cell.selected .month-day-num {
  color: #ffffff !important;
}

.month-day-cell.selected .month-day-dot {
  background: #ffffff !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.calendar-legend-inline {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid #EAEFE9;
}

.time-slots-card, .admin-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  color: var(--text-dark);
}

.day-btn.status-full {
  border-color: #FCA5A5;
  background: #FEF2F2;
  opacity: 0.75;
}

.day-btn.status-full .day-status-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #DC2626;
  background: #FEE2E2;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.day-btn.selected {
  border-color: var(--brand-green);
  background: var(--brand-green);
  box-shadow: 0 6px 16px rgba(62, 100, 53, 0.3);
}

.day-btn.selected .day-name, .day-btn.selected .day-date {
  color: #ffffff;
}

.day-btn.selected .day-status-tag {
  background: #ffffff;
  color: var(--brand-green);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slot-btn {
  background: #F3F4F6;
  border: 1.5px solid #E5E7EB;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.slot-btn:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.slot-btn.selected {
  background: var(--whatsapp-green);
  border-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.slot-btn.disabled {
  background: #F3F4F6;
  color: #9CA3AF;
  border-color: #E5E7EB;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.6;
}

.booking-summary-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-details {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-check {
  font-size: 2rem;
  color: var(--whatsapp-green);
  flex-shrink: 0;
}

.summary-details h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.summary-details p {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-green);
}

.booking-form-divider {
  height: 1px;
  background: #EAEFE9;
  width: 100%;
}

.booking-fields-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-field label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-field label i {
  color: var(--brand-green);
  font-size: 0.85rem;
}

.booking-input, .booking-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2EADF;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #FAFCF9;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-input:focus, .booking-select:focus {
  border-color: var(--brand-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(62, 100, 53, 0.12);
}

.booking-terms-fineprint {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 2px;
  opacity: 0.85;
}

/* ADMIN DASHBOARD STYLING */
.admin-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-header-title h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.admin-header-title p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.admin-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-input-group input, .admin-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-card);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
}

.admin-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 12px;
}

.admin-dash-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logout-btn {
  background: #FEE2E2;
  color: #DC2626;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-buttons {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.status-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #E5E7EB;
  background: #F9FAFB;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.status-btn.active-status[data-status="available"] {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  color: #15803D;
}

.status-btn.active-status[data-status="full"] {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #B91C1C;
}

.admin-help-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.admin-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-slot-btn {
  padding: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid #E5E7EB;
  text-align: center;
}

.admin-slot-btn.is-open {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  color: #15803D;
}

.admin-slot-btn.is-full {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #B91C1C;
  text-decoration: line-through;
}

.save-btn {
  background: var(--brand-green);
  color: #ffffff;
  margin-top: 10px;
}

.error-msg {
  color: #DC2626;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* Unified Single Presentation Card (Especializações Coesas) */
.unified-specs-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.specs-hero-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.unified-doctor-photo {
  width: 80px;
  height: 90px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.unified-doctor-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.unified-doctor-details h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.unified-doctor-tag {
  align-self: flex-start;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--brand-green);
  background: rgba(62, 100, 53, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.unified-doctor-quote {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.specs-card-divider {
  height: 1px;
  background: #EAEFE9;
  width: 100%;
  margin: 4px 0;
}

.specs-section-heading {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -4px;
}

.spec-inline-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-inline-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-inline-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spec-inline-titles {
  display: flex;
  flex-direction: column;
}

.spec-inline-titles h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.spec-sub {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand-green);
}

.spec-inline-desc {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
  padding-left: 44px;
}

.spec-item-separator {
  height: 1px;
  background: #F3F6F2;
  width: 100%;
}

/* Full Services Cards & Prices */
.service-full-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}

.service-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-card-icon {
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-green) !important;
  flex-shrink: 0;
}

.service-card-icon i {
  color: var(--brand-green) !important;
}

.icon-eval-bg, .icon-session-bg {
  background: transparent !important;
  color: var(--brand-green) !important;
}

.service-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-header-text h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-dark);
}

.price-tag {
  align-self: flex-start;
  background: rgba(62, 100, 53, 0.12);
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
}

.service-action-btn {
  width: 100%;
  background: var(--brand-green);
  color: #ffffff;
  border: none;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(62, 100, 53, 0.25);
  transition: var(--transition);
  text-decoration: none;
}

.service-action-btn:hover {
  background: #2E4C26;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(62, 100, 53, 0.35);
}

.page-action-footer {
  margin-top: 10px;
}

.cta-whatsapp-full {
  width: 100%;
  padding: 16px;
  background: var(--whatsapp-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.cta-whatsapp-full:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* Location Page Styling */
.location-main-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-dark);
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-pin-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(62, 100, 53, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.location-header-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.location-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.location-divider {
  height: 1px;
  background: #EAEFE9;
  width: 100%;
}

.map-container {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  background: #f0f0f0;
}

.map-container iframe {
  display: block;
  width: 100%;
}

.location-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-body);
}

.location-info-row i {
  color: var(--brand-green);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.location-info-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.route-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.route-action-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.google-maps-btn {
  background: #4285F4;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.35);
}

.google-maps-btn:hover {
  background: #3367D6;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(66, 133, 244, 0.45);
}

.waze-btn {
  background: #33CCFF;
  color: #0E2A38;
  box-shadow: 0 4px 14px rgba(51, 204, 255, 0.35);
}

.waze-btn:hover {
  background: #1AB5EA;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(51, 204, 255, 0.45);
}

/* BIRDSYSTEM MODALS & COMPONENTS */
.bird-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bird-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bird-modal-sheet {
  position: relative;
  width: 92%;
  max-width: 440px;
  margin-bottom: 16px;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.bird-modal-overlay.active .bird-modal-sheet {
  transform: translateY(0);
}

.font-poppins {
  font-family: var(--font-poppins);
}

.bird-gradient-panel {
  background: linear-gradient(135deg, var(--bird-light) 0%, var(--bird-medium) 50%, var(--bird-purple) 100%);
  color: #ffffff;
}

.bird-shimmer-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.bird-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bird-medium);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bird-close-btn:hover {
  background: var(--bird-light);
  transform: scale(1.1);
}

.bird-promo-body {
  position: relative;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bird-logo-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
  animation: bounce-subtle 3s infinite ease-in-out;
}

.bird-logo-badge {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.bird-sparkle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.6;
  pointer-events: none;
}
.sparkle-1 { top: 24px; left: 32px; }
.sparkle-2 { top: 56px; right: 40px; }

.bird-promo-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.bird-promo-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
  max-width: 320px;
  line-height: 1.5;
}

.bird-url-box {
  width: 100%;
  max-width: 300px;
  background: #ffffff;
  color: var(--bird-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bird-cta-btn {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: var(--bird-dark);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  overflow: hidden;
}

.bird-cta-btn:hover {
  transform: scale(1.02);
  border-color: rgba(66, 160, 237, 0.4);
  box-shadow: 0 0 25px rgba(66, 160, 237, 0.5);
}

.bird-secondary-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.bird-link-item {
  color: var(--bird-light);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.bird-link-item:hover {
  color: #ffffff;
}

/* BIRDSYSTEM SHARE MODAL STYLING */
.bird-share-body {
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bird-profile-preview {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.preview-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  border: none;
}

.preview-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.preview-info p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.share-action-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
}

.share-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.share-action-btn:hover .share-icon-circle {
  transform: scale(1.12);
}

.copy-bg { background: linear-gradient(135deg, var(--bird-light), var(--bird-medium)); }
.insta-bg { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.fb-bg { background: #1877F2; }
.whats-bg { background: #25D366; }

.bird-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  width: 100%;
}

.share-promo-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.share-promo-footer h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.share-promo-footer p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.create-btn {
  margin-top: 4px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #ffffff;
  color: var(--brand-green);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 300;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (min-width: 520px) {
  .bird-modal-sheet {
    border-radius: var(--radius-lg);
    margin: auto;
  }
}
