/* DrEasy Patientenportal: solely My Account component styles */
.de-portal{--de-deep:#354b33;--de-muted:#6d7969;--de-line:#e2e9de;--de-soft:#f4f7f1;--de-sage:#9cac90;color:var(--de-deep);font-family:inherit;max-width:100%;margin:28px 0 42px}.de-portal *{box-sizing:border-box}.de-portal a{text-decoration:none}.de-portal-head{padding:22px 0 26px}.de-kicker{display:block;color:#809478;font-size:10px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}.de-portal-head h2{font-size:clamp(32px,3.3vw,46px);letter-spacing:-1.3px;line-height:1.1;color:var(--de-deep);font-weight:760;margin:12px 0 12px}.de-portal-head p{color:var(--de-muted);line-height:1.7;font-size:15px;max-width:610px;margin:0}.de-portal-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:2px 0 25px}.de-portal-tabs a{display:inline-flex;padding:11px 16px;align-items:center;border:1px solid var(--de-line);border-radius:50px;color:var(--de-deep);font-size:13px;font-weight:700;background:white;transition:.18s ease}.de-portal-tabs a:hover{border-color:var(--de-sage)}.de-portal-tabs a.active{background:var(--de-deep);color:#fff;border-color:var(--de-deep)}.de-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 15px}.de-stat{border:1px solid var(--de-line);border-radius:19px;padding:22px;background:#fff;min-width:0}.de-stat span{display:block;font-size:12px;color:var(--de-muted);margin-bottom:10px}.de-stat strong{display:block;font-size:clamp(21px,2.2vw,29px);line-height:1.1;letter-spacing:-.6px;color:var(--de-deep);font-weight:780}.de-chart-panel,.de-input-panel,.de-history-panel{border:1px solid var(--de-line);background:#fff;border-radius:21px;padding:24px;min-width:0}.de-chart-panel{margin-bottom:14px}.de-section-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.de-section-top h3,.de-input-panel h3,.de-treatments-head h3{margin:0;font-weight:740;font-size:20px;letter-spacing:-.4px;color:var(--de-deep)}.de-section-top>span{font-size:12px;color:#879585}.de-chart-scroll{width:100%;overflow-x:auto}.de-weight-svg{display:block;width:100%;min-width:320px;height:auto}.de-empty-graph{background:linear-gradient(160deg,#f8faf6,#f0f5ec);border-radius:16px;padding:35px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:215px}.de-empty-graph-icon{font-size:47px;color:var(--de-sage);line-height:1}.de-empty-graph strong{font-size:16px;margin-top:8px;font-weight:720}.de-empty-graph p{font-size:13px;color:var(--de-muted);line-height:1.65;margin:8px auto 0;max-width:390px}.de-entry-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:14px}.de-input-panel h3{margin:9px 0 9px}.de-input-panel>p{color:var(--de-muted);font-size:12.5px;line-height:1.6;margin:0 0 18px}.de-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.de-inputs label{display:block;color:var(--de-deep);font-size:12px;font-weight:700}.de-inputs input{display:block;margin-top:7px;width:100%;background:#f9fbf8;border:1px solid #d9e3d6;border-radius:10px;padding:11px 12px;box-shadow:none;font:inherit;font-size:14px;color:#354b33}.de-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:var(--de-deep)!important;border:1px solid var(--de-deep)!important;color:#fff!important;border-radius:999px!important;padding:13px 20px!important;font-size:13px!important;font-weight:800!important;cursor:pointer;margin:18px 0 0}.de-primary:hover{background:#526d50!important}.de-entry-list{max-height:260px;overflow-y:auto}.de-entry-row{border-bottom:1px solid var(--de-line);display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:13px;align-items:center;padding:12px 0;font-size:13px}.de-entry-row:last-child{border-bottom:0}.de-entry-row>span{color:var(--de-muted)}.de-entry-row strong{font-size:14px}.de-entry-row form{margin:0}.de-remove{background:transparent!important;border:0!important;padding:4px 0!important;color:#a35f5c!important;text-decoration:underline;font-size:12px;cursor:pointer}.de-empty-list{font-size:13px;color:var(--de-muted)}.de-privacy-note{margin:19px 0 0;color:#778574;font-size:11.5px;line-height:1.7}.de-notice{background:#f0f6ee;border:1px solid #cbdcc5;border-radius:12px;padding:12px 15px;color:#354b33;font-size:13px;margin:0 0 16px}.de-treatments-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:15px 0 19px}.de-treatments-head h3{margin-top:8px}.de-count{font-size:11px;color:var(--de-muted);padding:8px 12px;background:var(--de-soft);border-radius:999px;white-space:nowrap}.de-therapy-list{display:grid;gap:12px}.de-therapy-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:center;background:#fff;padding:23px;border:1px solid var(--de-line);border-radius:19px}.de-therapy-ic{height:45px;width:45px;display:grid;place-items:center;border-radius:14px;background:var(--de-soft);font-size:23px;color:#6f986a}.de-therapy-date{font-size:12px;color:#7e8a79}.de-therapy-main h3{margin:5px 0 9px;color:var(--de-deep);font-size:19px;line-height:1.25;font-weight:760}.de-therapy-meta{display:flex;flex-wrap:wrap;gap:8px 13px;font-size:12px;color:var(--de-muted)}.de-therapy-meta strong{color:var(--de-deep)}.de-therapy-status{background:#edf5ea;border-radius:999px;padding:3px 9px;color:#446b40;font-size:11px}.de-therapy-link{font-size:12px;color:var(--de-deep)!important;font-weight:800;white-space:nowrap}.de-therapy-link span{margin-left:6px}.de-treatment-empty{min-height:205px}.de-dashboard-teaser{background:var(--de-soft);border:1px solid var(--de-line);border-radius:20px;padding:25px}.de-dashboard-teaser h3{font-size:23px;margin:0 0 7px;color:var(--de-deep)}.de-dashboard-teaser p{font-size:13px;line-height:1.6;color:var(--de-muted);margin:0 0 17px}.de-dashboard-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.de-dashboard-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;background:white;border:1px solid var(--de-line);border-radius:12px;color:var(--de-deep);font-weight:750;font-size:13px}.de-dashboard-links a span{font-size:20px}
@media (max-width:900px){.de-entry-layout{grid-template-columns:1fr}.de-therapy-card{grid-template-columns:43px minmax(0,1fr);gap:12px}.de-therapy-link{grid-column:2;justify-self:start}.de-chart-panel,.de-input-panel,.de-history-panel{padding:19px}}
@media (max-width:600px){.de-portal{margin:18px 0 30px}.de-portal-head{padding:12px 0 22px}.de-portal-head h2{font-size:34px}.de-stats{gap:7px}.de-stat{padding:13px 10px;border-radius:14px}.de-stat span{font-size:10px;min-height:26px}.de-stat strong{font-size:18px}.de-portal-tabs{gap:7px}.de-portal-tabs a{padding:10px 11px;font-size:12px}.de-inputs{grid-template-columns:1fr}.de-entry-row{gap:7px}.de-treatments-head{align-items:flex-start;flex-direction:column}.de-therapy-card{padding:17px}.de-dashboard-links{grid-template-columns:1fr}}


/* v1.0.2 – ruhigere Buttons, harmonische Kontraste, Motivationshinweis. */
.de-portal {
  --de-deep: #354b33;
  --de-muted: #4f6350;
  --de-line: #d9e4d5;
  --de-soft: #f3f7f0;
  --de-sage: #91a78b;
}
/* Der aktive Tab ist jetzt hellgrün mit gut lesbarer dunkler Schrift. */
.woocommerce .de-portal .de-portal-tabs > a,
.de-portal .de-portal-tabs > a,
.de-portal .de-portal-tabs > a:visited {
  color: #354b33 !important;
  background: #fff !important;
  border-color: #d9e4d5 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
.woocommerce .de-portal .de-portal-tabs > a.active,
.woocommerce .de-portal .de-portal-tabs > a.active:visited,
.de-portal .de-portal-tabs > a.active,
.de-portal .de-portal-tabs > a.active:visited {
  background: #e7f0e3 !important;
  border-color: #a9c3a2 !important;
  color: #274428 !important;
  font-weight: 800 !important;
}
.de-portal .de-portal-tabs > a:hover,
.de-portal .de-portal-tabs > a:focus-visible {
  background: #eef4ea !important;
  color: #274428 !important;
}
/* Ursprünglicher kompakter Speichern-Button, ohne Pfeil. */
.woocommerce .de-portal button.de-primary,
.de-portal button.de-primary {
  justify-content: center !important;
  gap: 0 !important;
  background: #354b33 !important;
  border: 1px solid #354b33 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-radius: 999px !important;
  font: inherit;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  padding: 13px 20px !important;
  min-height: 44px;
  opacity: 1 !important;
}
.woocommerce .de-portal button.de-primary:hover,
.de-portal button.de-primary:hover {
  background: #466244 !important;
  border-color: #466244 !important;
  color: #fff !important;
}
.de-portal .de-dashboard-links a,
.de-portal .de-dashboard-links a:visited,
.de-portal .de-therapy-link,
.de-portal .de-therapy-link:visited {
  color: #354b33 !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
.de-portal .de-dashboard-links a:hover,
.de-portal .de-therapy-link:hover { background: #f0f5ed; color: #274428 !important; }
/* Klarere Sekundärtexte, aber keine großen Layout-Veränderungen. */
.de-portal-head p,
.de-portal .de-stat span,
.de-portal .de-section-top > span,
.de-portal .de-input-panel > p,
.de-portal .de-entry-row > span,
.de-portal .de-therapy-date,
.de-portal .de-therapy-meta,
.de-portal .de-privacy-note,
.de-portal .de-count {
  color: #526650 !important;
  opacity: 1 !important;
}
.de-portal .de-inputs input {
  background: #fff !important;
  color: #273e2b !important;
  border: 1px solid #9ab094 !important;
}
.de-portal .de-inputs input::placeholder { color: #667761 !important; opacity: 1 !important; }
.de-portal a:focus-visible,
.de-portal button:focus-visible,
.de-portal input:focus-visible { outline: 2px solid #4e7b50 !important; outline-offset: 3px; }
/* Grüne WooCommerce-Sidebar: Weiß auf Grün auch bei Theme-Overrides. */
.woocommerce-MyAccount-navigation-link--dreasy-fortschritt.is-active > a,
.woocommerce-MyAccount-navigation-link--dreasy-behandlungen.is-active > a,
.woocommerce-MyAccount-navigation-link--dreasy-fortschritt.is-active > a:visited,
.woocommerce-MyAccount-navigation-link--dreasy-behandlungen.is-active > a:visited {
  background: #354b33 !important;
  color: #fff !important;
  opacity: 1 !important;
}
.woocommerce-MyAccount-navigation-link--dreasy-fortschritt:not(.is-active) > a,
.woocommerce-MyAccount-navigation-link--dreasy-behandlungen:not(.is-active) > a {
  color: #354b33 !important;
  opacity: 1 !important;
}
/* Die Rückmeldung erscheint direkt nach dem Speichern und nur für diesen Nutzer. */
.de-portal .de-feedback {
  margin: 0 0 17px;
  padding: 19px 22px 19px 23px;
  border: 1px solid #d9e6d5;
  border-left: 4px solid #8dab82;
  border-radius: 16px;
  background: #f4f8f1;
  color: #354b33;
}
.de-portal .de-feedback--up { border-color: #e9e0d2; border-left-color: #bba581; background: #fbf8f2; }
.de-portal .de-feedback--steady { background: #f8faf6; }
.de-portal .de-feedback-label {
  display: block;
  color: #5c7157;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.35;
  margin: 0 0 7px;
}
.de-portal .de-feedback strong {
  display: block;
  color: #354b33;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.35;
  font-weight: 760;
  margin: 0 0 5px;
}
.de-portal .de-feedback p {
  margin: 0;
  max-width: 680px;
  color: #4d604e;
  font-size: 14px;
  line-height: 1.65;
}
@media(max-width:600px) {
  .de-portal .de-feedback { padding: 16px 17px; border-radius: 14px; }
  .de-portal .de-portal-tabs { gap: 8px; }
  .de-portal .de-portal-tabs > a { font-size: 12.5px; padding: 10px 13px; }
}


/* v1.0.4 – WhatsApp Support, ohne Veränderungen am Gewichtsdiagramm oder bestehenden Buttons */
.de-portal .de-wa-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:22px;align-items:start;padding:28px;border:1px solid #d9e4d5;border-radius:20px;background:#f7faf5;color:#354b33}
.de-portal .de-wa-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#e6f0e2;color:#354b33;font-size:27px;line-height:1}
.de-portal .de-wa-card h3{margin:9px 0 11px;font-size:clamp(21px,2.1vw,27px);font-weight:760;line-height:1.25;color:#354b33}
.de-portal .de-wa-card p{color:#4f6350;font-size:14px;line-height:1.7;margin:0 0 20px;max-width:650px}
.woocommerce .de-portal a.de-wa-button,.de-portal a.de-wa-button,.de-portal a.de-wa-button:visited{display:inline-flex;align-items:center;justify-content:center;background:#354b33!important;border:1px solid #354b33!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;border-radius:999px;padding:13px 20px;text-decoration:none!important;font-size:14px;font-weight:800;line-height:1.35;min-height:46px;opacity:1!important}
.woocommerce .de-portal a.de-wa-button:hover,.de-portal a.de-wa-button:hover{background:#466244!important;border-color:#466244!important;color:#ffffff!important}
.de-portal .de-wa-privacy{margin:15px 0 0;padding:17px 19px;background:#fff;border:1px solid #e1e9dd;border-radius:15px;font-size:12.5px;line-height:1.7;color:#4f6350}
.de-portal .de-wa-privacy strong{color:#354b33}
.de-portal .de-wa-privacy a{color:#354b33!important;text-decoration:underline!important;font-weight:700}
.woocommerce-MyAccount-navigation-link--dreasy-whatsapp.is-active > a,.woocommerce-MyAccount-navigation-link--dreasy-whatsapp.is-active > a:visited{background:#354b33!important;color:#fff!important;opacity:1!important}
.woocommerce-MyAccount-navigation-link--dreasy-whatsapp:not(.is-active) > a{color:#354b33!important;opacity:1!important}
@media(max-width:600px){.de-portal .de-wa-card{grid-template-columns:1fr;gap:14px;padding:20px 17px}.de-portal .de-wa-privacy{padding:15px}.de-portal .de-wa-button{width:100%}}
