/* styles.css - Studio Império Premium Styling */

/* Fonts Import declarations (Fallbacks configured in HTML) */
@font-face {
  font-family: "Beardsons";
  src: url("./Beardsons%20-%20Normal.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Swiss721Black";
  src: url("./Swis721%20Blk%20BT%20Black.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg-main: #080808;
  --bg-card: rgba(18, 18, 18, 0.85);
  --bg-panel: #111111;
  --white: #f5f1e8;
  --white-dim: #d8d3c5;
  --gray: #8e8e8e;
  --gray-dark: #2a2a2a;
  
  /* Retro Accent Colors */
  --red: #b91c1c;
  --red-deep: #7f1111;
  --red-glow: rgba(185, 28, 28, 0.25);
  --gold: #c6a86b;
  --gold-deep: #a5844a;
  --gold-soft: rgba(198, 168, 107, 0.15);
  --gold-glow: rgba(198, 168, 107, 0.3);
  
  /* Layout Settings */
  --glass: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(198, 168, 107, 0.22);
  --border-focus: rgba(198, 168, 107, 0.6);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Global rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #030303;
  color: var(--white);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: 
    radial-gradient(circle at 20% 20%, rgba(127, 17, 17, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(198, 168, 107, 0.08) 0%, transparent 40%),
    #050505;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-soft);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Utility classes */
.d-none { display: none !important; }
.text-gold { color: var(--gold) !important; }
.text-red { color: var(--red) !important; }
.text-muted { color: var(--gray) !important; }

/* ---------------------------------------------------- */
/* SPLASH SCREEN STYLE */
/* ---------------------------------------------------- */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #050505;
  background-image: 
    radial-gradient(circle at center, rgba(127, 17, 17, 0.15) 0%, transparent 70%),
    radial-gradient(circle at 50% 30%, rgba(198, 168, 107, 0.05) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-logo-container {
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.splash-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(198, 168, 107, 0.25));
  animation: logoPulse 2s ease-in-out infinite alternate;
}

.splash-monogram {
  font-family: 'Cinzel', 'Beardsons', Georgia, serif;
  font-size: 4.5rem;
  color: var(--gold);
  font-weight: 900;
  text-shadow: 0 0 15px var(--gold-glow);
  border: 4px double var(--gold);
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  animation: logoPulse 2s ease-in-out infinite alternate;
}

.splash-title {
  font-family: 'Cinzel', 'Swiss721Black', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.splash-subtitle {
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 40px;
}

.splash-loader {
  width: 200px;
  height: 3px;
  background: var(--gray-dark);
  border-radius: 9px;
  overflow: hidden;
}

.splash-loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 9px;
  animation: loadProgress 2.2s var(--ease) forwards;
}

@keyframes logoPulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 10px rgba(198, 168, 107, 0.15)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 30px rgba(198, 168, 107, 0.45)); }
}

@keyframes loadProgress {
  0% { width: 0%; }
  35% { width: 45%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

/* ---------------------------------------------------- */
/* APP CONTAINER SHELL (MOBILE SIMULATOR) */
/* ---------------------------------------------------- */
#app-container {
  width: 100%;
  max-width: 430px;
  height: 100vh;
  max-height: 100%;
  background-color: var(--bg-main);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 431px) {
  #app-container {
    height: min(880px, 94vh);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
  }
}

/* ---------------------------------------------------- */
/* APP HEADER */
/* ---------------------------------------------------- */
.app-header {
  padding: 18px 16px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

.header-monogram {
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-name {
  font-family: 'Cinzel', 'Swiss721Black', serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}

/* Role Selector */
.view-selector {
  display: flex;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  padding: 3px;
  border: 1px solid var(--border);
}

.view-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 8px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
}

.view-btn:hover {
  color: var(--white);
}

.view-btn.active {
  background: var(--gray-dark);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ---------------------------------------------------- */
/* MAIN CONTENT VIEWPORT */
/* ---------------------------------------------------- */
#main-content {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background-color: var(--bg-main);
  padding-bottom: 74px; /* Space for bottom nav */
}

.view-container {
  width: 100%;
  min-height: 100%;
}

/* ---------------------------------------------------- */
/* BOTTOM NAVIGATION */
/* ---------------------------------------------------- */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(12, 12, 12, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding: 0 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  width: 60px;
  height: 100%;
  gap: 4px;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition);
}

.nav-item span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-item:hover {
  color: var(--white);
}

.nav-item.active {
  color: var(--gold);
}

.nav-item.active svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* ---------------------------------------------------- */
/* PREMIUM CARDS AND UI COMPONENT TOKENS */
/* ---------------------------------------------------- */
.screen-wrapper {
  padding: 16px;
  animation: fadeIn 0.4s var(--ease) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Retro old school ornament border container */
.ornament-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.ornament-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(198, 168, 107, 0.08);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
}

/* Common premium card layout */
.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.premium-card:hover {
  border-color: var(--border-gold);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.badge-gold {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.badge-red {
  background: rgba(185, 28, 28, 0.12);
  color: #ff5252;
  border: 1px solid rgba(185, 28, 28, 0.25);
}

.badge-gray {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray);
  border: 1px solid var(--border);
}

/* Premium Buttons */
.primary-btn, .secondary-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.primary-btn {
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  color: var(--white);
  border: 1px solid rgba(185, 28, 28, 0.4);
  box-shadow: 0 4px 15px var(--red-glow);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.4);
  filter: brightness(1.1);
}

.primary-btn:active {
  transform: translateY(1px);
}

.secondary-btn {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.secondary-btn:hover {
  background: var(--gold);
  color: var(--bg-main);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.ghost-btn {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border);
}

.ghost-btn:hover {
  color: var(--white);
  border-color: var(--gray);
  background: rgba(255, 255, 255, 0.03);
}

.full {
  width: 100%;
}

.btn-compact {
  padding: 8px 14px;
  font-size: 0.7rem;
  border-radius: 6px;
}

/* Forms styling */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 10px rgba(198, 168, 107, 0.15);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

/* ---------------------------------------------------- */
/* CLIENT HOME VIEW */
/* ---------------------------------------------------- */
.home-hero {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, #080808 95%), url('./IDENTIDADE%20IMPERIO%20ESTUDIO/studio-imprerio-logo.png');
  background-size: 80% auto;
  background-position: center 20%;
  background-repeat: no-repeat;
  padding: 140px 16px 20px;
  text-align: center;
}

.home-hero-content {
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  position: relative;
}

.home-hero-content::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(198, 168, 107, 0.05);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
}

.hero-logo-small {
  width: 60px;
  height: 60px;
  margin: -50px auto 12px;
  display: block;
  background: var(--bg-main);
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.home-hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 4px;
}

.home-hero-content p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Home Grid cards for fast booking */
.booking-fast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.fast-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.fast-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.fast-card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--gold);
  display: block;
}

