/* =========================================================
   FENIX MANAGEMENT THEME v1
   Centrale huisstijl voor organisator/beheerpagina's
   ========================================================= */

:root{
  --fenix-orange:#f97316;
  --fenix-orange-hover:#ea580c;
  --fenix-orange-soft:#fff7ed;
  --fenix-orange-border:#fed7aa;

  --fenix-navy:#162235;
  --fenix-text:#1f2937;
  --fenix-muted:#64748b;
  --fenix-line:#e5e7eb;
  --fenix-bg:#f7f8fa;
  --fenix-white:#ffffff;

  --fenix-radius:18px;
  --fenix-shadow:0 8px 28px rgba(15,23,42,.06);
}

/* Oranje overal gelijk */
.eyebrow,
.fenix-eyebrow{
  color:var(--fenix-orange)!important;
  font-weight:800!important;
  letter-spacing:.08em;
}

/* Paginatitels */
main h1,
.wrap h1,
.fenix-page-title{
  color:var(--fenix-navy)!important;
  font-size:clamp(30px,3vw,42px)!important;
  line-height:1.08!important;
  font-weight:850!important;
  letter-spacing:-.025em!important;
  margin-top:6px!important;
}

/* Sectietitels */
main h2,
.wrap h2{
  color:var(--fenix-navy);
}

/* Cards */
.card{
  background:var(--fenix-white);
  border:1px solid var(--fenix-line);
  border-radius:var(--fenix-radius)!important;
  box-shadow:var(--fenix-shadow);
}

/* Primaire knoppen */
.button,
.btn:not(.secondary),
button.primary,
a.primary{
  background:var(--fenix-orange)!important;
  border-color:var(--fenix-orange)!important;
  color:#fff!important;
}

.button:hover,
.btn:not(.secondary):hover,
button.primary:hover,
a.primary:hover{
  background:var(--fenix-orange-hover)!important;
  border-color:var(--fenix-orange-hover)!important;
}

/* Focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(249,115,22,.22)!important;
  outline-offset:2px;
}

/* Actieve navigatie */
.fenix-management-nav a.active,
.management-nav a.active,
.sidebar a.active{
  background:var(--fenix-orange-soft)!important;
  color:var(--fenix-orange)!important;
  border-color:var(--fenix-orange-border)!important;
}

/* =========================================================
   Hero / overzichtskader
   Zelfde visuele familie als "In één oogopslag"
   ========================================================= */

.fenix-management-hero{
  position:relative;
  overflow:hidden;
  margin:0 0 22px;
  padding:25px 28px;
  border:1px solid var(--fenix-orange-border);
  border-radius:20px;
  background:
    radial-gradient(circle at 94% 15%,
      rgba(249,115,22,.13),
      transparent 29%),
    linear-gradient(135deg,#fff 0%,#fffaf5 100%);
  box-shadow:0 10px 32px rgba(15,23,42,.055);
}

.fenix-management-hero:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:var(--fenix-orange);
}

.fenix-management-hero .eyebrow{
  margin-bottom:7px;
}

.fenix-management-hero h1{
  margin:0!important;
}

.fenix-management-hero p{
  margin:9px 0 0;
  max-width:800px;
  color:var(--fenix-muted);
  font-size:15px;
  line-height:1.6;
}

/* =========================================================
   Betaalproviders
   ========================================================= */

.fenix-provider-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:14px;
}

.fenix-provider-card{
  position:relative;
  min-height:128px;
  padding:18px;
  background:#fff;
  border:1px solid var(--fenix-line);
  border-radius:16px;
  transition:.18s ease;
}

.fenix-provider-card:hover{
  transform:translateY(-2px);
  border-color:var(--fenix-orange-border);
  box-shadow:0 10px 26px rgba(15,23,42,.08);
}

.fenix-provider-card.active,
.fenix-provider-card.selected{
  border:2px solid var(--fenix-orange)!important;
  background:var(--fenix-orange-soft);
}

.fenix-provider-logo{
  height:32px;
  max-width:125px;
  width:auto;
  object-fit:contain;
  object-position:left center;
  display:block;
  margin-bottom:13px;
}

.fenix-provider-name{
  color:var(--fenix-navy);
  font-weight:800;
  font-size:16px;
}

