/* ===========================================
   TEMA NEON EVOLLY - Wedding System
   =========================================== */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===========================================
   CSS VARIABLES - TEMA NEON EVOLLY
   Use estas variaveis em novos estilos
   =========================================== */
:root {
  /* Cores Neon Primarias */
  --neon-green: #00ff88;
  --neon-cyan: #00d4ff;
  --neon-magenta: #ff00ff;
  --neon-yellow: #ffff00;
  --neon-aqua: #00ffff;

  /* Cores Primarias (Neon) */
  --color-primary: #00ff88;
  --color-primary-dark: #00d4ff;
  --color-primary-gradient: linear-gradient(90deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);

  /* Cores de Status */
  --color-success: #00ff88;
  --color-success-dark: #00cc6a;
  --color-success-light: rgba(0, 255, 136, 0.15);
  --color-warning: #ffff00;
  --color-warning-dark: #cccc00;
  --color-warning-light: rgba(255, 255, 0, 0.15);
  --color-danger: #ff4757;
  --color-danger-dark: #ff2f43;
  --color-danger-light: rgba(255, 71, 87, 0.15);
  --color-info: #00d4ff;

  /* Cores de Texto (para fundo escuro) */
  --color-text-dark: #ffffff;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0b0;
  --color-text-muted: #6a6a7a;
  --color-text-light: #4a5568;

  /* Cores de Background (Escuro) */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #12121a;
  --color-bg-tertiary: #1a1a2e;
  --color-bg-hover: #2a2a3e;
  --color-bg-card: #12121a;
  --color-bg-elevated: #1a1a2e;

  /* Cores de Borda */
  --color-border-light: #2a2a3e;
  --color-border-medium: #3a3a4e;
  --color-border-dark: #4a4a5e;

  /* Sombras Neon/Glow */
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.5);
  --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.5);
  --glow-neon: 0 0 30px rgba(0, 255, 136, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);

  /* Espacamentos */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-modal: 1000;
  --z-tooltip: 1100;
}

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

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0f;
  color: #ffffff;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* ===========================================
   Login Section - TEMA NEON
   =========================================== */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0f;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Efeito de fundo neon sutil */
.login-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
  animation: neonPulse 8s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.login-container {
  background: #12121a;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.1);
  max-width: 400px;
  width: 100%;
  border: 1px solid #2a2a3e;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.login-container.expanded {
  max-width: 500px;
}

.login-container:hover {
  border-color: #3a3a4e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 255, 136, 0.15);
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-header h1 {
  font-size: 2rem;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.login-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 15px;
}

.login-header p {
  color: #a0a0b0;
}

/* Auth Tabs (Login/Cadastro) */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  background: #1a1a2e;
  border-radius: 10px;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #a0a0b0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.auth-tab:hover {
  color: #ffffff;
}

.auth-tab.active {
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  color: #0a0a0f;
}

/* Radio Group (Tipo de Conta) */
.radio-group {
  display: flex;
  gap: 12px;
}

.radio-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #1a1a2e;
  border: 2px solid #2a2a3e;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.radio-option:hover {
  border-color: #3a3a4e;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option input[type="radio"]:checked + .radio-label {
  color: #00ff88;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.1);
}

.radio-label {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.radio-option small {
  display: block;
  font-size: 0.75rem;
  color: #6a6a7a;
  margin-top: 4px;
}

/* Success Message */
.success-message {
  color: #00ff88;
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 8px;
}

/* Password Toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.password-toggle:hover {
  opacity: 1;
}

.password-toggle .eye-icon {
  width: 20px;
  height: 20px;
  color: #6a6a7a;
  transition: color 0.3s ease;
}

.password-toggle:hover .eye-icon {
  color: #a0a0b0;
}

.password-toggle .eye-icon .eye-closed {
  display: none;
}

.password-toggle.active .eye-icon {
  color: #00ff88;
}

.password-toggle.active .eye-icon .eye-open {
  display: none;
}

.password-toggle.active .eye-icon .eye-closed {
  display: block;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #a0a0b0;
}

.login-form input {
  width: 100%;
  padding: 15px;
  border: 2px solid #2a2a3e;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #1a1a2e;
  color: #ffffff;
}

.login-form input::placeholder {
  color: #6a6a7a;
}

.login-form input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-primary {
  width: 100%;
  padding: 15px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
  color: #0a0a0f;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
  padding: 12px 24px;
  background: #1a1a2e;
  color: #a0a0b0;
  border: 1px solid #2a2a3e;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #2a2a3e;
  border-color: #00d4ff;
  color: #ffffff;
}

/* Buttons in modal footer */
.modal-footer .btn-primary,
.modal-footer .btn-secondary {
  width: auto;
  padding: 12px 24px;
}

.error-message {
  color: #e74c3c;
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

/* ===========================================
   Dashboard Section - TEMA NEON
   =========================================== */
.dashboard-header {
  background: #12121a;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #2a2a3e;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content h1 {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-logo {
  max-width: 140px;
  height: auto;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-info span {
  color: #a0a0b0;
}

.btn-logout {
  padding: 8px 20px;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-logout:hover {
  background: #ff2f43;
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
}

.dashboard-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

.welcome-banner {
  background: linear-gradient(135deg, #12121a 0%, #1a1a2e 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 40px;
  text-align: center;
  border: 1px solid #2a2a3e;
  position: relative;
  overflow: hidden;
}

.welcome-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
}

.welcome-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00ff88;
}

.section-description {
  color: #a0a0b0;
  margin-bottom: 20px;
}

/* ===========================================
   Models Grid - TEMA NEON
   =========================================== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  align-items: stretch;
}

.model-card {
  background: #12121a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #2a2a3e;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
}

.model-card.selected {
  border: 2px solid #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.model-thumbnail {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.model-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.model-info h3 {
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-info h3 .premium-badge {
  font-size: 0.7rem;
  background: linear-gradient(90deg, #ffff00, #ff00ff);
  color: #0a0a0f;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.model-info p {
  color: #a0a0b0;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.model-colors {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.color-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid #2a2a3e;
}

.model-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.feature-tag {
  padding: 5px 12px;
  background: #1a1a2e;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #a0a0b0;
  border: 1px solid #2a2a3e;
}

.model-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}

.btn-preview, .btn-select {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-preview {
  background: #1a1a2e;
  color: #a0a0b0;
  border: 1px solid #2a2a3e;
}

.btn-preview:hover {
  background: #2a2a3e;
  color: #ffffff;
  border-color: #00d4ff;
}

.btn-select {
  background: #00ff88;
  color: #0a0a0f;
  font-weight: 600;
}

.btn-select:hover {
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.btn-select.selected {
  background: linear-gradient(90deg, #00ff88, #00d4ff);
}

/* ===========================================
   Current Selection - TEMA NEON
   =========================================== */
.current-selection {
  background: rgba(0, 255, 136, 0.1);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.current-selection h3 {
  color: #00ff88;
  margin-bottom: 15px;
}

/* ===========================================
   Admin Section - TEMA NEON
   =========================================== */
.admin-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  background: #12121a;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #2a2a3e;
}

.nav-btn {
  padding: 12px 25px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  color: #a0a0b0;
}

.nav-btn.active {
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  color: #0a0a0f;
  font-weight: 600;
}

.nav-btn:hover:not(.active) {
  background: #1a1a2e;
  color: #ffffff;
}

.admin-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

.admin-content {
  background: #12121a;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a3e;
}

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

.admin-table th,
.admin-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #2a2a3e;
}

.admin-table th {
  background: #1a1a2e;
  font-weight: 600;
  color: #00d4ff;
}

.admin-table tr:hover {
  background: #1a1a2e;
}

.btn-action {
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.btn-edit {
  background: #00d4ff;
  color: #0a0a0f;
}

.btn-edit:hover {
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.btn-delete {
  background: #ff4757;
  color: white;
}

.btn-delete:hover {
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.btn-clone {
  background: #ff00ff;
  color: white;
}

.btn-clone:hover {
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.btn-action:disabled,
.btn-edit:disabled,
.btn-delete:disabled {
  background: #3a3a4e !important;
  color: #6a6a7a !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
}

.btn-add {
  padding: 12px 25px;
  background: #00ff88;
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-add:hover {
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.btn-manage {
  background: linear-gradient(90deg, #ff00ff, #00d4ff);
  color: #0a0a0f;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 0, 255, 0.3);
}

.btn-manage:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

/* Admin Client Area - TEMA NEON */
.admin-client-area {
  background: #12121a;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid #2a2a3e;
}

.admin-client-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background: linear-gradient(135deg, #1a1a2e 0%, #12121a 100%);
  color: white;
  border-bottom: 1px solid #2a2a3e;
  position: relative;
}

.admin-client-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
}

.admin-client-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-back {
  padding: 10px 20px;
  background: #1a1a2e;
  color: #a0a0b0;
  border: 1px solid #2a2a3e;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: #2a2a3e;
  color: #00d4ff;
  border-color: #00d4ff;
}

.admin-client-area .wedding-sub-nav {
  background: #1a1a2e;
  border-bottom: 1px solid #2a2a3e;
}

.admin-client-content {
  padding: 30px;
  min-height: 400px;
}

/* Ajuste para mesas dentro do admin/cerimonialista */
.admin-client-content .tables-layout {
  height: calc(100vh - 350px);
  min-height: 450px;
}

.admin-client-content .tables-stats-bar {
  margin-bottom: 15px;
}

/* ===========================================
   Modal - TEMA NEON
   =========================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-content {
  width: 90%;
  height: 90%;
  background: #12121a;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  border: 1px solid #2a2a3e;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #ff2f43;
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
}

#previewFrame {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================================
   Modal Form (Criar/Editar) - TEMA NEON
   =========================================== */
.modal-form {
  background: #12121a;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #2a2a3e;
  box-shadow: 0 0 40px rgba(0, 255, 136, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #2a2a3e;
  position: sticky;
  top: 0;
  background: #12121a;
  z-index: 10;
}

.modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
}

.modal-header .modal-close {
  position: static;
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
}

.modal-form form {
  padding: 25px;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #a0a0b0;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #2a2a3e;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #1a1a2e;
  color: #ffffff;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #6a6a7a;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.modal-form small {
  display: block;
  margin-top: 5px;
  color: #6a6a7a;
  font-size: 0.85rem;
}

.modal-form .form-info {
  background: #1a1a2e;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #00d4ff;
}

.modal-form .form-info p {
  margin: 0 0 10px 0;
  color: #a0a0b0;
}

.modal-form .form-info code {
  display: block;
  background: #0a0a0f;
  padding: 10px;
  border-radius: 5px;
  font-family: monospace;
  color: #00ff88;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #1a1a2e;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #2a2a3e;
}

.checkbox-item:hover {
  background: #2a2a3e;
  border-color: #00d4ff;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-item label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid #2a2a3e;
}

.btn-cancel {
  padding: 12px 25px;
  background: #1a1a2e;
  color: #a0a0b0;
  border: 1px solid #2a2a3e;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cancel:hover {
  background: #2a2a3e;
  color: #ffffff;
}

.btn-save {
  padding: 12px 30px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* Modal de Localização - Tamanho grande */
.modal-form-lg {
  max-width: 700px;
}

/* Modal de Presentes - Botões fixos no rodapé */
#giftModal .modal-form {
  display: flex;
  flex-direction: column;
}

#giftModal .modal-form form {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 0;
}

#giftModal .form-actions {
  position: sticky;
  bottom: 0;
  background: #12121a;
  padding: 20px 25px;
  margin: 0 -25px;
  margin-top: auto;
  border-top: 1px solid #2a2a3e;
  z-index: 10;
}

/* Upload preview container no modal de presentes */
#giftModal .upload-preview-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Botão de remover imagem no modal de presentes */
#giftModal .btn-remove-image {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
}

#giftModal .btn-remove-image:hover {
  background: #dc2626;
  transform: scale(1.1);
}

#giftModal .upload-preview {
  width: 100%;
  height: 150px;
  border: 2px dashed #2a2a3e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #1a1a2e;
  overflow: hidden;
}

#giftModal .upload-preview:hover {
  border-color: #00d4ff;
  background: #1a1a3e;
}

#giftModal .upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a2e;
}

#giftModal .upload-placeholder {
  color: #6a6a7a;
  font-size: 0.9rem;
}