.fast-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.fast-card p {
  font-size: 0.68rem;
  color: var(--gray);
}

.fast-card.vip {
  grid-column: span 2;
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(198,168,107,0.06), rgba(8,8,8,0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 16px 20px;
}

.fast-card.vip .vip-copy {
  flex: 1;
}

.fast-card.vip .vip-badge-btn {
  background: var(--gold);
  color: var(--bg-main);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* Professional Showcase Home Page */
.home-team {
  margin-top: 24px;
}

.artist-highlight {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  transition: var(--transition);
}

.artist-highlight:hover {
  border-color: var(--border-gold);
}

.artist-img {
  width: 105px;
  height: auto;
  object-fit: cover;
  filter: grayscale(1);
  transition: var(--transition);
}

.artist-highlight:hover .artist-img {
  filter: grayscale(0);
}

.artist-details {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.artist-details h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.artist-details p {
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.35;
  margin-bottom: 8px;
}

.specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.specialty-tag {
  font-size: 0.58rem;
  padding: 2px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white-dim);
}

/* ---------------------------------------------------- */
/* SCHEDULING SCREEN FLOW */
/* ---------------------------------------------------- */
.booking-method-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.method-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.method-btn.active {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.method-btn small {
  font-size: 0.6rem;
  text-transform: none;
  font-weight: 400;
}

/* Segments Selector */
.segmented-selector {
  display: flex;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer;
  transition: var(--transition);
}

.seg-btn.active {
  background: var(--gray-dark);
  color: var(--white);
}

/* Slots Grid Picker */
.slots-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.slot-item {
  padding: 10px;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--border);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.slot-item:hover:not(.busy) {
  border-color: var(--border-gold);
  color: var(--gold);
}

.slot-item.active {
  background: var(--gold);
  color: var(--bg-main);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.slot-item.busy {
  background: rgba(255, 255, 255, 0.02);
  color: var(--gray-dark);
  border-color: transparent;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Summary Agenda Preview */
.summary-preview {
  margin-top: 18px;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--gray);
}

.summary-row strong {
  color: var(--white);
}

/* ---------------------------------------------------- */
/* SECRETARY IA CHAT SYSTEM */
/* ---------------------------------------------------- */
.assistant-wrapper {
  display: flex;
  flex-direction: column;
  height: 480px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(12, 12, 12, 0.8);
  overflow: hidden;
}

.chat-banner {
  background: var(--gold-soft);
  border-bottom: 1px solid var(--border-gold);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-banner-title .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 6px #4caf50;
}

.chat-banner-title h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
}

.chat-log {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
  animation: messageSlide 0.3s var(--ease) forwards;
  word-wrap: break-word;
}

@keyframes messageSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg.received {
  align-self: flex-start;
  background: var(--gray-dark);
  color: var(--white-dim);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255,255,255,0.03);
}

.msg.sent {
  align-self: flex-end;
  background: var(--gold-soft);
  color: var(--gold);
  border-bottom-right-radius: 2px;
  border: 1px solid var(--border-gold);
}

.chat-input-form {
  display: flex;
  border-top: 1px solid var(--border);
  background: #0d0d0d;
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

.chat-send-btn {
  background: transparent;
  border: none;
  color: var(--gold);
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send-btn:hover {
  color: var(--white);
  transform: scale(1.05);
}

.quick-replies {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}

.quick-reply-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--white-dim);
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
}

.quick-reply-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.chat-locked {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  flex: 1;
}

.chat-locked-icon {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(185, 28, 28, 0.3));
}

/* ---------------------------------------------------- */
/* VIP MEMBERSHIP AREA */
/* ---------------------------------------------------- */
.vip-header-card {
  text-align: center;
  background: linear-gradient(135deg, var(--gold-soft), rgba(12, 12, 12, 0.95));
  border-color: var(--border-gold);
}

.vip-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 4px;
  text-shadow: 0 0 10px var(--gold-glow);
}

