/* ═══════════════════════════════════════════
   MYLS Dashboard — Global Styles
   ═══════════════════════════════════════════ */

:root {
  /* Branding der Agentur (GET api/branding?host=): wird von src/Services/branding.js
     zur Laufzeit ueberschrieben. Standard = myls (#298DE2). */
  --brand-primary: #298DE2;
  --brand-secondary: #2378C0;
  --brand-primary-soft: #298DE21A;
  --acc: linear-gradient(90deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
  --acc2: var(--brand-primary-soft);
  --acc-hover: var(--brand-secondary);
  --dark: #111827;
  --mid: #374151;
  --muted: #6B7280;
  --brd: #E5E7EB;
  --bg: #f6f6f6;
  --white: #FFFFFF;
  /* --sidebar-w: 248px; */
  --sidebar-w: 290px;
  --topbar-h: 52px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 25px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Baloo 2', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  background: var(--bg);
}

a {
  color: var(--acc);
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: opacity .15s, background .15s;
  border: none;
}

.btn-primary {
  background: var(--acc);
  color: var(--white);
  width: 100%;
  padding: 11px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

/* .btn-primary:hover {
  background: var(--acc-hover);
} */

.btn-secondary {
  background: var(--white);
  color: var(--mid);
  border: 1px solid var(--brd);
}

.btn-secondary:hover {
  background: var(--bg);
}

.btn-danger {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ── Inputs ── */
.form-group {
  margin-bottom: 14px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--brd);
  border-radius: 48px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--acc);
}

.input-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

/* ── Chip / Badge ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--brd);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  color: var(--mid);
  background: var(--white);
  transition: .15s;
}

.chip:hover,
.chip.active {
  border-color: var(--acc);
  color: var(--acc);
  background: var(--acc2);
}

/* ── Tables ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--brd);
  font-size: 12px;
  background: var(--bg);
}

.data-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #F3F4F6;
  color: var(--mid);
}

.data-table tbody tr:hover td {
  background: #FAFAFA;
}

/* ── Bar visualization ── */
.bar-wrap {
  height: 10px;
  background: #F3F4F6;
  border-radius: 3px;
  margin-top: 4px;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--acc);
  opacity: .45;
}

/* ── Section block ── */
.section-block {
  background: var(--white);
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.section-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--brd);
}

.section-title {
  font-size: 16px;
  font-weight: 400;
  color: #525252;
}

.text-white {
  color: white !important;
}

.title-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.title-section .search-input {
  width: 120px;
  padding: 5px 9px;
  font-size: 12px;
  border: 1px solid var(--brd);
  border-radius: 6px;
  outline: none;
}

.lang-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 8px;
}

.lang-buttons {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--brd);
  border-radius: 20px;
  padding: 2px;
  width: fit-content;
}

.lang-buttons .lang-btn.active {
  padding: 3px 10px;
  border: none;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  background: var(--acc);
  color: white;
}

/* Keine eigene Trennlinie: .sidebar-footer (dashboard.css) hat schon eine border-top.
   Zwei Linien uebereinander sahen aus wie ein Fehler. */
.lang-section {
  margin-top: 0;
}

.lang-buttons .lang-btn {
  padding: 3px 10px;
  border: none;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  background: transparent;
  color: var(--muted);
}

.title-section span {
  color: #646464;
  margin-right: 9px;
  font-size: 13px;
}

.section-sub {
  font-size: 10px;
  color: #00000066;
  margin-top: 2px;
}

/* ── Stat card ── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  flex: 1;
  min-height: 167px;
}

.stat-label {
  font-size: 16px;
  color: #525252;
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: .4px;
}

.stat-card.stat-card--compact .stat-label {
  font-size: 16px;
}

.stat-sub {
  font-size: 10px;
  color: #00000066;
  margin-top: 2px;
  line-height: 1.4;
  height: 36px;
  font-weight: 400;

}

.stat-num {
  font-size: 36px;
  font-weight: 400;
  color: #000000;
  margin: 10px auto 0;
  letter-spacing: -.5px;
  text-align: center;
}

/* Hero number — large left cards */
.stat-num--hero {
  font-size: 36px;
  font-weight: 400;
  color: #000;
  /* margin: auto 0 0; */
  padding-top: 18px;
  letter-spacing: -1px;
  text-align: left;
}

