:root {
  --bg-primary: #0a0d14;
  --bg-surface: #121722;
  --bg-card: #181f2e;
  --bg-hover: #222b3f;
  --gold-primary: #cba258;
  --gold-hover: #dfb96f;
  --gold-light: #f4e8cf;
  --text-main: #f1f4f9;
  --text-muted: #8b97a8;
  --text-dim: #5c6878;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(203, 162, 88, 0.35);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-lux: 0 16px 36px rgba(0, 0, 0, 0.45);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.top-nav {
  background: rgba(18, 23, 34, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-primary), #886524);
  color: #0b0e14;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(203, 162, 88, 0.25);
  letter-spacing: -0.5px;
}

.brand-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.brand-info h1 span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-left: 6px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-metrics {
  display: flex;
  gap: 12px;
}

.metric-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-pill.highlight {
  border-color: var(--border-gold);
  background: rgba(203, 162, 88, 0.1);
}

.metric-val {
  font-weight: 700;
  color: var(--gold-primary);
  font-size: 14px;
}

.metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

/* Barra de Controles */
.controls-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.controls-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 360px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(203, 162, 88, 0.15);
}

.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  padding: 7px 13px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.pill-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.pill-btn.active {
  background: var(--gold-primary);
  color: #0b0e14;
  border-color: var(--gold-primary);
  font-weight: 600;
}

.pill-btn.special {
  border-color: rgba(203, 162, 88, 0.25);
  color: var(--gold-light);
}

.pill-btn.special:hover {
  border-color: var(--gold-primary);
}

.view-switchers {
  display: flex;
  gap: 6px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.view-btn.active {
  background: var(--bg-hover);
  color: var(--gold-light);
}

/* Conteúdo Principal */
.main-content {
  max-width: 1400px;
  margin: 36px auto;
  padding: 0 24px;
}

/* View 1: Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}

.hotel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lux);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #000000;
  overflow: hidden;
  cursor: pointer;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-card:hover .card-media img {
  transform: scale(1.03);
}

.card-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-slides-count {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.card-bairro {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.card-tag {
  font-size: 12px;
  color: var(--text-muted);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-hook {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
}

.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.status-badge.Aprovado {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-badge.Agendado {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.status-badge.Publicado {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-badge.Rascunho {
  background: rgba(149, 165, 166, 0.15);
  color: #95a5a6;
  border: 1px solid rgba(149, 165, 166, 0.3);
}

.btn-inspect {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-inspect:hover {
  background: var(--gold-primary);
  color: #0b0e14;
  border-color: var(--gold-primary);
}

/* View 2: Feed Instagram (3x3 e 5x5) */
.feed-wrapper {
  max-width: 935px;
  margin: 0 auto;
  transition: max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-wrapper.grid-5x5-active {
  max-width: 1400px;
}

.feed-profile-header {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 20px 20px 36px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 3px;
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b0e14;
  color: var(--gold-primary);
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-meta {
  flex: 1;
}

.profile-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-title-row h2 {
  font-size: 20px;
  font-weight: 600;
}

.verified-badge {
  background: #3897f0;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-mock {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 5px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.profile-counts {
  display: flex;
  gap: 28px;
  margin-bottom: 14px;
  font-size: 14px;
}

.profile-bio {
  font-size: 13px;
  line-height: 1.5;
  color: #e0e0e0;
}

.profile-bio a {
  color: #3897f0;
  text-decoration: none;
  font-weight: 500;
}

.feed-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.feed-tab {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-primary);
  border-top: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-grid-density-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.density-label {
  font-size: 12px;
  color: var(--text-muted);
}

.density-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.density-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
}

.density-btn.active {
  background: var(--gold-primary);
  color: #0b0e14;
  border-color: var(--gold-primary);
}

.instagram-3x3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transition: all 0.3s ease;
}

.instagram-3x3-grid.grid-5x5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.instagram-3x3-grid.grid-5x5 .insta-post-overlay {
  padding: 10px;
}

.instagram-3x3-grid.grid-5x5 .insta-post-overlay h3 {
  font-size: 13px;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instagram-3x3-grid.grid-5x5 .insta-post-overlay span {
  font-size: 11px;
}

.instagram-3x3-grid.grid-5x5 .carousel-marker-icon {
  width: 16px;
  height: 16px;
  top: 6px;
  right: 6px;
}

.insta-post-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #000000;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.insta-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  transition: opacity 0.2s ease;
}

.insta-post-thumb:hover .insta-post-overlay {
  opacity: 1;
}

.insta-post-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 6px;
}