.vip-price-pill {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 14px 0;
}

.vip-price-pill span {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 400;
}

.vip-tier-grid {
  display: grid;
  gap: 16px;
}

.tier-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.tier-card.active {
  border-color: var(--border-gold);
  box-shadow: 0 0 20px var(--gold-soft);
}

.tier-card.active::before {
  content: "SEU PLANO";
  position: absolute;
  top: 14px;
  right: -24px;
  background: var(--gold);
  color: var(--bg-main);
  font-size: 0.55rem;
  font-weight: 900;
  padding: 4px 24px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

.tier-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 2px;
}

.tier-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.tier-benefits {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.tier-benefits li {
  font-size: 0.75rem;
  color: var(--white-dim);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.tier-benefits li::before {
  content: "⚡";
  color: var(--gold);
  font-size: 0.68rem;
}

/* User Account details inside VIP view */
.vip-status-box {
  background: rgba(198, 168, 107, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.vip-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.vip-status-row:last-child {
  margin-bottom: 0;
  border-top: 1px solid rgba(198, 168, 107, 0.15);
  padding-top: 8px;
  margin-top: 8px;
}

/* ---------------------------------------------------- */
/* POST-PROCEDURE CARE CHECKLIST */
/* ---------------------------------------------------- */
.care-tabs {
  display: flex;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.care-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer;
  transition: var(--transition);
}

.care-tab-btn.active {
  background: var(--gray-dark);
  color: var(--white);
}

.care-checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.care-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--white-dim);
}

.care-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.65rem;
  color: var(--bg-main);
  background: transparent;
  margin-top: 2px;
}

.care-checkbox.checked {
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-glow);
}