/* Compact number — small stacked cards */
.stat-num--compact {
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin: 8px 0 0;
  letter-spacing: -.5px;
  text-align: left;
}

/* Compact card sub — shorter height */
.stat-card--compact .stat-sub {
  height: auto;
}


/* ── Theme dots ── */
.theme-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .15s;
  flex-shrink: 0;
}

/* .theme-dot.active {
  border: 2px solid white;
} */

/* ── Overlay / Filter panel ── */
.filter-panel {
  display: none;
  height: fit-content;
  position: fixed;
  right: 31px;
  top: var(--topbar-h);
  bottom: 0;
  width: 450px;
  background: var(--white);
  border: 1px solid #E4E4E7;
  z-index: 100;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  border-radius: 27px;
  padding: 1rem;
}

.filter-panel.open {
  display: block;
}

.filter-section {
  padding: 16px 18px;
  border-bottom: 1px solid var(--brd);
}

.filter-label {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  text-transform: capitalize;
  /* letter-spacing: .5px; */
  margin-bottom: 8px;
}

.login-button {
  position: relative;
}
.error{    margin-bottom: 15px;
}
.login-loader {
  border: 3px solid #9798a4;
  border-radius: 50%;
  border-top: 3px solid #fff;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 12px;
  right: 11px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.auth-footer-div {
    display: flex;
    align-items: end;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
    color: #666666;
    background: #f9f9f9;
    border-radius: 31px;
}
.auth-footer-div:hover a{
  text-decoration: none;}
.auth-footer-div:hover{
  background: #fbfbfb;
}

/* 
/* Schriften: siehe public/index.html (Google Fonts). */

:root {
  --dp-font-family: var(--font);
  --dp-text: #333333;
  --dp-muted: #cacaca;
  --dp-border: #e4e4e7;
  --dp-input-border: #ebeef0;
  --dp-surface: #ffffff;
  --dp-overlay: rgba(0, 0, 0, 0.3);
  --dp-range-bg: rgba(203, 51, 33, 0.125);
  --dp-gradient-start: #cc3621;
  --dp-gradient-mid: var(--brand-primary);
  --dp-gradient-end: #a00021;
} */

.date-picker-modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--dp-overlay);
  /* backdrop-filter: blur(2px); */

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.date-picker-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.date-picker-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  border: 1px solid #d5d1d1;
  border-radius: 25px;
  background: white;
  box-shadow: 0 17px 17px rgb(0 0 0 / 18%);
  padding: 32px;
  font-family: var(--dp-font-family);
}

.react-datepicker-wrapper {
  width: 100%;
}

.input-base:hover,
.input-base:focus,
.input-base:focus-visible {
  border: 1px solid var(--brd) !important;
}

.date-picker-modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.date-picker-modal-title {
  margin: 0;
  /* color: var(--dp-text); */
  font-family: var(--dp-font-family);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;

  color: var(--dp-text-color);

}

.date-picker-icon-button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  /* color: var(--dp-text); */

  color: var(--dp-text-color);

}

.date-picker-field {
  display: flex;
  flex-direction: column;
}

.date-picker-label {
  margin: 0 0 10px;
  /* color: var(--dp-text); */
  font-family: var(--dp-font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;

  color: var(--dp-text-color);

}

.date-picker-input-wrap {
  position: relative;
}

.date-picker-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  pointer-events: none;
  /* color: var(--dp-text); */

  color: var(--dp-text-color);

}

.date-picker-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.date-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--dp-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--brand-primary) !important;
  color: var(--brand-primary) !important;
  font-weight: 500;
}

