/* FitDoorDit accountpagina's */
.auth-hero{padding-bottom:42px}.auth-heading{max-width:760px}.auth-shell{max-width:620px;margin:auto}.auth-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:34px}.auth-card form{margin:0}.field-help{display:block;color:var(--muted);margin-top:7px;line-height:1.45}.auth-row{display:flex;justify-content:flex-end;margin:-5px 0 18px}.auth-link,.auth-switch a{color:var(--green-dark);font-weight:800;text-decoration:none}.auth-link:hover,.auth-switch a:hover{text-decoration:underline}.auth-submit{width:100%;margin-top:18px}.auth-switch{text-align:center;color:var(--muted);margin:24px 0 0}.auth-message{display:none;margin:18px 0 0;padding:13px 15px;border-radius:12px;font-weight:700;font-size:.92rem}.auth-message.show{display:block}.auth-message.error{background:#fff1f1;border:1px solid #efc5c5;color:#8b2525}.auth-message.success{background:var(--mint);border:1px solid #c8ead7;color:var(--green-dark)}.auth-message.info{background:var(--blue-soft);border:1px solid #cfe2ef;color:var(--navy)}.auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.auth-loading{text-align:center;color:var(--muted);padding:12px 0}.cf-turnstile{margin-top:8px;min-height:65px}#profileEmail:disabled{background:#f5f8fa;color:var(--muted)}@media(max-width:620px){.auth-card{padding:24px;border-radius:22px}.auth-actions .btn{width:100%}}

/* Wachtwoord tonen/verbergen */
.password-field{
  position:relative;
  width:100%;
}
.password-field input{
  width:100%;
  padding-right:52px;
}
.password-toggle{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  color:#111;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
}
.password-toggle:hover{
  background:var(--blue-soft);
  color:var(--navy);
}
.password-toggle:focus-visible{
  outline:2px solid var(--green);
  outline-offset:2px;
}
.password-toggle-icon{
  width:24px;
  height:24px;
  display:block;
  pointer-events:none;
}

/* Interactieve wachtwoordeisen */
.password-requirements{
  margin-top:12px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#f8fbfd;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.45;
}
.password-requirements strong{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-size:.9rem;
}
.password-requirements ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:6px;
}
.password-requirements li{
  display:flex;
  align-items:center;
  gap:8px;
  transition:color .15s ease;
}
.requirement-icon{
  width:19px;
  height:19px;
  flex:0 0 19px;
  border:1.5px solid #b8c7d3;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:transparent;
  font-size:12px;
  font-weight:900;
  transition:.15s ease;
}
.password-requirements li.valid{
  color:var(--green-dark);
}
.password-requirements li.valid .requirement-icon{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}
.password-requirements li.invalid{
  color:#8b2525;
}
.password-requirements li.invalid .requirement-icon{
  border-color:#e2a8a8;
}
.password-requirements.complete{
  border-color:#bfe5d0;
  background:var(--mint);
}