.fenix-provider-status{
  margin-top:5px;
  color:var(--fenix-muted);
  font-size:13px;
}

.fenix-provider-card.active .fenix-provider-status,
.fenix-provider-card.selected .fenix-provider-status{
  color:var(--fenix-orange);
  font-weight:700;
}

@media(max-width:700px){
  .fenix-management-hero{
    padding:21px 20px;
  }

  main h1,
  .wrap h1,
  .fenix-page-title{
    font-size:30px!important;
  }

  .fenix-provider-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:440px){
  .fenix-provider-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   FENIX PROVIDER SELECTOR
   ========================================================= */

.fenix-provider-overview-v6{
  border:1px solid var(--fenix-orange-border)!important;
  border-radius:20px!important;
  padding:26px!important;
  box-shadow:var(--fenix-shadow)!important;
}

.fenix-provider-overview-v6 > h2{
  color:var(--fenix-navy)!important;
  font-size:24px!important;
  font-weight:850!important;
}

.fenix-provider-grid-v6{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:22px!important;
}

.fenix-provider-grid-v6 .fenix-provider-choice-card{
  min-height:145px;
  padding:18px!important;
  border:1px solid var(--fenix-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  cursor:pointer;
  position:relative;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.fenix-provider-grid-v6 .fenix-provider-choice-card:hover{
  transform:translateY(-2px);
  border-color:var(--fenix-orange-border)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}

.fenix-provider-grid-v6 .fenix-provider-choice-card.selected{
  border:2px solid var(--fenix-orange)!important;
  background:var(--fenix-orange-soft)!important;
  box-shadow:0 8px 24px rgba(249,115,22,.12);
}

.fenix-provider-grid-v6 .fenix-provider-choice-card.selected:after{
  content:"✓";
  position:absolute;
  right:13px;
  top:12px;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:var(--fenix-orange);
  color:#fff;
  font-weight:900;
  font-size:14px;
}

.fenix-provider-grid-v6 strong{
  color:var(--fenix-navy)!important;
  font-size:15px;
  font-weight:850;
}

.fenix-provider-grid-v6 small{
  color:var(--fenix-muted)!important;
  font-size:12px;
  margin-top:5px!important;
}

/* Providermerken.
   Tekstlogo's zijn bewust lokaal: geen externe afhankelijkheid. */

.fenix-provider-brand{
  height:39px;
  display:flex;
  align-items:center;
  margin-bottom:13px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.04em;
}

.fenix-provider-brand-mollie{
  color:#000;
  font-size:25px;
  letter-spacing:-.07em;
}

.fenix-provider-brand-mollie::first-letter{
  color:#00a7f7;
}

.fenix-provider-brand-stripe{
  color:#635bff;
  font-size:27px;
}

.fenix-provider-brand-buckaroo{
  color:#172b4d;
  font-size:22px;
}

.fenix-provider-brand-adyen{
  color:#0abf53;
  font-size:26px;
}

.fenix-provider-brand-multisafepay{
  color:#1e3a5f;
  font-size:19px;
}

.fenix-provider-brand-paynl{
  color:#202938;
  font-size:27px;
}

/* Oude goud/oranje providerstijl neutraliseren */
.fenix-provider-grid-v6 .available{
  border-color:var(--fenix-line)!important;
}

.btn{
  border-radius:13px!important;
}

.btn:not(.secondary){
  background:var(--fenix-orange)!important;
  border-color:var(--fenix-orange)!important;
}

.notice{
  background:var(--fenix-orange-soft)!important;
}

/* Providerdropdown blijft functioneel maar wordt secundair */
#fenix-provider-choice-v6{
  border:1px solid #cbd3de;
  background:#fff;
}

#fenix-provider-choice-v6:focus{
  border-color:var(--fenix-orange)!important;
}

/* Accountcards */
.fenix-mollie-account-v6,
#stripeBox,
#fenix-multisafepay-v7,
#fenix-buckaroo-v8,
#fenix-adyen-v10,
#fenix-paynl-v10{
  border-radius:20px!important;
}

