/* ==========================================================
   VELVET ADMIN MODELS — Final Production CSS
   ========================================================== */

/* ===== Section Base ===== */
.adminmodels-section{
  color: var(--text, #f5f5f5);
  font-family: "Inter", sans-serif;
  animation: fadeIn .3s ease;
}

/* ===== Header ===== */
.adminmodels-header{
  position: sticky;
  top: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(212,175,55,.15);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.adminmodels-header .title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold, #d4af37);
  text-shadow: 0 0 10px rgba(212,175,55,.4);
  letter-spacing: .25px;
}
.adminmodels-header .title i{
  font-size: 1.2rem;
  opacity: .9;
}

.adminmodels-header .tools{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.adminmodels-header select,
.adminmodels-header input[type="search"]{
  height: 38px;
  padding: 0 14px;
  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;
}
.adminmodels-header select:hover,
.adminmodels-header input[type="search"]:hover{
  border-color: rgba(212,175,55,.25);
}
.adminmodels-header select:focus,
.adminmodels-header input[type="search"]:focus{
  border-color: rgba(212,175,55,.5);
  box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}
.adminmodels-header input[type="search"]{
  width: min(340px, 40vw);
}

.adminmodels-header .btn-gold{
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 500;
  border: 1px solid rgba(212,175,55,.35);
  background: transparent;
  color: var(--gold, #d4af37);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
}
.adminmodels-header .btn-gold:hover{
  background: linear-gradient(90deg, rgba(212,175,55,.12), rgba(212,175,55,.05));
  border-color: rgba(212,175,55,.5);
  transform: translateY(-1px);
}
.adminmodels-header .btn-gold:active{
  transform: translateY(1px);
}

/* ===== Grid ===== */
.adminmodels-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 10px 4px 40px 4px;
}

.adminmodels-card{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.adminmodels-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}

/* ===== Card Top ===== */
.adminmodels-top{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.adminmodels-thumb{
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold, #d4af37);
  box-shadow: 0 0 12px rgba(212,175,55,.25);
}
.adminmodels-info h3{
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #f5f5f5);
}
.adminmodels-info .meta{
  font-size: .9rem;
  color: #aaa;
}
.adminmodels-info .status{
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  font-size: .8rem;
  border-radius: 8px;
  font-weight: 500;
  text-transform: capitalize;
}
.status.active{
  background: rgba(0,255,128,.08);
  color: #64ff8f;
  border: 1px solid rgba(0,255,128,.3);
}
.status.suspended{
  background: rgba(255,215,0,.08);
  color: var(--gold, #d4af37);
  border: 1px solid rgba(212,175,55,.35);
}
.status.banned{
  background: rgba(255,0,0,.08);
  color: #ff6868;
  border: 1px solid rgba(255,0,0,.3);
}

/* ===== Plan Chip ===== */
.plan-chip{
  display: inline-block;
  padding: 3px 8px;
  margin-top: 6px;
  font-size: .8rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  text-transform: capitalize;
}
.plan-chip.free{ background: rgba(255,255,255,.08); }
.plan-chip.silver{ background: linear-gradient(90deg,#bbb,#999); }
.plan-chip.gold{ background: linear-gradient(90deg,#e0b24d,#d4af37); color: #222; }
.plan-chip.platinum{ background: linear-gradient(90deg,#d3d3d3,#a0a0a0); color: #222; }
.plan-chip.redDiamond{ background: linear-gradient(90deg,#ff5555,#cc0000); }

/* ===== Card Actions ===== */
.adminmodels-actions{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 14px 16px;
}
.adminmodels-actions button{
  border: none;
  background: transparent;
  color: var(--gold, #d4af37);
  cursor: pointer;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease, transform .1s ease;
}
.adminmodels-actions button:hover{
  transform: translateY(-1px);
}
.adminmodels-actions .suspend-btn{ color: #d4af37; }
.adminmodels-actions .ban-btn{ color: #ff6868; }
.adminmodels-actions .approve-btn{ color: #64ff8f; }

/* ===== Modal ===== */
.modal-overlay{
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-overlay.open{ display: flex; }

.modal-box{
  border-radius: 16px;
  width: min(550px, 92%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  animation: fadeIn .25s ease;
}
.modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color .2s ease;
}
.modal-close:hover{ color: var(--gold, #d4af37); }

.modal-profile{
  text-align: center;
  color: var(--text, #f5f5f5);
}
.modal-profile-avatar{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold, #d4af37);
  box-shadow: 0 0 12px rgba(212,175,55,.3);
  margin-bottom: 10px;
}
.modal-profile h3{
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.modal-profile p{
  font-size: .9rem;
  color: #ccc;
}
.modal-profile .plan-chip{
  margin-top: 10px;
  font-size: .85rem;
}
.modal-actions{
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
.modal-actions button{
  flex: 1;
  margin: 0 6px;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  transition: all .2s ease;
}
.modal-actions .approve-btn{
  background: rgba(0,255,128,.15);
  color: #64ff8f;
  border: 1px solid rgba(0,255,128,.3);
}
.modal-actions .approve-btn:hover{ background: rgba(0,255,128,.25); }
.modal-actions .suspend-btn{
  background: rgba(255,215,0,.12);
  color: var(--gold, #d4af37);
  border: 1px solid rgba(212,175,55,.35);
}
.modal-actions .suspend-btn:hover{ background: rgba(255,215,0,.22); }
.modal-actions .ban-btn{
  background: rgba(255,0,0,.12);
  color: #ff6868;
  border: 1px solid rgba(255,0,0,.3);
}
.modal-actions .ban-btn:hover{ background: rgba(255,0,0,.22); }

/* ===== Toast ===== */
.toast{
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(20,20,20,.95);
  color: var(--gold, #d4af37);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 1000;
}
.toast.show{
  opacity: 1;
  transform: translateY(0);
}

/* ===== Util ===== */
.no-results{
  text-align: center;
  color: #aaa;
  font-style: italic;
  margin-top: 40px;
}

@keyframes fadeIn{
  from{ opacity:0; transform: scale(.96);}
  to{ opacity:1; transform: scale(1);}
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .adminmodels-header{
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 10px;
    gap: 12px;
  }
  .adminmodels-header .title{ font-size: 1.15rem; }
  .adminmodels-header input[type="search"]{ width: 100%; }
  .adminmodels-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .adminmodels-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================
   UPDATED PLANS GRID — Velvet Premium Modern Layout
   (Mantém compatibilidade com HTML atual)
========================================================== */

.plans-upgrade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

/* ===== Base Card ===== */
.plan-card {
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.25);
  background: linear-gradient(180deg, #111, #181818);
  padding: 28px 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  text-align: center;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, box-shadow .35s ease, border .35s ease;
  position: relative;
}

/* ===== Hover / Focus ===== */
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(212,175,55,0.35);
  border-color: var(--gold);
}

/* ===== Highlight cards (2º e último) ===== */
.plan-card:nth-child(2),
.plan-card:last-child {
  background: linear-gradient(160deg, rgba(139, 113, 28, 0.616), rgba(0,0,0,0.85));
  border: 1.5px solid rgba(212,175,55,0.6);
  box-shadow: 0 0 24px rgba(212,175,55,0.25);
  position: relative;
}
.plan-card:nth-child(2)::after,
.plan-card:last-child::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  animation: velvetGlow 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes velvetGlow {
  0% { box-shadow: 0 0 10px rgba(212,175,55,0.35); opacity: .9; }
  100% { box-shadow: 0 0 26px rgba(212,175,55,0.75); opacity: 1; }
}

/* ===== Headings ===== */
.plan-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Pricing ===== */
.plan-pricebox {
  text-align: center;
  margin: 18px 0;
}
.plan-pricebox .price-line {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(212,175,55,0.6);
}
.plan-pricebox .price-compare {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-top: 6px;
}

/* ===== Features ===== */
.plan-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-light);
}
.plan-bullets li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.plan-bullets li::before {
  content: "•";
  color: var(--gold);
  font-weight: bold;
}

/* ===== Current Badge ===== */
.badge-current {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 40px;
  background: linear-gradient(90deg, #d4af37, #f0ca32);
  color: #000;
  box-shadow: 0 0 12px rgba(212,175,55,0.55);
}

/* ===== Buy Button ===== */
.plan-card button,
.plan-card .btn-buy {
  background: linear-gradient(90deg, #d4b86a, #b58b35);
  color: #111;
  border: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s ease;
}
.plan-card button:hover,
.plan-card .btn-buy:hover {
  background: linear-gradient(90deg, #e8d18a, #d4b86a);
  box-shadow: 0 0 18px rgba(212,175,55,0.5);
  transform: translateY(-2px);
}

/* ===== Plan Tag (Popular, etc.) ===== */
.plan-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--gold);
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(212,175,55,0.55);
  text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .plans-upgrade {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .plan-card {
    padding: 22px 18px;
  }
  .plan-card h3 {
    font-size: 1.2rem;
  }
  .plan-pricebox .price-line {
    font-size: 1.6rem;
  }
}

/* ===================== COMPACT VISUAL BOOST LAYOUT ===================== */

/* Preview principal */
.boost-preview-card {
  padding: 18px 12px 26px;
  gap: 16px;
  max-width: 300px;
}
.boost-preview-header h3 {
  font-size: 1.15rem;
}
.boost-preview-header p {
  font-size: 0.82rem;
}

/* Botões de efeitos */
.effects-selector,
.effects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px 10px;
  margin-top: 12px;
}
.effect-btn {
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 8px;
}
.effect-btn.active {
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

/* Botão de Preview */
.boost-actions {
  margin-top: 10px;
}
.boost-actions .btn-gold {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Modal Pricing */
.effects-modal {
  padding: 20px 22px;
  max-width: 520px;
  font-size: 0.9rem;
}
.effects-modal h3,
#vbModalTitle {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.effects-pricing-table th,
.effects-pricing-table td {
  padding: 8px;
  font-size: 0.85rem;
}

/* Modal Footer */
.effects-footer {
  margin-top: 14px;
}
.footer-total {
  padding: 4px 10px;
  font-size: 0.85rem;
}
.btn-gold {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Mobile ajustes */
@media (max-width: 768px) {
  .effects-modal {
    padding: 16px 14px;
    font-size: 0.85rem;
  }
  .boost-preview-card {
    padding: 14px 10px 20px;
    max-width: 280px;
  }
  .effect-btn {
    font-size: 0.78rem;
    padding: 5px 8px;
  }
}