.date-picker-button-primary {
  color: #ffffff !important;
  background: var(--acc);

}

.date-picker-button-primary:hover {
  background: var(--acc);
}

.date-picker-button-secondary {
  color: var(--dp-gradient-end);
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(to left,
      var(--dp-gradient-start),
      var(--dp-gradient-mid),
      var(--dp-gradient-end)) border-box;
}

.date-picker-button-secondary:hover {
  color: #ffffff;
  background: linear-gradient(to right,
      var(--dp-gradient-start),
      var(--dp-gradient-mid),
      var(--dp-gradient-end));
}

.date-picker-action-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-bottom: 4px;
}

.css-1n97xmt {
  background: white;
}

.css-1n97xmt .grid-container {
  margin: 0 !important;
}

.input-base {
  width: 100%;
  /* border: 1px solid var(--dp-input-border); */
  border-radius: 20px;
  padding: 14px 20px;
  /* color: var(--dp-text); */
  font-family: var(--dp-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  background: #ffffff;
  transition: all 0.3s ease-in-out;

  color: var(--dp-text-color);
  border: 1px solid var(--dp-border-color);
}

.input-base::placeholder {
  color: var(--dp-muted);
}

.input-base:hover,
.input-base:focus,
.input-base:focus-visible {
  /* border-color: var(--dp-text);
  color: var(--dp-text); */

  color: var(--dp-text-color);
  border: 1px solid var(--dp-border-color);
  outline: none;
}

.vue-datepicker {
  /* color: var(--dp-text); */
  font-family: var(--dp-font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;

  color: var(--dp-text-color);

}

.vue-datepicker-dates {
  /* color: var(--dp-text); */
  font-family: var(--dp-font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;

  color: var(--dp-text-color);

}

.vue-datepicker-selected-dates {
  color: #ffffff;
  border: 0;
  background: linear-gradient(to left,
      var(--dp-gradient-start),
      var(--dp-gradient-mid),
      var(--dp-gradient-end));
}

.vue-datepicker-selected-range {
  background: var(--dp-range-bg);
}

.vue-datepicker-today,
.vue-datepicker-today.vue-datepicker-selected-range {
  border: 1px solid var(--dp-gradient-mid);
}

.vue-datepicker-disabled-dates {
  color: var(--dp-muted);
  cursor: not-allowed;
}

.dp__theme_light {
  --dp-font-family: var(--font);
  --dp-text-color: #333333;
  --dp-border-color: #ebeef0;
  --dp-hover-color: #f7f7f8;
  --dp-hover-text-color: #333333;
  --dp-primary-color: var(--brand-primary);
  --dp-primary-text-color: #ffffff;
  --dp-secondary-color: rgba(203, 51, 33, 0.125);
  --dp-disabled-color: #f3f4f6;
  --dp-disabled-color-text: #cacaca;
  --dp-menu-border-color: #e4e4e7;
  --dp-border-radius: 20px;
}





/* ── default dashboard layout ── */
.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── LEFT PANEL – Brand / Visual ── */
.left {
  background: var(--acc);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 56px;
  position: relative;
  overflow: hidden;
}

/* decorative circles */
.left::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  top: -140px;
  right: -160px;
}

.left::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  bottom: -80px;
  left: -80px;
}

.left-inner-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  top: 120px;
  right: 60px;
}

/* logo */
.default-dashboard .logo {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.default-dashboard .logo-bar {
  display: inline-block;
  width: 4px;
  height: 28px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  margin: 0 1px;
}

/* center lock illustration */
.lock-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.lock-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lock-circle svg {
  width: 64px;
  height: 64px;
  opacity: 0.95;
}

.lock-tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 260px;
}

/* bottom brand note */
.left-footer {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 400;
}

/* ── RIGHT PANEL – Card ── */
.right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
  background: var(--bg);
}

.default-dashboard .card {
  background: var(--white);
  border-radius: 24px;
  padding: 33px 37px 33px;
  ;
  width: 100%;
  max-width: 440px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 32px rgba(0, 0, 0, 0.06);
}