/* Mobiel */
@media(max-width:760px){
  .fenix-provider-grid-v6{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:460px){
  .fenix-provider-grid-v6{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   FENIX PROVIDER CARDS FINAL
   Kaarten zijn primaire providerkeuze
   ========================================================= */

/* Technische select blijft bestaan maar niet zichtbaar */
#fenix-provider-choice-v6{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Bijbehorend label niet meer nodig */
label[for="fenix-provider-choice-v6"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
}

/* Keuzegebied */
.fenix-provider-overview-v6 > .row{
  margin-top:18px!important;
  justify-content:flex-end;
}

/* Opslaanknop */
#fenix-provider-overview-v6 .row .btn{
  min-width:150px;
  min-height:46px;
  border-radius:13px!important;
  background:#f97316!important;
  border-color:#f97316!important;
  box-shadow:0 5px 14px rgba(249,115,22,.18);
}

#fenix-provider-overview-v6 .row .btn:hover{
  background:#ea580c!important;
  border-color:#ea580c!important;
}

/* Status boven kaarten */
#fenix-provider-selection-status-v9{
  margin:15px 0 4px!important;
  padding:10px 13px;
  border-radius:10px;
  background:#f8fafc;
  color:#344054!important;
}

/* Kaarten */
.fenix-provider-grid-v6{
  margin-top:14px!important;
}

.fenix-provider-choice-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.fenix-provider-choice-card strong{
  margin-top:2px;
}

.fenix-provider-choice-card.selected{
  transform:translateY(-1px);
}

/* Ruimte voor officiële logo's */
.fenix-provider-brand{
  width:100%;
  height:42px!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  justify-content:flex-start;
}

.fenix-provider-brand img{
  display:block;
  max-width:132px;
  max-height:34px;
  width:auto;
  height:auto;
  object-fit:contain;
}

/* accountpaneel iets sterker scheiden */
.fenix-provider-overview-v6 + .card,
.fenix-provider-overview-v6 ~ .card{
  border-color:#e4e8ee!important;
}

/* mobiel */
@media(max-width:600px){
  .fenix-provider-overview-v6 > .row{
    justify-content:stretch;
  }

  #fenix-provider-overview-v6 .row .btn{
    width:100%;
  }
}

/* =========================================================
   PROVIDER FINAL POLISH
   ========================================================= */

/* Dubbele providernaam onder logo verwijderen */
.fenix-provider-choice-card .fenix-provider-name-label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Kaarten compacter */
.fenix-provider-grid-v6 .fenix-provider-choice-card{
  min-height:118px!important;
  padding:17px!important;
  justify-content:center!important;
}

/* Alle logozones gelijk */
.fenix-provider-brand{
  height:40px!important;
  display:flex!important;
  align-items:center!important;
  margin-bottom:8px!important;
}

.fenix-provider-brand img{
  width:auto!important;
  height:auto!important;
  max-height:30px!important;
  max-width:145px!important;
}

/* Optische correcties per merk */
.fenix-provider-brand-stripe img{
  max-height:31px!important;
  max-width:105px!important;
}

.fenix-provider-brand-buckaroo img{
  max-height:25px!important;
  max-width:132px!important;
}

.fenix-provider-brand-adyen img{
  max-height:29px!important;
  max-width:105px!important;
}

.fenix-provider-brand-multisafepay img{
  max-height:28px!important;
  max-width:145px!important;
}

.fenix-provider-brand-paynl img{
  max-height:34px!important;
  max-width:92px!important;
}

/* Mollie tijdelijk als lokaal woordmerk */
.fenix-provider-brand-mollie{
  height:40px!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:25px!important;
  font-weight:900!important;
  letter-spacing:-1.7px!important;
  color:#101010!important;
}

/* Status is nu de enige tekst onder het merk */
.fenix-provider-choice-card small{
  margin-top:0!important;
  line-height:1.35;
}

/* Selectie iets verfijnder */
.fenix-provider-grid-v6 .fenix-provider-choice-card.selected{
  background:#fff8f1!important;
  border-color:#f97316!important;
  box-shadow:0 7px 20px rgba(249,115,22,.09)!important;
}

.fenix-provider-grid-v6 .fenix-provider-choice-card.selected:after{
  width:24px!important;
  height:24px!important;
  top:11px!important;
  right:11px!important;
}