/* Seletor de tipo de ícone */
.icon-type-selector {
  display: flex;
  gap: 20px;
  padding: 8px 0;
}

.icon-type-selector .radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

.icon-type-selector input[type="radio"] {
  width: auto;
  margin: 0;
}

/* Grid de Emojis - TEMA NEON */
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 8px;
  padding: 12px;
  background: #1a1a2e;
  border-radius: 8px;
  border: 2px solid #2a2a3e;
  max-height: 180px;
  overflow-y: auto;
}

.emoji-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.emoji-item:hover {
  background: #2a2a3e;
  transform: scale(1.1);
}

.emoji-item.selected {
  background: #00d4ff;
  border-color: #00d4ff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Preview de imagem - TEMA NEON */
.image-preview {
  margin-top: 12px;
  padding: 12px;
  background: #1a1a2e;
  border-radius: 8px;
  text-align: center;
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #2a2a3e;
}

.image-preview img {
  max-width: 150px;
  max-height: 100px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-remove-image:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* Form hint (dica abaixo do campo) */
.form-hint {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.8rem;
}

/* ===========================================
   Cards de Localização (Admin) - TEMA NEON
   =========================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 400px));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.location-card-admin {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #12121a;
  border-radius: 12px;
  border: 1px solid #2a2a3e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

.location-card-admin:hover {
  border-color: #00d4ff;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
}

.location-card-admin.inactive {
  opacity: 0.6;
  background: #0a0a0f;
}

.location-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
  border-radius: 12px;
  overflow: hidden;
}

.location-icon-emoji {
  font-size: 2rem;
}

.location-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-card-content {
  flex: 1;
  min-width: 0;
}

.location-type-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  margin-bottom: 8px;
}

.location-card-content h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.location-card-content .location-address {
  margin: 0 0 4px 0;
  font-size: 0.85rem;
  color: #a0a0b0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.location-card-content .location-time {
  margin: 0;
  font-size: 0.85rem;
  color: #00ff88;
  font-weight: 500;
}

.location-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

/* ===========================================
   Upload de Imagem - TEMA NEON
   =========================================== */
.upload-container {
  position: relative;
}

.upload-container input[type="file"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px dashed #2a2a3e;
  border-radius: 8px;
  background: #1a1a2e;
  cursor: pointer;
  transition: all 0.3s;
  color: #a0a0b0;
}

.upload-container input[type="file"]:hover {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.05);
}

.thumbnail-preview {
  margin-top: 15px;
  position: relative;
  display: inline-block;
}

.thumbnail-preview img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-remove-thumb {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 25px;
  height: 25px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.btn-remove-thumb:hover {
  background: #c0392b;
}

.upload-progress {
  margin-top: 10px;
  height: 4px;
  background: #2a2a3e;
  border-radius: 2px;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  transition: width 0.3s;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* ===========================================
   Client Cards (Cerimonialista Dashboard) - TEMA NEON
   =========================================== */
.client-card {
  background: #12121a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  border: 1px solid #2a2a3e;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
}

.client-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #12121a 100%);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a3e;
  position: relative;
}

.client-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
}

.client-header h3 {
  margin: 0;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-badge.active {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
  border: 1px solid #00ff88;
}

.status-badge.inactive {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border: 1px solid #ff4757;
}

.client-info {
  padding: 20px;
}

.client-info p {
  margin: 0 0 10px 0;
  color: #a0a0b0;
  font-size: 0.95rem;
}

.client-info p strong {
  color: #ffffff;
}

.client-footer {
  padding: 15px 20px;
  background: #1a1a2e;
  border-top: 1px solid #2a2a3e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.client-footer small {
  color: #888;
}

.client-footer .btn-manage {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.client-footer .btn-manage:hover {
  background: linear-gradient(135deg, #8e44ad, #7d3c98);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.no-data {
  text-align: center;
  color: #888;
  padding: 40px;
  font-size: 1.1rem;
}

/* ===========================================
   Dashboard Tabs (Cliente)
   =========================================== */
.dashboard-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn {
  padding: 12px 25px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  font-weight: 500;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.tab-btn:hover:not(.active) {
  background: #f0f0f0;
}

.tab-content {
  display: block;
}

.tab-content.hidden {
  display: none;
}

/* ===========================================
   Guests Management - TEMA NEON
   =========================================== */
.guests-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.guests-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  background: #12121a;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  min-width: 100px;
  border: 1px solid #2a2a3e;
}

.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00d4ff;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: #a0a0b0;
  margin-top: 5px;
}

.stat-card.confirmed .stat-value {
  color: #00ff88;
}

.stat-card.pending .stat-value {
  color: #ffff00;
}

.stat-card.declined .stat-value {
  color: #ff4757;
}

.guests-actions {
  display: flex;
  gap: 10px;
}

.guests-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 2px solid #2a2a3e;
  background: #12121a;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  color: #a0a0b0;
}

.filter-btn.active {
  border-color: #00ff88;
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  color: #0a0a0f;
  font-weight: 600;
}

.filter-btn:hover:not(.active) {
  border-color: #00d4ff;
  color: #ffffff;
}

/* Toolbar de Filtros e Busca */
.guests-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.guests-search {
  display: flex;
  gap: 10px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper input {
  padding: 12px 45px 12px 40px;
  border: 2px solid #2a2a3e;
  border-radius: 25px;
  font-size: 0.9rem;
  min-width: 280px;
  transition: all 0.3s;
  background: #1a1a2e;
  color: #ffffff;
}

.search-input-wrapper input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.search-input-wrapper input::placeholder {
  color: #6a6a7a;
}

.search-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  opacity: 0.6;
  pointer-events: none;
}

.search-loading {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid #2a2a3e;
  border-top-color: #00d4ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.search-loading.hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Info de Paginação - NEON */
.pagination-info {
  padding: 10px 15px;
  background: #1a1a2e;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #a0a0b0;
  margin-bottom: 15px;
  border: 1px solid #2a2a3e;
}

/* Controles de Paginação - NEON */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.page-btn {
  padding: 10px 16px;
  border: 2px solid #2a2a3e;
  background: #12121a;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  min-width: 44px;
  color: #a0a0b0;
}

.page-btn:hover:not(.disabled):not(.active) {
  border-color: #00d4ff;
  color: #00d4ff;
}

.page-btn.active {
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  border-color: #00ff88;
  color: #0a0a0f;
  font-weight: 600;
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 8px;
  color: #6a6a7a;
}

.guests-table {
  width: 100%;
  background: #12121a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a3e;
}

.guests-table th,
.guests-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #2a2a3e;
}

.guests-table th {
  background: #1a1a2e;
  font-weight: 600;
  color: #00d4ff;
}

.guests-table tr:hover {
  background: #1a1a2e;
}

.relationship-badge {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.relationship-badge.familia_noivo {
  background: rgba(0, 212, 255, 0.15);
  color: #00d4ff;
}

.relationship-badge.familia_noiva {
  background: rgba(255, 0, 255, 0.15);
  color: #ff00ff;
}

.relationship-badge.amigos {
  background: rgba(255, 255, 0, 0.15);
  color: #ffff00;
}

.confirmation-status {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.confirmed {
  background: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.status-dot.pending {
  background: #ffff00;
  box-shadow: 0 0 8px rgba(255, 255, 0, 0.5);
}

.status-dot.declined {
  background: #ff4757;
  box-shadow: 0 0 8px rgba(255, 71, 87, 0.5);
}

/* Guest Row Status Highlighting - NEON */
.guests-table tr.guest-confirmed {
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, #12121a 15%);
}

.guests-table tr.guest-confirmed:hover {
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.15) 0%, #1a1a2e 15%);
}

.guests-table tr.guest-pending {
  background: linear-gradient(90deg, rgba(255, 255, 0, 0.1) 0%, #12121a 15%);
}

.guests-table tr.guest-pending:hover {
  background: linear-gradient(90deg, rgba(255, 255, 0, 0.15) 0%, #1a1a2e 15%);
}

.guests-table tr.guest-declined {
  background: linear-gradient(90deg, rgba(255, 71, 87, 0.1) 0%, #12121a 15%);
}

.guests-table tr.guest-declined:hover {
  background: linear-gradient(90deg, rgba(255, 71, 87, 0.15) 0%, #1a1a2e 15%);
}

/* Status Badges - NEON */
.confirmed-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #0a0a0f;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
}

.pending-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffff00, #cccc00);
  color: #0a0a0f;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
}

.declined-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff4757, #ff2f43);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
}

/* ===========================================
   Guest Modal Styles
   =========================================== */
.modal-large {
  max-width: 700px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Form row com 3 colunas */
.form-row:has(.form-group-xs) {
  grid-template-columns: 1fr 1fr auto;
}

/* Grupos de tamanho reduzido */
.form-group-sm {
  max-width: 220px;
}

.form-group-xs {
  max-width: 80px;
}

/* Input com botao ao lado */
.input-with-button {
  display: flex;
  gap: 8px;
}

.input-with-button input {
  flex: 1;
}

.btn-search {
  padding: 10px 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Status do CEP */
.form-hint {
  font-size: 0.8rem;
  color: #888;
}

.form-hint.error {
  color: #e74c3c;
}

.form-hint.success {
  color: #27ae60;
}

/* Campos readonly com visual diferenciado */
.modal-form input[readonly] {
  background-color: #f8f9fa;
  color: #666;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row:has(.form-group-xs) {
    grid-template-columns: 1fr 1fr;
  }

  .form-group-sm,
  .form-group-xs {
    max-width: none;
  }
}

.family-members-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.family-member-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.family-member-item input {
  flex: 1;
}

.btn-remove-member {
  width: 35px;
  height: 35px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-remove-member:hover {
  background: #c0392b;
}

.btn-add-member,
.btn-add-option {
  padding: 10px 15px;
  background: #ecf0f1;
  color: #2c3e50;
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  width: 100%;
}

.btn-add-member:hover,
.btn-add-option:hover {
  border-color: #667eea;
  color: #667eea;
}

.password-display {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  font-family: monospace;
}

.password-display span {
  font-size: 1.5rem;
  letter-spacing: 3px;
  font-weight: bold;
  color: #667eea;
}

.btn-copy {
  padding: 8px 15px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-copy:hover {
  background: #5a6fd6;
}

.checkbox-single {
  display: flex;
  align-items: center;
}

.checkbox-single label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

.checkbox-single input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/* ===========================================
   Questions List
   =========================================== */
.questions-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.question-info {
  flex: 1;
}

.question-info h4 {
  margin: 0 0 5px 0;
  color: #333;
}

.question-info span {
  font-size: 0.85rem;
  color: #888;
}

.question-type-badge {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  background: #e0e0e0;
  margin-left: 10px;
}

/* ===========================================
   Confirmation Code Section
   =========================================== */
.confirmation-code-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.confirmation-code-section h4 {
  margin: 0 0 10px 0;
  color: #333;
}

.confirmation-code-input {
  display: flex;
  gap: 10px;
  align-items: center;
}

.confirmation-code-input input {
  flex: 1;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
}

.confirmation-code-input .btn-save-code {
  padding: 12px 20px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.confirmation-url {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

.confirmation-url code {
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===========================================
   Guests Admin Select
   =========================================== */
.guests-admin-select {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.guests-admin-select label {
  font-weight: 600;
  color: #333;
}

.guests-admin-select select {
  flex: 1;
  max-width: 400px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 768px) {
  .login-container {
    padding: 30px 20px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    flex-wrap: wrap;
  }

  .welcome-banner {
    padding: 25px;
  }

  .welcome-banner h2 {
    font-size: 1.4rem;
  }
}

/* ===========================================
   View Guest Modal
   =========================================== */
.modal-large {
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
}

.view-guest-content {
  padding: 20px 0;
}

.view-guest-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: #555;
  width: 140px;
  flex-shrink: 0;
}

.info-value {
  color: #333;
}

.password-display {
  font-family: monospace;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 2px;
}

.view-guest-section {
  margin-bottom: 25px;
}

.view-guest-section h3 {
  color: #667eea;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
}

.members-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* New Member Card View Style */
.member-card-view {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.member-card-view.confirmed {
  border-color: #27ae60;
}

.member-card-view.declined {
  border-color: #e74c3c;
}

.member-card-view.pending {
  border-color: #f39c12;
}

.member-header-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: white;
}

.member-card-view.confirmed .member-header-view {
  background: #e8f5e9;
}

.member-card-view.declined .member-header-view {
  background: #ffebee;
}

.member-card-view.pending .member-header-view {
  background: #fff8e1;
}

.member-info-view {
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-icon {
  font-size: 1.2rem;
}

.member-name-view {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.member-status-badge {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.member-status-badge.confirmed {
  background: #27ae60;
  color: white;
}

.member-status-badge.declined {
  background: #e74c3c;
  color: white;
}

.member-status-badge.pending {
  background: #f39c12;
  color: white;
}

.member-answers {
  padding: 12px 15px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.member-answer-item {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
}

.member-answer-item:not(:last-child) {
  border-bottom: 1px dashed #e0e0e0;
}

.answer-q {
  color: #666;
  font-weight: 500;
  flex-shrink: 0;
}

.answer-a {
  color: #333;
  font-weight: 400;
}

/* Family answers */
.family-answer-item {
  display: flex;
  gap: 10px;
  padding: 10px 15px;
  background: #f0f4ff;
  border-radius: 8px;
  margin-bottom: 8px;
}

.family-answer-item .answer-q {
  color: #667eea;
}

/* Legacy styles for backwards compatibility */
.member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #ccc;
}

.member-item.confirmed {
  border-left-color: #27ae60;
  background: #e8f5e9;
}

.member-item.declined {
  border-left-color: #e74c3c;
  background: #ffebee;
}

.member-item.pending {
  border-left-color: #f39c12;
  background: #fff8e1;
}

.member-name {
  font-weight: 500;
}

.member-status {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.member-status.confirmed {
  background: #27ae60;
  color: white;
}

.member-status.declined {
  background: #e74c3c;
  color: white;
}

.member-status.pending {
  background: #f39c12;
  color: white;
}

.answers-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.answer-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.answer-question {
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.answer-value {
  color: #333;
  padding-left: 15px;
  border-left: 3px solid #667eea;
}

.answer-member {
  font-size: 0.85rem;
  color: #888;
  margin-top: 5px;
}

.guest-notes {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  color: #555;
  font-style: italic;
  min-height: 50px;
}

.no-data {
  color: #888;
  font-style: italic;
  padding: 15px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 8px;
}

/* ===========================================
   Charts Section
   =========================================== */
.charts-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.chart-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chart-card h4 {
  color: #333;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1rem;
}

.chart-container {
  position: relative;
  height: 200px;
}

/* View Button */
.btn-view {
  background: #17a2b8;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.btn-view:hover {
  background: #138496;
}

/* Actions column */
.guest-actions {
  display: flex;
  gap: 5px;
}

.guest-actions button {
  padding: 5px 10px;
  font-size: 0.85rem;
}

/* ===========================================
   Modern View Guest Modal
   =========================================== */
.modal-view-guest {
  width: 95%;
  max-width: 700px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

/* Header with gradient */
.view-modal-header {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #ff00ff 100%);
  padding: 30px 25px 25px;
  position: relative;
  text-align: center;
  flex-shrink: 0;
}

.view-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.view-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.view-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.view-guest-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.9);
  color: #00ff88;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  border: 2px solid rgba(0, 255, 136, 0.3);
}

.view-guest-title {
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.view-guest-badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Modal Body */
.view-modal-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
  background: #0a0a0f;
}

/* Stats Grid */
.view-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.view-stat-card {
  background: #12121a;
  border-radius: 16px;
  padding: 18px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #2a2a3e;
}

.view-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.1);
  border-color: #3a3a4e;
}

.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.stat-confirmed .stat-icon {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

.stat-declined .stat-icon {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
}

.stat-pending .stat-icon {
  background: rgba(255, 255, 0, 0.15);
  color: #ffff00;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: #a0a0b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Info Grid */
.view-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.view-info-card {
  background: #12121a;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #2a2a3e;
}

.info-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #00d4ff;
}

.info-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-card-label {
  font-size: 0.75rem;
  color: #6a6a7a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.info-card-value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.password-code {
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1.1rem;
}

/* Sections */
.view-section {
  background: #12121a;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a3e;
}

.view-section-header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.view-section-header h3 {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.btn-expand-all,
.btn-collapse-all {
  padding: 6px 12px;
  border: 1px solid #2a2a3e;
  border-radius: 6px;
  background: #1a1a2e;
  color: #a0a0b0;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-expand-all:hover,
.btn-collapse-all:hover {
  background: #2a2a3e;
  border-color: #00d4ff;
  color: #00d4ff;
}

.btn-expand-all span,
.btn-collapse-all span {
  font-size: 10px;
}

.section-icon {
  font-size: 1.1rem;
}

/* Members Grid */
.view-members-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.view-member-card {
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a3e;
  transition: all 0.3s;
}

.view-member-card:hover {
  border-color: #3a3a4e;
}

.view-member-card.confirmed {
  border-left: 4px solid #00ff88;
}

.view-member-card.declined {
  border-left: 4px solid #ff4757;
}

.view-member-card.pending {
  border-left: 4px solid #ffff00;
}

.view-member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1a1a2e;
  cursor: pointer;
  transition: background 0.2s;
}

.view-member-header:hover {
  background: #2a2a3e;
}

.view-member-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2a3e;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #a0a0b0;
  transition: all 0.3s;
  margin-left: 10px;
  flex-shrink: 0;
}

.view-member-toggle:hover {
  background: #3a3a4e;
  color: #00d4ff;
}

.view-member-toggle.expanded {
  transform: rotate(180deg);
}

.view-member-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-member-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.view-member-card.confirmed .view-member-avatar {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.view-member-card.declined .view-member-avatar {
  background: rgba(255, 71, 87, 0.2);
  color: #ff4757;
}

.view-member-card.pending .view-member-avatar {
  background: rgba(255, 255, 0, 0.2);
  color: #ffff00;
}

.view-member-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.view-member-badge {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-member-badge.confirmed {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

.view-member-badge.declined {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
}

.view-member-badge.pending {
  background: rgba(255, 255, 0, 0.15);
  color: #ffff00;
}

.view-member-answers {
  padding: 12px 16px;
  background: #12121a;
  border-top: 1px solid #2a2a3e;
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: all 0.3s ease;
}

.view-member-answers.expanded {
  max-height: 500px;
  padding: 12px 16px;
}

.view-answer-item {
  display: flex;
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed #2a2a3e;
}

.view-answer-item:last-child {
  border-bottom: none;
}

.view-answer-q {
  color: #a0a0b0;
  font-weight: 500;
  min-width: 120px;
  flex-shrink: 0;
}

.view-answer-a {
  color: #ffffff;
  font-weight: 400;
}

/* Answers List */
.view-answers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.view-family-answer {
  display: flex;
  padding: 12px 14px;
  background: #1a1a2e;
  border-radius: 10px;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #2a2a3e;
}

.view-family-answer .view-answer-q {
  color: #00d4ff;
  font-weight: 600;
}

/* Notes */
.view-notes-content {
  background: #1a1a2e;
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 4px solid #00d4ff;
}

.view-notes-content p {
  margin: 0;
  color: #a0a0b0;
  font-style: italic;
  line-height: 1.6;
}

/* Footer */
.view-modal-footer {
  padding: 20px 25px;
  background: #12121a;
  border-top: 1px solid #2a2a3e;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-view-close {
  padding: 12px 28px;
  border: 2px solid #2a2a3e;
  border-radius: 10px;
  background: #1a1a2e;
  color: #a0a0b0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-close:hover {
  border-color: #3a3a4e;
  background: #2a2a3e;
  color: #ffffff;
}

.btn-view-edit {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  color: #0a0a0f;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-view-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.btn-view-edit span {
  font-size: 1.1rem;
}

/* No data message */
.view-no-data {
  text-align: center;
  padding: 25px;
  color: #6a6a7a;
  font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-view-guest {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .view-modal-header {
    padding: 25px 20px 35px;
  }

  .view-guest-avatar {
    width: 65px;
    height: 65px;
    font-size: 22px;
  }

  .view-guest-title {
    font-size: 1.3rem;
  }

  .view-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .view-stat-card {
    padding: 12px 8px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .view-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .view-modal-body {
    padding: 20px 15px;
  }

  .view-modal-footer {
    padding: 15px;
    flex-direction: column;
  }

  .btn-view-close,
  .btn-view-edit {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   Wedding Sub-Navigation (Meu Casamento) - TEMA NEON
   =========================================== */
.wedding-sub-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  padding: 5px;
  background: #12121a;
  border-radius: 12px;
  flex-wrap: wrap;
  border: 1px solid #2a2a3e;
}

.sub-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #6a6a7a;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

.sub-nav-btn:hover {
  background: #1a1a2e;
  color: #a0a0b0;
}

.sub-nav-btn.active {
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  color: #0a0a0f;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
  font-weight: 600;
}

.sub-nav-icon {
  font-size: 1.2rem;
}

.wedding-sub-content {
  animation: fadeIn 0.3s ease;
}

/* ===========================================
   Site Content Navigation (Terceiro Nível) - TEMA NEON
   =========================================== */
.site-content-nav {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #1a1a2e;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border: 1px solid #2a2a3e;
}

/* Scrollbar mais discreta */
.site-content-nav::-webkit-scrollbar {
  height: 4px;
}

.site-content-nav::-webkit-scrollbar-track {
  background: transparent;
}

.site-content-nav::-webkit-scrollbar-thumb {
  background: #3a3a4e;
  border-radius: 2px;
}

.site-content-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: none;
  background: #12121a;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  color: #6a6a7a;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-content-btn:hover {
  background: #2a2a3e;
  transform: translateY(-1px);
  color: #a0a0b0;
}

.site-content-btn.active {
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  color: #0a0a0f;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
  font-weight: 600;
}

.site-content-btn .btn-icon {
  font-size: 1.1rem;
}

.site-content-area {
  animation: fadeIn 0.3s ease;
}

@media (max-width: 600px) {
  .site-content-nav {
    padding: 10px;
    gap: 6px;
  }

  .site-content-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* ===========================================
   Vendors (Fornecedores) - TEMA NEON
   =========================================== */
.vendors-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.vendor-card {
  background: #12121a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a3e;
  transition: all 0.3s;
  position: relative;
}

.vendor-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
  border-color: #00d4ff;
}

.vendor-card.contracted {
  border-left: 4px solid #00ff88;
}

.vendor-category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  color: #0a0a0f;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.vendor-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
}

.vendor-contact {
  font-size: 0.9rem;
  color: #a0a0b0;
  margin-bottom: 12px;
}

.vendor-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #6a6a7a;
  margin-bottom: 6px;
}

.vendor-info-row span:first-child {
  width: 20px;
  text-align: center;
}

.vendor-price {
  font-size: 1rem;
  font-weight: 600;
  color: #00ff88;
  margin-top: 12px;
}

.vendor-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #2a2a3e;
}

.contracted-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #00ff88;
  color: #0a0a0f;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ===========================================
   Tips (Dicas) - Sistema de Secoes - TEMA NEON
   =========================================== */
.tip-sections-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip-section-card {
  background: #12121a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a3e;
  transition: all 0.3s;
}

.tip-section-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
}

.tip-section-card.inactive {
  opacity: 0.6;
}

.tip-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #2a2a3e;
  margin-bottom: 15px;
}

.tip-section-info {
  flex: 1;
}

.tip-section-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.tip-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.tip-section-subtitle {
  font-size: 0.85rem;
  color: #a0a0b0;
}

.tip-section-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-add-small {
  background: #00ff88;
  color: #0a0a0f;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}

.btn-add-small:hover {
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Itens dentro da secao */
.tip-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #1a1a2e;
  border-radius: 8px;
  border: 1px solid #2a2a3e;
}

.tip-item.inactive {
  opacity: 0.5;
}

.tip-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.tip-item-type {
  font-size: 0.7rem;
  font-weight: 500;
  color: #ff00ff;
  background: rgba(255, 0, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.tip-item-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.tip-item-text {
  font-size: 0.85rem;
  color: #a0a0b0;
}

.tip-item-actions {
  display: flex;
  gap: 6px;
}

.btn-edit-xs,
.btn-delete-xs {
  padding: 4px 8px;
  font-size: 0.7rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-edit-xs {
  background: #2a2a3e;
  color: #a0a0b0;
}

.btn-edit-xs:hover {
  background: #3a3a4e;
  color: #00d4ff;
}

.btn-delete-xs {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
}

.btn-delete-xs:hover {
  background: rgba(255, 71, 87, 0.3);
}

/* Estilo legado para compatibilidade */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.tip-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.tip-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tip-card.inactive {
  opacity: 0.6;
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.tip-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tip-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

.tip-content {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 15px;
}

.tip-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

/* ===========================================
   Gifts (Presentes) - TEMA NEON
   =========================================== */
.gifts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.gifts-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gift-stat {
  text-align: center;
  padding: 10px 20px;
  background: #1a1a2e;
  border-radius: 10px;
  border: 1px solid #2a2a3e;
}

.gift-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff88;
}

.gift-stat-label {
  font-size: 0.8rem;
  color: #a0a0b0;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gift-card {
  position: relative;
  background: #12121a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a3e;
  transition: all 0.3s;
}

.gift-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
}

.gift-card.inactive {
  opacity: 0.6;
}

.gift-card.received {
  border: 2px solid #00ff88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.gift-image {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #6a6a7a;
}

.gift-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-body {
  padding: 15px;
}

.gift-category-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 212, 255, 0.15);
  color: #00d4ff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gift-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 5px;
}

.gift-description {
  font-size: 0.85rem;
  color: #a0a0b0;
  margin-bottom: 10px;
  line-height: 1.4;
}

.gift-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00ff88;
}

.gift-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #a0a0b0;
}

.gift-quantity-bar {
  flex: 1;
  height: 6px;
  background: #2a2a3e;
  border-radius: 3px;
  overflow: hidden;
}

.gift-quantity-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  border-radius: 3px;
  transition: width 0.3s;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.gift-actions {
  display: flex;
  gap: 8px;
  padding: 12px 15px;
  border-top: 1px solid #2a2a3e;
  background: #1a1a2e;
}

.gift-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.gift-link:hover {
  text-decoration: underline;
}

/* ===========================================
   Image Type Selector (URL/Upload)
   =========================================== */
.image-type-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.image-type-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
}

.image-type-option input {
  display: none;
}

.image-type-option:hover {
  border-color: #667eea;
  color: #667eea;
}

.image-type-option.selected {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

/* Upload Preview Container */
.upload-preview-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upload-preview {
  width: 150px;
  height: 150px;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8fafc;
}

.upload-preview:hover {
  border-color: #667eea;
  background: #f1f5f9;
}

.upload-preview.empty .upload-placeholder {
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
  padding: 10px;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-image {
  padding: 6px 12px;
  background: #fee2e2;
  color: #dc2626;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.btn-remove-image:hover {
  background: #fecaca;
}

/* ===========================================
   Gift Selection Mode
   =========================================== */
.selection-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-select-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-select-mode:hover {
  background: #667eea;
  color: white;
}

.btn-select-mode.active {
  background: #667eea;
  color: white;
}

.select-all-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #475569;
}

.select-all-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
}

.btn-delete-selected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}

.btn-delete-selected:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-delete-selected:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.gift-checkbox {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #667eea;
  z-index: 10;
}

.gift-card.selected {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

/* ===========================================
   Common Action Buttons
   =========================================== */
.btn-add-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-add-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.gifts-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-generate-random {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-generate-random:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-edit-small,
.btn-delete-small {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-edit-small {
  background: #f1f5f9;
  color: #475569;
}

.btn-edit-small:hover {
  background: #e2e8f0;
}

.btn-delete-small {
  background: #fef2f2;
  color: #ef4444;
}

.btn-delete-small:hover {
  background: #fee2e2;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-state-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .wedding-sub-nav {
    gap: 5px;
  }

  .sub-nav-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
    min-width: auto;
  }

  .sub-nav-btn span:last-child {
    display: none;
  }

  .sub-nav-icon {
    font-size: 1.3rem;
  }

  .vendors-grid,
  .tips-grid,
  .gifts-grid {
    grid-template-columns: 1fr;
  }

  .vendors-header,
  .gifts-header {
    flex-direction: column;
    align-items: stretch;
  }

  .gifts-stats {
    justify-content: center;
  }
}

/* ===== CUSTOM MODAL ===== */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal.hidden {
  display: none;
}

.custom-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.custom-modal-container {
  position: relative;
  background: #12121a;
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.1);
  animation: modalSlideIn 0.3s ease;
  border: 1px solid #2a2a3e;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.custom-modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-icon svg {
  width: 40px;
  height: 40px;
  display: none;
}

.custom-modal-icon.success {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid #00ff88;
}
.custom-modal-icon.success .icon-success {
  display: block;
  color: #00ff88;
}

.custom-modal-icon.warning {
  background: rgba(255, 255, 0, 0.15);
  border: 1px solid #ffff00;
}
.custom-modal-icon.warning .icon-warning {
  display: block;
  color: #ffff00;
}

.custom-modal-icon.error {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid #ff4757;
}
.custom-modal-icon.error .icon-error {
  display: block;
  color: #ff4757;
}

.custom-modal-icon.info {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid #00d4ff;
}
.custom-modal-icon.info .icon-info {
  display: block;
  color: #00d4ff;
}

.custom-modal-icon.question {
  background: rgba(255, 0, 255, 0.15);
  border: 1px solid #ff00ff;
}
.custom-modal-icon.question .icon-question {
  display: block;
  color: #ff00ff;
}

.custom-modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.custom-modal-message {
  font-size: 1rem;
  color: #a0a0b0;
  line-height: 1.6;
  margin-bottom: 24px;
}

.custom-modal-input-container {
  margin-bottom: 24px;
}

.custom-modal-input-container.hidden {
  display: none;
}

.custom-modal-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #2a2a3e;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s;
  text-align: center;
  background: #1a1a2e;
  color: #ffffff;
}

.custom-modal-input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.custom-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.custom-modal-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 120px;
}

.custom-modal-btn.cancel {
  background: #2a2a3e;
  color: #a0a0b0;
}

.custom-modal-btn.cancel:hover {
  background: #3a3a4e;
  color: #ffffff;
}

.custom-modal-btn.confirm {
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  color: #0a0a0f;
}

.custom-modal-btn.confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
}

.custom-modal-btn.confirm.danger {
  background: linear-gradient(135deg, #ff4757, #ff2f43);
  color: #ffffff;
}

.custom-modal-btn.confirm.danger:hover {
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.custom-modal-btn.confirm.success {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: #0a0a0f;
}

.custom-modal-btn.confirm.success:hover {
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
}

/* ===========================================
   Botao de gerenciar categorias
   =========================================== */
.btn-manage-categories {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
  height: 38px;
  border: 1px solid #00d4ff;
  border-radius: 8px;
  background: #12121a;
  color: #00d4ff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-manage-categories:hover {
  background: #00d4ff;
  color: #0a0a0f;
}

.btn-manage-categories svg {
  width: 16px;
  height: 16px;
}

/* ===========================================
   Modal Body (padrao para modais sem form)
   =========================================== */
.modal-body {
  padding: 25px;
}

.modal-body .form-group {
  margin-bottom: 20px;
}

.modal-body .form-group:last-child {
  margin-bottom: 0;
}

.modal-body label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #a0a0b0;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #2a2a3e;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #1a1a2e;
  color: #ffffff;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: #00d4ff;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 25px;
  border-top: 1px solid #2a2a3e;
  background: #12121a;
}

/* ===========================================
   Input com botao inline
   =========================================== */
.input-with-button {
  display: flex;
  gap: 0.5rem;
}

.input-with-button input {
  flex: 1;
}

.btn-inline {
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-inline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===========================================
   Lista de Categorias
   =========================================== */
.categories-list {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.5rem;
  max-height: 150px;
  overflow-y: auto;
}

.categories-list.system {
  background: #f0f0f0;
}

.categories-list .empty-text {
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem 0;
  margin: 0;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: white;
  border-radius: 6px;
  margin-bottom: 0.4rem;
  border: 1px solid #e0e0e0;
}

.category-item:last-child {
  margin-bottom: 0;
}

.category-item.system {
  background: #fafafa;
  border-color: #ddd;
}

.category-item .category-name {
  font-size: 0.9rem;
  color: #333;
}

.category-item .btn-delete-cat {
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.category-item .btn-delete-cat:hover {
  background: #dc2626;
}

/* ===========================================
   Sistema de Mesas e Assentos
   =========================================== */

/* Layout Principal - Split View */
.tables-layout {
  display: flex;
  gap: 20px;
  height: calc(100vh - 280px);
  min-height: 500px;
}

/* Painel Esquerdo */
.tables-panel {
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.tables-panel-header {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.tables-panel-header h3 {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-new-table {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-new-table:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.tables-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

/* Secao dentro do painel */
.tables-section {
  margin-bottom: 20px;
}

.tables-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 10px;
}

.tables-section-header h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tables-section-header .count-badge {
  background: #667eea;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Lista de mesas */
.tables-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.table-list-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateX(3px);
}

.table-list-item.selected {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border-color: #667eea;
}

.table-list-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-list-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.table-list-icon.round {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 50%;
}

.table-list-icon.rectangular {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 6px;
}

.table-list-icon.square {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 4px;
}

.table-list-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
}

.table-list-capacity {
  font-size: 0.8rem;
  color: #64748b;
}

.table-list-capacity.full {
  color: #10b981;
  font-weight: 600;
}

.table-list-capacity.warning {
  color: #f59e0b;
}

/* Lista de convidados sem mesa */
.unassigned-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unassigned-family {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.unassigned-family-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: background 0.2s;
}

.unassigned-family-header:hover {
  background: #f1f5f9;
}

.unassigned-family-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.unassigned-family-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
}

.unassigned-family-count {
  background: #e2e8f0;
  color: #64748b;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.unassigned-family-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #64748b;
  transition: all 0.3s;
}

.unassigned-family-toggle.expanded {
  transform: rotate(180deg);
}

.unassigned-members {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.unassigned-members.expanded {
  padding: 10px 12px;
  max-height: 300px;
}

.unassigned-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #fafafa;
  border-radius: 6px;
  margin-bottom: 6px;
}

.unassigned-member:last-child {
  margin-bottom: 0;
}

.unassigned-member-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.unassigned-member-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.unassigned-member-status.confirmed {
  background: #10b981;
}

.unassigned-member-status.pending {
  background: #f59e0b;
}

.unassigned-member-name {
  font-size: 0.85rem;
  color: #475569;
}

.btn-assign-member {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-assign-member:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

/* Canvas Container */
.tables-canvas-container {
  flex: 1;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.canvas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.canvas-stats {
  display: flex;
  gap: 20px;
}

.canvas-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.canvas-stat-value {
  font-weight: 700;
  color: #1e293b;
}

.canvas-stat-value.success {
  color: #10b981;
}

.canvas-stat-value.warning {
  color: #f59e0b;
}

.canvas-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.canvas-zoom {
  display: flex;
  align-items: center;
  gap: 5px;
  background: white;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.btn-zoom {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-zoom:hover {
  background: #f1f5f9;
  color: #334155;
}

.zoom-level {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  min-width: 45px;
  text-align: center;
}

.btn-canvas-action {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #475569;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-canvas-action:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-canvas-action.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
}

.btn-canvas-action.primary:hover {
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Canvas Area */
.canvas-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f1f5f9 1px, transparent 1px),
    linear-gradient(#f1f5f9 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: -1px -1px;
}

.canvas-area.no-grid {
  background: #fafafa;
}

#tablesCanvas {
  position: absolute;
  top: 0;
  left: 0;
}

/* Empty state do canvas */
.canvas-empty-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #94a3b8;
}

.canvas-empty-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.canvas-empty-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.canvas-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.canvas-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Modal de Detalhes da Mesa */
#tableDetailsModal .modal-form {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.table-details-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  padding: 0;
}

.table-details-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.table-details-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.table-details-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.table-details-icon.round {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 50%;
}

.table-details-icon.rectangular {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.table-details-icon.square {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 8px;
}

.table-details-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  color: #1e293b;
}

.table-details-capacity {
  font-size: 0.9rem;
  color: #64748b;
}

.table-details-capacity strong {
  color: #667eea;
}

/* Observacoes da mesa */
.table-notes-section {
  background: #f8fafc;
  border-left: 3px solid #667eea;
  padding: 10px 15px;
  margin: 15px 0;
  border-radius: 0 8px 8px 0;
}

.table-notes-section p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  font-style: italic;
  line-height: 1.4;
}

/* Lista de assentos no modal */
.table-seats-section {
  margin-bottom: 25px;
}

.table-seats-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-seats-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table-seat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.table-seat-item.empty {
  background: #fafafa;
  border-style: dashed;
}

.table-seat-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seat-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.table-seat-item.empty .seat-number {
  background: #e2e8f0;
  color: #94a3b8;
}

.seat-guest-info {
  display: flex;
  flex-direction: column;
}

.seat-guest-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.seat-guest-family {
  font-size: 0.8rem;
  color: #64748b;
}

.seat-guest-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 3px;
}

.seat-guest-status.confirmed {
  background: #d1fae5;
  color: #059669;
}

.seat-guest-status.pending {
  background: #fef3c7;
  color: #d97706;
}

.btn-remove-seat {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fee2e2;
  color: #ef4444;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-remove-seat:hover {
  background: #fecaca;
  color: #dc2626;
}

/* Adicionar convidado a mesa */
.add-guest-section {
  background: #f0f4ff;
  border-radius: 12px;
  padding: 15px;
}

.add-guest-section h4 {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  color: #667eea;
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-guest-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.add-guest-row:last-child {
  margin-bottom: 0;
}

.add-guest-row select {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
}

.add-guest-row select:focus {
  outline: none;
  border-color: #667eea;
}

.btn-add-to-table {
  padding: 10px 18px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-add-to-table:hover {
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-add-to-table:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
}

/* Rodape fixo do modal de mesa */
.table-modal-footer {
  flex-shrink: 0;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* Secao de adicionar convidado - fixa no rodape */
.add-guest-section-fixed {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.add-guest-section-fixed .add-guest-row {
  display: flex;
  gap: 8px;
}

.add-guest-section-fixed select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  background: white;
}

.add-guest-section-fixed .btn-add-to-table {
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.add-guest-section-fixed .btn-add-to-table:hover {
  opacity: 0.9;
}

/* Acoes do modal de mesa */
.table-modal-actions {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
}

.btn-edit-table,
.btn-delete-table {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-edit-table {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.btn-edit-table:hover {
  background: #e2e8f0;
}

.btn-delete-table {
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #fecaca;
}

.btn-delete-table:hover {
  background: #fecaca;
  color: #dc2626;
}

/* Estatisticas no topo */
.tables-stats-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tables-stat-card {
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 160px;
}

.tables-stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tables-stat-icon.tables {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.tables-stat-icon.capacity {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.tables-stat-icon.seated {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.tables-stat-icon.unassigned {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.tables-stat-info {
  display: flex;
  flex-direction: column;
}

.tables-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

.tables-stat-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 3px;
}

/* ==========================================
   MAPA PUBLICO - CONFIGURACAO
   ========================================== */

.public-map-config {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
}

.public-map-config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
}

.public-map-config-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1e293b;
}

.public-map-icon {
  font-size: 1.3rem;
}

.public-map-config-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.public-map-config-body.hidden {
  display: none;
}

.public-map-config-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.public-map-label {
  font-weight: 500;
  color: #475569;
  font-size: 0.9rem;
}

.public-map-input {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  max-width: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.public-map-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.public-map-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.public-map-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.public-map-radio:hover {
  background: #f8fafc;
}

.public-map-radio input[type="radio"] {
  margin-top: 3px;
  accent-color: #667eea;
  width: 16px;
  height: 16px;
}

.public-map-radio input[type="radio"]:checked + .radio-label {
  color: #667eea;
}

.radio-label {
  font-weight: 600;
  color: #1e293b;
}

.radio-desc {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* Responsive para mesas */
@media (max-width: 1024px) {
  .tables-layout {
    flex-direction: column;
    height: auto;
  }

  .tables-panel {
    width: 100%;
    max-height: 350px;
  }

  .tables-canvas-container {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .tables-stats-bar {
    flex-direction: column;
  }

  .tables-stat-card {
    min-width: auto;
  }

  .canvas-toolbar {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .canvas-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .canvas-controls {
    justify-content: center;
    flex-wrap: wrap;
  }

  .add-guest-row {
    flex-direction: column;
  }
}

/* =============================================
   MODAL DE ALOCAR CONVIDADO EM MESA
   ============================================= */

.assign-seat-content {
  padding: 20px;
}

.assign-seat-guest {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  margin-bottom: 15px;
}

.assign-guest-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assign-guest-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.assign-seat-hint {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.assign-tables-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Card de mesa no modal de alocação */
.assign-table-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #e2e8f0;
  transition: all 0.2s;
}

.assign-table-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.assign-table-card.full {
  opacity: 0.5;
  pointer-events: none;
}

.assign-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.assign-table-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assign-table-icon {
  font-size: 1.5rem;
}

.assign-table-icon.round {
  color: #667eea;
}

.assign-table-icon.rectangular {
  color: #f59e0b;
}

.assign-table-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
}

.assign-table-capacity {
  font-size: 0.85rem;
  color: #64748b;
  background: white;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.assign-table-capacity.almost-full {
  color: #f59e0b;
  border-color: #fcd34d;
  background: #fffbeb;
}

.assign-table-capacity.full {
  color: #ef4444;
  border-color: #fca5a5;
  background: #fef2f2;
}

/* Cadeiras da mesa */
.assign-seats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}

.assign-seat {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
  position: relative;
}

.assign-seat.empty {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.assign-seat.empty:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.assign-seat.empty::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
}

.assign-seat.occupied {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  border: 2px solid #cbd5e1;
}

.assign-seat.occupied .seat-occupant {
  font-size: 0.65rem;
  text-align: center;
  line-height: 1.1;
  max-width: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tooltip para cadeira ocupada */
.assign-seat.occupied::before {
  content: attr(data-occupant);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 10;
}

.assign-seat.occupied::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.assign-seat.occupied:hover::before,
.assign-seat.occupied:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Legenda */
.assign-legend {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.assign-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

.assign-legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.assign-legend-dot.empty {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.assign-legend-dot.occupied {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

/* ===========================================
   Timeline Management - TEMA NEON
   =========================================== */

.timeline-management {
  padding: 20px;
}

.timeline-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.timeline-header-section .section-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.timeline-header-section .btn-primary {
  width: auto;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.timeline-config-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #12121a;
  border-radius: 12px;
  border: 1px solid #2a2a3e;
}

.timeline-config-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.timeline-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Format Options - NEON */
.timeline-format-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.format-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 25px;
  background: #1a1a2e;
  border: 2px solid #2a2a3e;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.format-option:hover {
  border-color: #3a3a4e;
  background: #2a2a3e;
}

.format-option.active {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.format-option input[type="radio"] {
  display: none;
}

.format-icon {
  font-size: 2rem;
}

.format-label,
.format-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.format-desc {
  font-size: 0.8rem;
  color: #a0a0b0;
  text-align: center;
}

/* Timeline Cards Section - NEON */
.timeline-cards-section {
  margin-top: 20px;
}

.timeline-cards-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.timeline-cards-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.timeline-add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.timeline-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* Cards List - NEON */
.timeline-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-card-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #12121a;
  border: 1px solid #2a2a3e;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: grab;
}

.timeline-card-item:hover {
  border-color: #00d4ff;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.timeline-card-item.dragging {
  opacity: 0.5;
  border: 2px dashed #00ff88;
  background: #1a1a2e;
}

.card-drag-handle {
  color: #6a6a7a;
  cursor: grab;
  font-size: 1.2rem;
  padding: 5px;
}

.card-drag-handle:active {
  cursor: grabbing;
}

.card-order {
  width: 28px;
  height: 28px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  color: #0a0a0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.card-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00ff88 0%, #00d4ff 100%);
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.card-content {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 0.85rem;
  color: #a0a0b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-description {
  font-size: 0.8rem;
  color: #6a6a7a;
  margin-top: 4px;
  line-height: 1.4;
}

/* Status Badge - NEON */
.card-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-status.completed {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

.card-status.in_progress {
  background: rgba(255, 255, 0, 0.15);
  color: #ffff00;
}

.card-status.pending {
  background: rgba(160, 160, 176, 0.15);
  color: #a0a0b0;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 8px;
}

.card-actions button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
}

.card-edit-btn {
  background: #e0f2fe;
  color: #0284c7;
}

.card-edit-btn:hover {
  background: #0ea5e9;
  color: white;
}

.card-delete-btn {
  background: #fee2e2;
  color: #dc2626;
}

.card-delete-btn:hover {
  background: #ef4444;
  color: white;
}

/* Small Icon Buttons */
.btn-icon-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s;
  background: #e0f2fe;
  color: #0284c7;
}

.btn-icon-sm:hover {
  background: #0ea5e9;
  color: white;
}

.btn-icon-sm.btn-danger {
  background: #fee2e2;
  color: #dc2626;
}

.btn-icon-sm.btn-danger:hover {
  background: #ef4444;
  color: white;
}

/* Empty State */
.timeline-empty {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
}

.timeline-empty-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.timeline-empty p {
  margin-bottom: 20px;
}

.timeline-empty .btn-primary,
.empty-state .btn-primary {
  width: auto;
  padding: 12px 24px;
  display: inline-block;
}

/* Timeline Card Modal */
.modal-timeline-card {
  width: 95%;
  max-width: 550px;
}

.modal-timeline-card .modal-body {
  padding: 25px;
}

.timeline-form-group {
  margin-bottom: 20px;
}

.timeline-form-group label {
  display: block;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.timeline-form-group input,
.timeline-form-group select,
.timeline-form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.timeline-form-group input:focus,
.timeline-form-group select:focus,
.timeline-form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.timeline-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Icon Selector */
.icon-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.icon-option {
  width: 42px;
  height: 42px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.icon-option:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.icon-option.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
}

/* Status Selector */
.status-selector {
  display: flex;
  gap: 10px;
}

.status-option {
  flex: 1;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.status-option:hover {
  border-color: #94a3b8;
}

.status-option.selected {
  border-width: 2px;
}

.status-option.selected.completed {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.status-option.selected.in_progress {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.status-option.selected.pending {
  border-color: #64748b;
  background: rgba(100, 116, 139, 0.1);
}

.status-icon {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.status-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-format-options {
    flex-direction: column;
  }

  .format-option {
    max-width: none;
  }

  .timeline-card-item {
    flex-wrap: wrap;
  }

  .card-content {
    flex-basis: calc(100% - 80px);
  }

  .card-status {
    margin-left: 60px;
    margin-top: 10px;
  }

  .card-actions {
    margin-left: auto;
  }

  .status-selector {
    flex-direction: column;
  }
}

/* ===========================================
   DEPOIMENTOS / MENSAGENS DOS CONVIDADOS
   =========================================== */

.messages-header {
  margin-bottom: 25px;
}

.messages-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.messages-stats .stat-card {
  flex: 1;
  min-width: 120px;
  padding: 15px 20px;
  border-radius: 12px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.messages-stats .stat-card.pending {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #f59e0b;
}

.messages-stats .stat-card.approved {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-color: #22c55e;
}

.messages-stats .stat-card.rejected {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-color: #ef4444;
}

.messages-stats .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
}

.messages-stats .stat-label {
  font-size: 0.85rem;
  color: #64748b;
}

.messages-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.messages-filters .filter-btn {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.messages-filters .filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.messages-filters .filter-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-color: transparent;
}

.messages-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s;
}

.message-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.message-card.pending {
  border-left: 4px solid #f59e0b;
}

.message-card.approved {
  border-left: 4px solid #22c55e;
}

.message-card.rejected {
  border-left: 4px solid #ef4444;
  opacity: 0.7;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.message-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 1rem;
  color: #1e293b;
}

.guest-family {
  font-size: 0.8rem;
  color: #64748b;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #991b1b;
}

.message-content {
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.message-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
  font-style: italic;
}

.message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.message-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

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

.message-actions .btn-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.message-actions .btn-action.approve {
  background: #dcfce7;
  color: #16a34a;
}

.message-actions .btn-action.approve:hover {
  background: #22c55e;
  color: white;
}

.message-actions .btn-action.reject {
  background: #fef3c7;
  color: #d97706;
}

.message-actions .btn-action.reject:hover {
  background: #f59e0b;
  color: white;
}

.message-actions .btn-action.delete {
  background: #fee2e2;
  color: #dc2626;
}

.message-actions .btn-action.delete:hover {
  background: #ef4444;
  color: white;
}

@media (max-width: 768px) {
  .messages-stats {
    flex-direction: column;
  }

  .messages-stats .stat-card {
    min-width: auto;
  }

  .message-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .message-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .message-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ===========================================
   NOSSA HISTORIA (Our Story) - TEMA NEON
   =========================================== */

.our-story-management {
  padding: 20px;
}

.our-story-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.our-story-header-section .section-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.our-story-header-section .btn-primary {
  width: auto;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.our-story-config-section {
  background: #12121a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #2a2a3e;
}

.our-story-config-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.our-story-config-section .config-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.our-story-config-section .config-form .form-group {
  margin-bottom: 0;
}

.our-story-config-section .config-form .form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #a0a0b0;
}

.our-story-config-section .config-form .form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #2a2a3e;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #1a1a2e;
  color: #ffffff;
}

.our-story-config-section .config-form .form-group input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.our-story-config-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.our-story-config-section .btn-secondary {
  align-self: flex-start;
  padding: 10px 20px;
  background: #1a1a2e;
  color: #a0a0b0;
  border: 1px solid #2a2a3e;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.our-story-config-section .btn-secondary:hover {
  background: #2a2a3e;
  border-color: #00d4ff;
  color: #ffffff;
}

.our-story-events-section {
  margin-bottom: 30px;
}

.our-story-events-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.our-story-events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-event-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #12121a;
  border: 1px solid #2a2a3e;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.2s ease;
}

.story-event-item:hover {
  border-color: #00d4ff;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.15);
}

.story-event-item.dragging {
  opacity: 0.5;
  border-style: dashed;
  border-color: #00ff88;
}

.event-drag-handle {
  cursor: grab;
  color: #6a6a7a;
  font-size: 1.2rem;
  padding: 5px;
}

.event-drag-handle:hover {
  color: #a0a0b0;
}

.event-order {
  width: 28px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a0a0b0;
  flex-shrink: 0;
  border: 1px solid #2a2a3e;
}

.event-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid #2a2a3e;
}

.event-icon-emoji {
  font-size: 1.5rem;
}

.event-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.event-year {
  min-width: 90px;
  font-weight: 600;
  color: #00d4ff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.event-content {
  flex: 1;
  min-width: 0;
}

.event-title {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.event-description {
  font-size: 0.85rem;
  color: #a0a0b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-status {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
  flex-shrink: 0;
}

.event-status.active {
  background: rgba(0, 255, 136, 0.15);
  color: #00ff88;
}

.event-status.inactive {
  background: #2a2a3e;
  color: #6a6a7a;
}

.event-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.event-actions .btn-icon-sm {
  width: 32px;
  height: 32px;
  border: 1px solid #2a2a3e;
  border-radius: 6px;
  background: #1a1a2e;
  color: #a0a0b0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.event-actions .btn-icon-sm:hover {
  background: #2a2a3e;
  color: #00d4ff;
  border-color: #00d4ff;
}

.event-actions .btn-icon-sm.btn-danger:hover {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border-color: #ff4757;
}

/* Empty State */
.our-story-events-section .empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #1a1a2e;
  border-radius: 12px;
  border: 2px dashed #2a2a3e;
  color: #a0a0b0;
}

.our-story-events-section .empty-state p {
  color: #a0a0b0;
  margin: 0 0 10px 0;
}

.our-story-events-section .empty-state .empty-hint {
  font-size: 0.85rem;
  color: #6a6a7a;
  margin-bottom: 20px;
}

.our-story-events-section .empty-state .btn-primary {
  padding: 10px 20px;
}

/* Preview da Timeline */
.our-story-preview-section {
  margin-top: 30px;
}

.our-story-preview-section h4 {
  margin: 0 0 15px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.story-preview-container {
  background: linear-gradient(135deg, #0a1628 0%, #152238 100%);
  border-radius: 12px;
  padding: 30px;
  color: #f5f0e8;
}

.story-preview-header {
  text-align: center;
  margin-bottom: 30px;
}

.story-preview-header h2 {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  color: #f5f0e8;
  margin: 0 0 8px 0;
}

.story-preview-header p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

.story-preview-timeline {
  position: relative;
  padding-left: 50px;
  max-width: 600px;
  margin: 0 auto;
}

.story-preview-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #d4af5a 5%, #d4af5a 95%, transparent);
}

.preview-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  padding: 30px 0;
  font-size: 0.9rem;
}

.preview-event {
  position: relative;
  margin-bottom: 25px;
  padding-left: 10px;
}

.preview-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: #d4af5a;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.preview-dot {
  position: absolute;
  left: -42px;
  top: 0;
  width: 24px;
  height: 24px;
  background: #d4af5a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 0 10px rgba(212, 175, 90, 0.5);
}

.preview-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.preview-content h5 {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  color: #f5f0e8;
  margin: 0 0 5px 0;
}

.preview-content p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.6;
  margin: 0;
}

.story-preview-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 90, 0.3);
}

.story-preview-footer p {
  font-style: italic;
  color: rgba(245, 240, 232, 0.6);
  margin: 0;
}

/* Grid de Emojis no Modal */
.story-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 12px;
  background: #f1f5f9;
  border-radius: 8px;
  max-height: 160px;
  overflow-y: auto;
}

.story-emoji-grid .emoji-option {
  width: 38px;
  height: 38px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.story-emoji-grid .emoji-option:hover {
  border-color: #667eea;
  transform: scale(1.1);
}

.story-emoji-grid .emoji-option.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.15);
}

/* Icon Type Selector */
.icon-type-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.icon-type-selector .radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #334155;
}

.icon-type-selector input[type="radio"] {
  accent-color: #667eea;
}

/* Display Type Selector */
.display-type-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.display-type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
  background: #fff;
}

.display-type-option:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.display-type-option.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.display-type-option input[type="radio"] {
  display: none;
}

.display-type-icon {
  font-size: 1.5rem;
}

.display-type-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.display-type-option.selected .display-type-label {
  color: #667eea;
}

/* Display Type Badge (na lista de eventos) */
.event-display-type {
  min-width: 90px;
}

.display-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.display-type-badge.display-type-vertical {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.display-type-badge.display-type-horizontal {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.display-type-badge.display-type-3d {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.display-type-badge.display-type-text {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

/* Botao desabilitado */
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* Secao desabilitada */
.section-disabled {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}

.section-disabled::after {
  content: 'Modo texto nao utiliza marcos';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(139, 92, 246, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 10;
}

/* Secao de campos do modo texto */
.text-mode-section {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.text-mode-section h5 {
  color: #8b5cf6;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.text-mode-section textarea {
  resize: vertical;
  min-height: 200px;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 1rem;
}

.text-mode-section .form-group {
  margin-bottom: 1.25rem;
}

.text-mode-section .icon-type-selector {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.text-mode-section .image-preview.text-image-preview {
  max-width: 200px;
  margin-top: 1rem;
}

.text-mode-section .image-preview.text-image-preview img {
  border-radius: 50%;
}

/* Layout lado a lado para texto e icone/imagem */
.text-mode-section .text-mode-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}

.text-mode-section .text-mode-left {
  flex: 1;
}

.text-mode-section .text-mode-right {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 8px;
  padding: 1rem;
}

@media (max-width: 768px) {
  .text-mode-section .text-mode-content {
    grid-template-columns: 1fr;
  }
}

/* Preview por tipo de exibicao */

/* Preview Vertical (padrao) */
.story-preview-timeline.preview-vertical {
  padding-left: 50px;
}

.story-preview-timeline.preview-vertical::before {
  display: block;
}

.story-preview-timeline.preview-vertical .preview-event {
  position: relative;
  margin-bottom: 25px;
  padding-left: 10px;
}

.story-preview-timeline.preview-vertical .preview-dot {
  position: absolute;
  left: -42px;
}

/* Preview Horizontal */
.story-preview-timeline.preview-horizontal {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem;
  padding-left: 0;
}

.story-preview-timeline.preview-horizontal::before {
  display: none;
}

.story-preview-timeline.preview-horizontal .preview-event {
  flex: 0 0 140px;
  text-align: center;
  margin-bottom: 0;
  padding-left: 0;
}

.story-preview-timeline.preview-horizontal .preview-dot {
  position: relative;
  left: auto;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  font-size: 1rem;
}

.story-preview-timeline.preview-horizontal .preview-year {
  margin-bottom: 0.5rem;
}

.story-preview-timeline.preview-horizontal .preview-content {
  background: linear-gradient(135deg, rgba(80, 115, 160, 0.6), rgba(60, 95, 140, 0.7));
  border: 1px solid rgba(212, 175, 90, 0.3);
  border-radius: 8px;
  padding: 12px;
}

/* Preview 3D */
.story-preview-timeline.preview-3d {
  perspective: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  min-height: 200px;
}

.story-preview-timeline.preview-3d::before {
  display: none;
}

.story-preview-timeline.preview-3d .preview-event {
  flex: 0 0 160px;
  text-align: center;
  margin-bottom: 0;
  padding-left: 0;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.story-preview-timeline.preview-3d .preview-event:nth-child(2) {
  transform: scale(1.1);
  z-index: 10;
}

.story-preview-timeline.preview-3d .preview-event:first-child {
  transform: translateX(20px) rotateY(25deg) scale(0.85);
  opacity: 0.6;
}

.story-preview-timeline.preview-3d .preview-event:last-child {
  transform: translateX(-20px) rotateY(-25deg) scale(0.85);
  opacity: 0.6;
}

.story-preview-timeline.preview-3d .preview-event:only-child {
  transform: scale(1);
  opacity: 1;
}

.story-preview-timeline.preview-3d .preview-dot {
  position: relative;
  left: auto;
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  font-size: 1.3rem;
}

.story-preview-timeline.preview-3d .preview-content {
  background: linear-gradient(135deg, rgba(80, 115, 160, 0.7), rgba(60, 95, 140, 0.85));
  border: 1px solid rgba(212, 175, 90, 0.4);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Preview Texto */
.story-preview-timeline.preview-text {
  padding-left: 0;
}

.story-preview-timeline.preview-text::before {
  display: none;
}

.preview-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(80, 115, 160, 0.6), rgba(60, 95, 140, 0.75));
  border: 1px solid rgba(212, 175, 90, 0.3);
  border-radius: 12px;
}

.preview-text-emoji {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border: 2px solid #d4af5a;
  box-shadow: 0 0 15px rgba(212, 175, 90, 0.3);
}

.preview-text-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d4af5a;
  box-shadow: 0 0 15px rgba(212, 175, 90, 0.3);
}

.preview-text-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-text-content {
  max-width: 500px;
}

.preview-text-content p {
  color: rgba(245, 240, 232, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.preview-text-content p:last-child {
  margin-bottom: 0;
}

.preview-text-placeholder {
  color: rgba(245, 240, 232, 0.5);
  font-style: italic;
}

/* Content Image Preview (tipo texto) */
.content-preview {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.content-preview img {
  border-radius: 10px;
}

/* Image Preview */
.image-preview {
  margin-top: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Checkbox Single */
.checkbox-single label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #334155;
}

.checkbox-single input[type="checkbox"] {
  accent-color: #667eea;
  width: 16px;
  height: 16px;
}

/* Hidden class */
.our-story-management .hidden {
  display: none !important;
}

/* Form Hint */
.our-story-management .form-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 5px;
}

/* File Upload Area - Padrao do Sistema */
.file-upload-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.file-upload-area .file-input {
  display: none;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f9fa;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.file-upload-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.file-upload-btn .upload-icon {
  font-size: 0.95rem;
}

.file-name {
  font-size: 0.8rem;
  color: #6b7280;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Image Preview with Remove Button */
.image-preview {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: visible;
  border: 3px solid #e2e8f0;
  margin-top: 12px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.remove-image-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.remove-image-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .our-story-management {
    padding: 15px;
  }

  .our-story-config-section .form-row {
    grid-template-columns: 1fr;
  }

  .story-event-item {
    flex-wrap: wrap;
    padding: 12px;
  }

  .event-content {
    order: 10;
    width: 100%;
    margin-top: 10px;
  }

  .event-actions {
    margin-left: auto;
  }

  .story-emoji-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .story-preview-timeline {
    padding-left: 35px;
  }

  .preview-dot {
    left: -30px;
    width: 20px;
    height: 20px;
  }

  .story-preview-container {
    padding: 20px;
  }
}