/* ---------------------------------------------------- */
/* GALLERY & PORTFOLIO */
/* ---------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: #0f0f0f;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: var(--transition);
}

.gallery-item:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.gallery-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 8px 6px;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: var(--transition);
  transform: translateY(4px);
}

.gallery-item:hover .gallery-item-title {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------- */
/* PROFESSIONAL VIEW */
/* ---------------------------------------------------- */
.prof-selector-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.prof-tab-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.prof-tab-btn.active {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agenda-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  position: relative;
}

.agenda-item.vip-booking {
  border-left: 3px solid var(--gold);
}

.agenda-time-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
}

.agenda-client-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda-details-row {
  font-size: 0.76rem;
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.agenda-actions {
  display: flex;
  gap: 8px;
}

/* ---------------------------------------------------- */
/* OWNER/ADMIN VIEW */
/* ---------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
}

.metric-label {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  font-family: 'Cinzel', serif;
}

.metric-box.revenue-total {
  grid-column: span 2;
  border-color: var(--border-gold);
  background: linear-gradient(135deg, var(--gold-soft), var(--bg-main));
}

.metric-box.revenue-total .metric-val {
  font-size: 1.7rem;
  color: var(--gold);
}

/* Control Switch Toggle styling */
.switch-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.switch-label h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.switch-label p {
  font-size: 0.7rem;
  color: var(--gray);
}

/* Simulated Checkbox Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--gray-dark);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid var(--border);
}

.slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--gray);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold-soft);
  border-color: var(--gold);
}

input:checked + .slider::before {
  transform: translateX(22px);
  background-color: var(--gold);
}

/* WhatsApp Message Center */
.whatsapp-center-box {
  display: grid;
  gap: 12px;
}

.message-preview-area {
  background: rgba(10, 10, 10, 0.95);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.45;
  white-space: pre-wrap;
  min-height: 100px;
}

/* ---------------------------------------------------- */
/* APP DIALOG / MODAL STYLE */
/* ---------------------------------------------------- */
.app-dialog {
  border: none;
  background: transparent;
  max-width: 90%;
  width: 360px;
  margin: auto;
  outline: none;
}

.app-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.dialog-content {
  background: #0f0f0f;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.9);
  position: relative;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--gray);
  cursor: pointer;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--white);
}

.dialog-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.dialog-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1px;
}

.dialog-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 4px;
}

#modal-body {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#modal-body strong {
  color: var(--gold);
}

/* ---------------------------------------------------- */
/* FULL APP EXTENSIONS: PROFILE, UPSELL, ADMIN TABLES */
/* ---------------------------------------------------- */
.professional-metrics {
  margin-bottom: 16px;
}

.upsell-list,
.client-mini-list,
.admin-table-list,
.profile-history-list {
  display: grid;
  gap: 10px;
}

.upsell-item,
.client-mini-item,
.admin-row,
.profile-history-item {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.upsell-item strong,
.client-mini-item strong,
.admin-row strong,
.profile-history-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.upsell-item span,
.client-mini-item span,
.admin-row span,
.profile-history-item span,
.profile-history-item small,
.admin-row small {
  display: block;
  margin-top: 3px;
  color: var(--gray);
  font-size: 0.72rem;
  line-height: 1.35;
}

.upsell-item p {
  margin-top: 8px;
  color: var(--white-dim);
  font-size: 0.76rem;
  line-height: 1.45;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.profile-history-item.highlight {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(198, 168, 107, 0.11), rgba(255, 255, 255, 0.035));
}

.danger-zone {
  border-color: rgba(185, 28, 28, 0.32);
}

@media (max-width: 380px) {
  .bottom-nav {
    padding: 0 4px;
  }

  .nav-item {
    width: 52px;
  }

  .nav-item span {
    font-size: 0.56rem;
    letter-spacing: 0;
  }
}

@media (min-width: 768px) {
  .upsell-item,
  .admin-row,
  .profile-history-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1024px) {
  #app-container {
    max-width: 1120px;
    height: min(920px, 94vh);
  }

  .app-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .view-selector {
    width: 420px;
  }

  .screen-wrapper {
    padding: 24px;
  }

  .home-team,
  .booking-fast-grid,
  .metrics-grid,
  .vip-tier-grid {
    max-width: none;
  }

  .artist-highlight {
    min-height: 220px;
  }
}