/* Account verwijderen / danger zone */
.danger-zone{
  margin-top:28px;
  padding:26px;
  border:1px solid #efc5c5;
  border-radius:var(--radius-lg);
  background:#fffafa;
}
.danger-zone h2{margin:4px 0 8px;color:#7f1d1d}
.danger-zone p{margin:0 0 18px;color:var(--muted);line-height:1.6}
.danger-eyebrow{color:#9b2c2c}
.danger-btn{
  background:#a52727;
  color:#fff;
  border:1px solid #a52727;
}
.danger-btn:hover{background:#861f1f;border-color:#861f1f}
.danger-btn:disabled{opacity:.45;cursor:not-allowed}
.delete-dialog[hidden]{display:none}
.delete-dialog{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px}
.delete-dialog-backdrop{position:absolute;inset:0;background:rgba(4,25,42,.58)}
.delete-dialog-panel{
  position:relative;
  width:min(100%,520px);
  background:#fff;
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow:0 28px 90px rgba(4,25,42,.26);
  padding:30px;
  z-index:1;
}
.delete-dialog-panel h2{margin:4px 0 10px;color:#7f1d1d}
.delete-dialog-panel p{color:var(--muted);line-height:1.6}
.delete-dialog-panel label{display:block;margin:20px 0 8px;font-weight:700;color:var(--navy)}
.delete-dialog-panel input{width:100%}
.delete-dialog-close{
  position:absolute;right:16px;top:12px;border:0;background:transparent;
  font-size:28px;line-height:1;cursor:pointer;color:var(--muted)
}
.delete-dialog-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}
body.delete-dialog-open{overflow:hidden}
@media(max-width:620px){
  .danger-zone{padding:22px}
  .delete-dialog-panel{padding:24px}
  .delete-dialog-actions .btn{width:100%}
}

/* FitDoorDit privacy/account polish */
.auth-message-title{
  display:block;
  margin-bottom:5px;
  color:inherit;
}
.auth-message-account-line{
  display:block;
  margin-top:6px;
}
.auth-message-link{
  color:var(--green-dark);
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:2px;
}
.auth-message-link:hover{
  text-decoration-thickness:2px;
}

/* Scheid Privacy & account duidelijk van de profielknoppen erboven */
.danger-zone{
  margin-top:36px;
  padding:24px 0 0;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:transparent;
}
.danger-zone-copy{
  margin:0;
}
.danger-zone .danger-eyebrow{
  margin:0 0 12px;
  color:var(--green);
}

/* Zelfde schaal als E-mailadres, Naam en Jouw doel */
.danger-zone h2{
  margin:0 0 12px;
  color:var(--navy);
  font-size:1rem;
  line-height:1.4;
  font-weight:800;
  letter-spacing:0;
}
.danger-zone p{
  margin:0 0 18px;
  color:var(--text);
  line-height:1.6;
}

/* Houd de bestaande rustige knopstijl op de profielpagina */
.danger-zone > .danger-btn{
  background:#f1f1f1;
  color:#111;
  border-color:transparent;
}
.danger-zone > .danger-btn:hover{
  background:#e7e7e7;
  border-color:transparent;
}

/* De definitieve actie in het dialoogvenster mag wel destructief ogen */
.delete-dialog .danger-btn{
  background:#a52727;
  color:#fff;
  border-color:#a52727;
}
.delete-dialog .danger-btn:hover{
  background:#861f1f;
  border-color:#861f1f;
}



/* Profielpagina v2 */
body[data-auth-page="profile"] .auth-shell{max-width:980px}
body[data-auth-page="profile"] .auth-card{
  padding:0;background:transparent;border:0;box-shadow:none;
}
#profileContent[hidden]{display:none}

.profile-section{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-sm);
  padding:30px;
}
.profile-section-head{margin-bottom:26px;max-width:680px}
.profile-section-head h2,.profile-app-card h2{
  margin:0 0 8px;color:var(--navy);letter-spacing:-.035em;line-height:1.15;
}
.profile-section-head p{margin:0;color:var(--muted)}
.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.profile-fields .field{margin-bottom:0}
.profile-section .auth-actions{margin-top:24px}

.profile-app-card{
  margin-top:22px;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:32px;
  align-items:center;
  padding:34px;
  border:1px solid #c9ead9;
  border-radius:30px;
  background:linear-gradient(145deg,#effaf4 0%,#f9fcff 65%,#eef6fc 100%);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.profile-app-copy>p:not(.eyebrow){color:var(--muted);max-width:620px;margin:0 0 20px}
.profile-app-features{
  display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:22px 0 24px;
}
.profile-app-features span{font-size:.92rem;font-weight:750;color:var(--navy)}
.app-coming-btn{background:var(--navy);color:#fff;opacity:1!important;cursor:default!important}
.app-coming-btn:hover{transform:none}

.profile-app-visual{display:grid;place-items:center;min-height:300px}
.app-phone{
  width:205px;min-height:355px;border:7px solid var(--navy);border-radius:34px;
  background:#fff;padding:19px 14px;box-shadow:0 22px 50px rgba(6,43,75,.18);
  transform:rotate(3deg);
}
.app-phone-top{width:62px;height:7px;border-radius:999px;background:#dce7ef;margin:0 auto 20px}
.app-mini-title{font-weight:950;color:var(--navy);letter-spacing:-.04em;margin-bottom:16px}
.app-mini-card{
  padding:14px;border-radius:16px;background:var(--mint);border:1px solid #cbead9;margin-bottom:12px;
}
.app-mini-card small,.app-mini-card strong,.app-mini-card span{display:block}
.app-mini-card small{color:var(--muted);font-size:.7rem}
.app-mini-card strong{color:var(--navy);font-size:1.2rem}
.app-mini-card span{color:var(--green-dark);font-size:.76rem;font-weight:800}
.app-mini-row{
  display:flex;justify-content:space-between;gap:10px;font-size:.74rem;padding:10px 2px;border-bottom:1px solid var(--line);
}
.app-mini-row span{color:var(--muted)}.app-mini-row b{color:var(--navy)}
.app-mini-progress{height:8px;border-radius:999px;background:#edf2f5;margin-top:20px;overflow:hidden}
.app-mini-progress i{display:block;width:68%;height:100%;background:var(--green);border-radius:inherit}

body[data-auth-page="profile"] .danger-zone{
  margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow-sm);
}
body[data-auth-page="profile"] .danger-zone .danger-eyebrow{color:var(--green);margin-bottom:10px}
body[data-auth-page="profile"] .danger-zone h2{font-size:1.25rem;margin-bottom:8px}
body[data-auth-page="profile"] .danger-zone p{color:var(--muted);max-width:720px}

@media(max-width:760px){
  .profile-fields,.profile-app-card,.profile-app-features{grid-template-columns:1fr}
  .profile-app-visual{min-height:auto;padding-top:8px}
  .app-phone{transform:none}
}
@media(max-width:620px){
  .profile-section,.profile-app-card,body[data-auth-page="profile"] .danger-zone{
    padding:22px;border-radius:22px;
  }
  .profile-app-visual{display:none}
}


/* Profielpagina: kleinere ruimte onder 'Mijn profiel' */
body[data-auth-page="profile"] .auth-hero{
  padding-bottom:24px;
}
body[data-auth-page="profile"] .auth-hero + .section{
  padding-top:30px;
}
@media(max-width:620px){
  body[data-auth-page="profile"] .auth-hero{
    padding-bottom:18px;
  }
  body[data-auth-page="profile"] .auth-hero + .section{
    padding-top:24px;
  }
}


/* Authpagina's: compactere ruimte tussen paginakop en formulier */
body[data-auth-page="login"] .auth-hero,
body[data-auth-page="register"] .auth-hero,
body[data-password-page="forgot"] .auth-hero{
  padding-bottom:24px;
}
body[data-auth-page="login"] .auth-hero + .section,
body[data-auth-page="register"] .auth-hero + .section,
body[data-password-page="forgot"] .auth-hero + .section{
  padding-top:30px;
}
@media(max-width:620px){
  body[data-auth-page="login"] .auth-hero,
  body[data-auth-page="register"] .auth-hero,
  body[data-password-page="forgot"] .auth-hero{
    padding-bottom:18px;
  }
  body[data-auth-page="login"] .auth-hero + .section,
  body[data-auth-page="register"] .auth-hero + .section,
  body[data-password-page="forgot"] .auth-hero + .section{
    padding-top:24px;
  }
}
