/* ===============================
   FITACCESORIOS DASHBOARD UI
   VERSION ESTABLE + FIX ASTRA
=============================== */

/* ---------- RESET LAYOUT ASTRA (CLAVE) ---------- */

/* Quitar espacio fantasma del header */
.main-header-bar {
    margin-bottom: 0 !important;
  }
  
  /* Quitar padding superior que Astra mete al contenido */
  .site-content,
  .site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: block;
  }
  
  /* Evitar contenedores forzados de Astra */
  .ast-container,
  .ast-container-fluid {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* ---------- DASHBOARD WRAPPER ---------- */
  
  .fa-dashboard{
    max-width:1200px;
    margin:20px auto 80px auto; /* ← AQUÍ SE CONTROLA LA ALTURA REAL */
    padding:32px 20px;
    box-sizing:border-box;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  }
  
  /* ---------- HEADER ---------- */
  
  .fa-dash-header{
    background:linear-gradient(135deg,#0D0D0D,#2A2A2A);
    border-radius:18px;
    padding:28px 32px;
    margin-bottom:32px;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
  }
  
  .fa-dash-header h1{
    margin:0 0 6px 0;
    font-size:26px;
    font-weight:700;
    color:#FFFFFF;
  }
  
  .fa-dash-header .fa-email{
    font-size:13px;
    color:#D1D5DB;
  }
  
  .fa-dash-header .fa-objetivo{
    margin-top:10px;
    font-size:14px;
    color:#FF6B00;
    font-weight:600;
  }
  
  /* ---------- CARDS ---------- */
  
  .fa-dash-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
    margin-bottom:34px;
  }
  
  .fa-dash-card{
    background:#FFFFFF;
    border-radius:16px;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
  }
  
  .fa-dash-card span{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#6b6b6b;
  }
  
  .fa-dash-card strong{
    display:block;
    margin-top:6px;
    font-size:18px;
    font-weight:700;
    color:#0D0D0D;
  }
  
  /* ---------- SECCIONES ---------- */
  
  .fa-dash-section{
    background:#0D0D0D;
    border-radius:20px;
    padding:26px 28px;
    margin-bottom:26px;
    box-shadow:0 10px 26px rgba(0,0,0,.4);
  }
  
  .fa-dash-section h3{
    margin:0 0 14px 0;
    font-size:18px;
    font-weight:700;
    color:#FFFFFF;
  }
  
  .fa-dash-section p{
    margin:0 0 10px 0;
    font-size:14px;
    color:#D6D6D6;
  }
  
  /* ---------- BOTONES ---------- */
  
  .fa-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:18px;
  }
  
  .fa-btn{
    padding:12px 24px;
    border-radius:10px;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    display:inline-block;
  }
  
  .fa-btn-primary{
    background:#FF6B00;
    color:#FFFFFF;
  }
  
  .fa-btn-primary:hover{
    background:#e55f00;
  }
  
  .fa-btn-secondary{
    background:#9E1B1B;
    color:#FFFFFF;
  }
  
  .fa-btn-secondary:hover{
    background:#861616;
  }
  
  /* ---------- AUTH MESSAGE ---------- */
  
  .fa-auth-msg{
    background:#9E1B1B;
    color:#fff;
    padding:16px 20px;
    border-radius:10px;
    font-weight:600;
  }
  
  /* ---------- RESPONSIVE ---------- */
  
  @media (max-width:768px){
    .fa-dashboard{
      padding:20px 16px;
      margin-top:16px;
    }
  
    .fa-dash-header{
      padding:22px 20px;
    }
  
    .fa-dash-header h1{
      font-size:22px;
    }
  }
  

  /* ===============================
   BADGE PRÓXIMO PAGO – FIX HEADER OSCURO
=============================== */
.fa-dash-header .fa-proximo-pago{
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  color: #ffffff !important;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.25);

  font-family: 'Poppins', system-ui, sans-serif;
}

/* Texto */
.fa-dash-header .fa-proximo-pago span{
  font-size: 13px;
  font-weight: 600;
  color: #E5E7EB !important;
  opacity: 1;
}

/* Fecha */
.fa-dash-header .fa-proximo-pago strong{
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
}

/* Ícono */
.fa-dash-header .fa-proximo-pago::before{
  content: "📅";
  font-size: 14px;
  line-height: 1;
}