.insta-post-overlay span {
  font-size: 12px;
  color: var(--gold-primary);
}

.carousel-marker-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

/* Modal Detalhado */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 11, 0.9);
  backdrop-filter: blur(18px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1180px;
  max-height: 92vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #0b0e14;
}

.modal-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  height: 86vh;
}

.modal-media-col {
  background: #000000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background: #080a0e;
}

.carousel-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: var(--gold-primary);
  color: #0b0e14;
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.slide-counter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold-primary);
  transform: scale(1.3);
}

.media-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
  max-width: 360px;
}

.action-outline-btn {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  font-family: inherit;
}

.action-outline-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.modal-info-col {
  padding: 28px 34px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-hotel-header {
  margin-bottom: 16px;
}

.hotel-tag-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.modal-hotel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 6px;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.editorial-pills {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.editorial-item {
  font-size: 11px;
}

.editorial-item .label {
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.editorial-item .val {
  color: var(--text-main);
  font-weight: 600;
}

.status-selector-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.status-selector-row label {
  font-size: 12px;
  color: var(--text-muted);
}

.status-selector-row select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

/* Tabs de Navegação: Legenda Oficial vs IA */
.content-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.tab-nav-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: inherit;
  margin-bottom: -1px;
}

.tab-nav-btn:hover {
  color: var(--text-main);
}

.tab-nav-btn.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.tab-content-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Legenda Oficial */
.caption-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.caption-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.copy-btn {
  background: var(--gold-primary);
  border: none;
  color: #0b0e14;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: inherit;
}

.copy-btn:hover {
  background: var(--gold-hover);
}

.caption-body {
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #e4e8f0;
  white-space: pre-wrap;
  overflow-y: auto;
  max-height: 260px;
}

/* Customizador IA */
.ai-studio-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-studio-header {
  margin-bottom: 4px;
}

.ai-badge {
  display: inline-block;
  background: rgba(203, 162, 88, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-studio-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.ai-presets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-preset-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  font-family: inherit;
}

.ai-preset-btn:hover {
  border-color: var(--gold-primary);
  background: var(--bg-hover);
  color: var(--gold-light);
}

.ai-prompt-input-row {
  display: flex;
  gap: 10px;
}

.ai-prompt-input-row textarea {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 12px;
  resize: none;
  outline: none;
  font-family: inherit;
}

.ai-prompt-input-row textarea:focus {
  border-color: var(--gold-primary);
}

.btn-generate-ai {
  background: linear-gradient(135deg, var(--gold-primary), #a67b2d);
  border: none;
  color: #0b0e14;
  font-weight: 700;
  font-size: 12px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: inherit;
}

.btn-generate-ai:hover {
  background: linear-gradient(135deg, var(--gold-hover), #b88d3b);
  transform: translateY(-1px);
}

.ai-output-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ai-output-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.ai-actions-row {
  display: flex;
  gap: 6px;
}

.action-mini-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  font-family: inherit;
}

.action-mini-btn:hover {
  background: var(--bg-hover);
  border-color: var(--gold-primary);
}

.action-mini-btn.highlight {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.4);
  color: #2ecc71;
}

.action-mini-btn.highlight:hover {
  background: #2ecc71;
  color: #0b0e14;
}

.ai-output-body {
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #e4e8f0;
  white-space: pre-wrap;
  max-height: 200px;
  overflow-y: auto;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2ecc71;
  color: #0b0e14;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(46, 204, 113, 0.35);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsividade */
@media (max-width: 1200px) {
  .instagram-3x3-grid.grid-5x5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .modal-layout {
    grid-template-columns: 1fr;
    height: 90vh;
  }
  .modal-media-col {
    padding: 16px;
  }
  .carousel-viewport {
    max-width: 280px;
  }
  .modal-info-col {
    padding: 20px;
  }
  .instagram-3x3-grid.grid-5x5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .feed-tabs-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .instagram-3x3-grid.grid-5x5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
