/* ==========================================================
   FordCanTool - Asgaros Forum skin override (Theme)
   Objetivo:
   - Integrar el foro (Asgaros) con el estilo "cards/glass" FCT
   - Sin depender de IDs (válido para idiomas/duplicados)
   - Sin tocar archivos del plugin
   Nota:
   - El MU-plugin también aplica un “soft skin”.
     Este archivo define el look final y gana por especificidad.
   ========================================================== */

/* Scope robusto: Asgaros añade clases en <body> */
body.asgaros-forum #af-wrapper{
  max-width: 1100px;
  margin: 38px auto;
  padding: 0 16px;

  /* Base FCT */
  color: rgba(16,35,63,.85);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;

  /* Evitar fondo gris del soft-skin si queremos “web limpia” */
  background: transparent;
  padding-top: 0;
}

/* Contenedores principales (tarjetas) */
body.asgaros-forum #af-wrapper .content-container,
body.asgaros-forum #af-wrapper .content-element,
body.asgaros-forum #af-wrapper .post-wrapper,
body.asgaros-forum #af-wrapper #profile-content,
body.asgaros-forum #af-wrapper #statistics,
body.asgaros-forum #af-wrapper .report-element,
body.asgaros-forum #af-wrapper .notices-panel{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,35,63,.10);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15,35,65,.10);
}

/* Espaciado más “FCT” */
body.asgaros-forum #af-wrapper .content-container{
  padding: 18px 16px;
}

/* Listados alternos (suave) */
body.asgaros-forum #af-wrapper .content-element:nth-child(even){
  background: rgba(255,255,255,.78);
}

/* Links */
body.asgaros-forum #af-wrapper a:not(.button){
  color: #0b4bb3;
  text-decoration: none;
}
body.asgaros-forum #af-wrapper a:not(.button):hover{
  text-decoration: underline;
}

/* Breadcrumbs / títulos */
body.asgaros-forum #af-wrapper .main-title{
  font-weight: 800;
  letter-spacing: .2px;
}
body.asgaros-forum #af-wrapper #forum-breadcrumbs{
  opacity: .85;
}

/* Botones (ganar a MU-plugin y plugin) */
body.asgaros-forum #af-wrapper .button,
body.asgaros-forum #af-wrapper a.button,
body.asgaros-forum #af-wrapper .af-button,
body.asgaros-forum #af-wrapper button,
body.asgaros-forum #af-wrapper input[type="submit"]{
  border-radius: 12px !important;
  border: 1px solid rgba(16,35,63,.12) !important;
  box-shadow: 0 10px 22px rgba(15,35,65,.10) !important;

  /* Mantener coherencia con tu azul */
  background: linear-gradient(180deg, #1e88ff, #005edc) !important;
  color: #fff !important;
}
body.asgaros-forum #af-wrapper .button:hover,
body.asgaros-forum #af-wrapper a.button:hover,
body.asgaros-forum #af-wrapper .af-button:hover,
body.asgaros-forum #af-wrapper button:hover,
body.asgaros-forum #af-wrapper input[type="submit"]:hover{
  transform: translateY(-1px);
  filter: brightness(.97);
}

/* Inputs */
body.asgaros-forum #af-wrapper input,
body.asgaros-forum #af-wrapper select,
body.asgaros-forum #af-wrapper textarea{
  border-radius: 12px !important;
  border: 1px solid rgba(16,35,63,.16) !important;
  background: rgba(255,255,255,.92) !important;
}

/* Mobile: evita “apretado” */
@media (max-width: 720px){
  body.asgaros-forum #af-wrapper{
    margin: 24px auto;
  }
  body.asgaros-forum #af-wrapper .content-container{
    padding: 14px 12px;
  }
}
