/* =========================================================
   VELVET ADMIN — REVIEWS & REPORTS (Final Gold Edition)
   Consistent with Velvet Admin aesthetic
========================================================= */

:root {
  --gold: #d4af37;
  --gold-dark: #b38e2e;
  --surface: #121212;
  --card: #1a1a1a;
  --border: #2b2b2b;
  --text: #f5f5f5;
  --muted: #aaa;
}

/* ---------- Section Layout ---------- */
.adminreviews-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 32px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

/* ---------- Header ---------- */
.adminreviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.adminreviews-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.adminreviews-header i {
  color: var(--gold);
}/* ========= Admin Reviews — Page Header ========= */
.adminreviews-header{
  position: sticky;           /* gruda no topo da área de conteúdo */
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin: 0 0 16px 0;
  border-bottom: 1px solid rgba(212,175,55,.18); /* dourado sutil */
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* título com vibe Velvet */
.adminreviews-header .title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold, #d4af37);
  text-shadow: 0 0 10px rgba(212,175,55,.35);
  letter-spacing: .2px;
}
.adminreviews-header .title i{ opacity:.9; }

/* área de ferramentas (filtros / busca / ações) */
.adminreviews-header .tools{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* inputs/chips com mesma linguagem visual do painel */
.adminreviews-header select,
.adminreviews-header input[type="search"]{
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  
  color: var(--text, #f5f5f5);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.adminreviews-header input[type="search"]{
  width: min(320px, 38vw);
}
.adminreviews-header select:focus,
.adminreviews-header input[type="search"]:focus{
  border-color: rgba(212,175,55,.45);
  box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}

/* botões “fantasma” e chips */
.adminreviews-header .btn-ghost,
.adminreviews-header .chip{
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,.28);
  background: transparent;
  color: var(--gold, #d4af37);
  cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.adminreviews-header .btn-ghost:hover,
.adminreviews-header .chip:hover{
  background: linear-gradient(90deg, rgba(212,175,55,.12), rgba(212,175,55,.06));
  border-color: rgba(212,175,55,.45);
}
.adminreviews-header .btn-ghost:active{ transform: translateY(1px); }

/* responsivo */
@media (max-width: 900px){
  .adminreviews-header{
    padding: 12px 14px;
    border-radius: 10px;
    gap: 12px;
  }
  .adminreviews-header .title{ font-size: 1.1rem; }
  .adminreviews-header input[type="search"]{ width: min(220px, 52vw); }
}
@media (max-width: 640px){
  .adminreviews-header{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .adminreviews-header .tools{
    justify-content: flex-start;
  }
  .adminreviews-header input[type="search"]{ width: 100%; }
}


/* ---------- Tabs ---------- */
.adminreviews-tabs {
  display: flex;
  gap: 10px;
}

.adminreviews-tabs .tab-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
}

.adminreviews-tabs .tab-btn:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.adminreviews-tabs .tab-btn.active {
  background: linear-gradient(135deg, #d4af37, #b38e2e);
  color: #000;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

/* ---------- Panels ---------- */
.adminreviews-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.adminreviews-panel.active {
  display: block;
}

/* ---------- Grids ---------- */
.adminreviews-grid,
.adminreports-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Cards ---------- */
.adminreviews-card,
.adminreports-card {
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.adminreviews-card:hover,
.adminreports-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.25);
  transform: translateY(-3px);
}

/* ---------- Info ---------- */
.adminreviews-info h4,
.adminreports-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: "Playfair Display", serif;
}

.adminreviews-info p,
.adminreports-info p {
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.adminreviews-info small,
.adminreports-info small {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

/* ---------- Status Badges ---------- */
.status {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status.pending,
.status.open {
  background: rgba(255, 210, 0, 0.1);
  color: #ffd83d;
  border: 1px solid rgba(255, 210, 0, 0.3);
}

.status.approved,
.status.resolved {
  background: rgba(0, 200, 70, 0.1);
  color: #00ff83;
  border: 1px solid rgba(0, 255, 136, 0.25);
}

.status.rejected,
.status.archived {
  background: rgba(255, 0, 0, 0.1);
  color: #ff4a5e;
  border: 1px solid rgba(255, 74, 94, 0.25);
}

/* ---------- Actions ---------- */
.adminreviews-actions,
.adminreports-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adminreviews-actions button,
.adminreports-actions button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.adminreviews-actions button:hover,
.adminreports-actions button:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 420px;
    height: 320px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-profile h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.modal-profile p {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-actions button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-actions button:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ---------- No Results ---------- */
.no-results {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-top: 20px;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .adminreviews-header {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .adminreviews-tabs {
    justify-content: center;
  }

  .adminreviews-card,
  .adminreports-card {
    flex-direction: column;
    gap: 12px;
  }

  .adminreviews-actions,
  .adminreports-actions {
    justify-content: flex-end;
  }

  .modal-box {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
  }
}