/* icon */
.icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--acc2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
}

.default-dashboard h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* divider */
.divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.reasons-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #BABABA;
  margin-bottom: 16px;
}

.reasons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.reasons-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  flex-shrink: 0;
}

/* button */
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  background: var(--acc);
  color: #fff;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 18px rgba(160, 0, 33, 0.28);
}

.btn-home:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160, 0, 33, 0.35);
}

.btn-home svg {
  width: 16px;
  height: 16px;
}

/* help text */
.help-text {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.help-text a {
  color: var(--red-solid);
  text-decoration: none;
  font-weight: 500;
}

.help-text a:hover {
  text-decoration: underline;
}

/* responsive */
@media (max-width: 820px) {
  .page {
    grid-template-columns: 1fr;
  }

  .left {
    min-height: 280px;
    padding: 36px 32px;
  }

  .lock-visual {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  .lock-circle {
    width: 90px;
    height: 90px;
  }

  .lock-circle svg {
    width: 40px;
    height: 40px;
  }

  .right {
    padding: 36px 24px;
  }
}





/* second option */
.card-container {
  background: #F4F4F4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.default-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 36px;
  width: 400px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.default-card.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--acc);
  border-radius: 20px 20px 0 0;
}

.default-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: #FDE8EB;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.default-card h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.default-card .subtitle {
  font-size: 14px;
  color: #7A7A7A;
  margin-bottom: 24px;
}

.default-card .reasons-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #AAAAAA;
  margin-bottom: 14px;
}

.default-card .reasons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.default-card .reasons-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.default-card .reasons-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  flex-shrink: 0;
}

.default-card .btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--acc);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.default-card .btn-home:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* second option */


/* ── default dashboard layout ── */
@media (max-width: 640px) {
  .date-picker-modal-card {
    padding: 24px;
  }

  .date-picker-modal-footer,
  .date-picker-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .date-picker-button {
    width: 100%;
  }
}

.error {
  color: red;
  padding: 5px 17px;
}
/* ── Fehlerhinweis (ErrorNotice, B7a) ── */
.error-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 14px;
  border: 1px solid #ef4444;
  border-radius: var(--radius-md, 8px);
  background: #fee2e2;
  color: #7f1d1d;
  font-size: 13.5px;
  line-height: 1.4;
}

.error-notice-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.error-notice-text {
  flex: 1 1 auto;
}

.error-notice-retry {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid #ef4444;
  border-radius: var(--radius-sm, 6px);
  background: transparent;
  color: #7f1d1d;
  font: inherit;
  cursor: pointer;
}

.error-notice-retry:hover {
  background: rgba(239, 68, 68, 0.12);
}

/* ── Leerzustand im Viewer (keine Dashboards, B7a) ── */
.dashboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60vh;
  padding: 40px 24px;
  text-align: center;
}

.dashboard-empty-title {
  font-family: var(--font-display, inherit);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
}

.dashboard-empty-text {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}


/* ═══════════════════════════════════════════
   B7b-1: Branding (Logo/Produktname), Entwickler-Login
   ═══════════════════════════════════════════ */
.auth-logo-img { height: 42px; max-width: 200px; object-fit: contain; }
.auth-product-name { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.sidebar-product-name { font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.sidebar-logo img.custom-logo { max-height: 56px; max-width: 200px; object-fit: contain; }
.default-logo-img { height: 48px; max-width: 220px; object-fit: contain; }
.default-product-name { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 6px; }
.topbar-agency { color: var(--muted); font-weight: 400; }

.dev-login {
  border-top: 1px dashed var(--brd);
  margin-top: 26px;
  padding-top: 16px;
}
.dev-login-title { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 14px; }
.dev-badge {
  background: #F59E0B;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.dev-login-hint { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; }
.dev-login .form-group { margin-bottom: 10px; }
.dev-login-button { width: 100%; border-radius: var(--radius-lg); padding: 10px; }
