/* ═══════════════════════════════════════════
   MYLS Admin Portal — Layout
   ═══════════════════════════════════════════ */

/* ── App shell ── */
.admin-shell {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ══════════════════════════════════════
   TOPBAR (horizontal across entire page)
   ══════════════════════════════════════ */
.admin-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  background: var(--white);
  /* border-bottom: 1px solid var(--brd); */
  display: flex;
  align-items: center;
  padding: 0 0;
  gap: 16px;
  z-index: 50;
  height: 80px;
  /* box-shadow: var(--shadow-sm); */
}

/* ── Meldungen (Toast von PrimeReact) ──────────────────────────────────
   Warum hier so viel steht: die Theme-Regeln von PrimeReact liegen in der
   Kaskadenschicht "@layer primereact". Der Universal-Reset in global.css
   (`*, *::before, *::after { margin: 0; padding: 0; }`) steht ausserhalb jeder
   Schicht und schlaegt sie deshalb - ganz unabhaengig von der Spezifitaet.
   Damit fallen Innenabstand der Meldung und der Abstand zwischen Symbol und
   Text ersatzlos weg; beides klebt sonst direkt aneinander. Die folgenden
   Regeln setzen den Aufbau darum selbst. */
.p-toast {
  max-width: 380px;
}

.p-toast .p-toast-message {
  padding: 0;
  border-radius: 10px;
  border-width: 0 0 0 4px;
  box-shadow: 0 6px 20px rgba(17, 24, 39, .12);
}

.p-toast .p-toast-message .p-toast-message-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

/* Das Symbol traegt die Farbe der Meldungsart und bleibt in fester Groesse. */
.p-toast .p-toast-message .p-toast-message-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  font-size: 20px;
  /* Einen Hauch tiefer, damit es mit der ersten Textzeile fluchtet. */
  margin-top: 1px;
}

.p-toast .p-toast-message .p-toast-message-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* Titel und Text in der normalen Schriftfarbe - farbig sind nur Symbol und
   der Streifen am linken Rand. Das liest sich ruhiger als durchgehend gruen/rot. */
.p-toast .p-toast-message .p-toast-summary {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

.p-toast .p-toast-message .p-toast-detail {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mid);
}

.p-toast .p-toast-message .p-toast-icon-close {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  border-radius: 50%;
  opacity: .5;
  transition: opacity .15s;
}

.p-toast .p-toast-message .p-toast-icon-close:hover {
  opacity: 1;
}

/* Am unteren Rand etwas Luft zum Fensterrand lassen */
.p-toast.p-toast-bottom-right,
.p-toast.p-toast-bottom-left,
.p-toast.p-toast-bottom-center {
  bottom: 12px !important;
}

/* Gestapelte Meldungen trennen (der Reset loescht den Abstand des Themes) */
.p-toast .p-toast-message+.p-toast-message {
  margin-top: 10px;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: var(--sidebar-w);
  padding-left: 20px;
  border-right: 1px solid var(--brd);
  padding-top: 30px;
}

.topbar-logo img {
  height: 47px;
}

.topbar-apps {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.topbar-apps p {
  font-size: 16px;
  font-weight: 500;
  color: #6F7789;
  margin-right: 10px;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  border: 1px solid #cc2c21;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s;
  background: #FFF4F4;
}

.w-100 {
  width: 100%;
}

.app-icon:hover {
  background: var(--acc-light);
}

.app-icon.active {
  background: var(--acc);
}

.topbar-search {
  flex: 1;
  max-width: 320px;
  position: relative;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--brd);
  border-radius: 20px;
  padding: 2px 4px;
}

.lang-switch button {
  padding: 3px 10px;
  border: none;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  background: transparent;
  color: #121212;
}

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

.topbar-search input {
  padding: 7px 12px 7px 34px !important;
  border: 1px solid var(--brd);
  border-radius: 10px !important;
  font-size: 13px;
  outline: none;
  font-family: var(--font);
}

.topbar-search input:focus {
  border-color: var(--acc);
  background: var(--white);
}

.topbar-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 19px;
}

.topbar-notif {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: .15s;
  position: relative;
}

.topbar-notif:hover {
  background: var(--bg);
  color: var(--dark);
}

.notif-dot {
  width: 8px;
  height: 8px;
  background: var(--acc);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 6px;
  border: 2px solid var(--white);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  transition: .15s;
}

.topbar-user:hover {
  background: var(--bg);
}

.topbar-user .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.topbar-user .role {
  font-size: 11px;
  color: var(--muted);
}

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */
.admin-sidebar {
  width: var(--sidebar-w);
  background: var(--white);
  border-right: 1px solid var(--brd);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  padding-top: 7rem;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 40;
  overflow-y: auto;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 0px 12px 0px;
}

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 10px 16px 4px;
  margin-top: 3rem;
  border-top: 1px solid #E8EAEC;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  color: #323232;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: .12s;
  border-radius: 8px;
  position: relative;
  height: 43px;
  margin: 0 3px;
}

.nav-item:hover {
  background: var(--bg);
  color: var(--dark);
  text-decoration: none;
}

.nav-item.active {
  color: var(--acc);
  background: #f5f9fc;
  font-weight: 500;
  margin-right: 3px;
  margin-left: 3px;
}

.nav-item.active svg {
  color: transparent
}

.nav-item.active::before {
  /* content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--acc);
  border-radius: 0 2px 2px 0; */
}

.nav-item svg {
  flex-shrink: 0;
}

.nav-item .chevron {
  margin-left: auto;
  transition: transform .2s;
}

.nav-item.open .chevron {
  transform: rotate(90deg);
}

.nav-submenu {
  overflow: hidden;
}

.nav-sub-item {
  display: flex;
  align-items: center;
  padding: 8px 16px 8px 42px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: .12s;
}

.nav-sub-item:hover {
  color: #fe75ab;
  /* color: var(--dark); */
  /* background: var(--bg); */
  text-decoration: none;
}

.wizard-footer button {
  height: 37px !important;
  line-height: 35px;
  border-radius: 8px !important;
}

.nav-sub-item.active {
  color: var(--acc);
  font-weight: 500;
  background: var(--acc2);
}

.sidebar-bottom {
  border-top: 1px solid var(--brd);
  padding: 8px 0;
  flex-shrink: 0;
}

/* Super Admin section indicator */
.nav-item.super-admin-item {
  color: var(--purple);
}

.nav-item.super-admin-item:hover {
  background: #EDE9FE;
}

.nav-item.super-admin-item.active {
  background: #EDE9FE;
  color: var(--purple);
}

.nav-item.super-admin-item.active::before {
  background: var(--purple);
}

.sa-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--purple);
  color: var(--white);
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* ══════════════════════════════════════
   MAIN CONTENT AREA
   ══════════════════════════════════════ */
.admin-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
}

.admin-content {
  flex: 1;
  width: 100%;
  padding: 45px 30px 10px;
  /* Breite Bildschirme: Inhalt darf mitwachsen, wird aber gedeckelt und
     zentriert, damit Tabellen lesbar bleiben und rechts keine tote Flaeche
     entsteht (frueher: 1280px linksbuendig). */
  max-width: 1760px;
  margin-inline: auto;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 1px solid #E8EAEC;
  padding-bottom: 15px;
}

.page-header-left h1 {
  margin-bottom: 4px;
}

.page-header-left p {
  font-size: 13px;
  color: var(--muted);
}

/* ══════════════════════════════════════
   CONNECTOR WIZARD PROGRESS
   ══════════════════════════════════════ */
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
}

.wizard-card {
  background: var(--white);
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.wizard-body {
  padding: 28px;
}

/* ══════════════════════════════════════
   DASHBOARD PAGE SPECIFICS
   ══════════════════════════════════════ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin-bottom: 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

/* ── Login page ── */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f9fc;
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 477px;
  box-shadow: var(--shadow-sm);
}

.admin-login-logo .admin-portaltext {
  font-size: 11px;
  color: #a5adbb;
  margin-top: 6px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-align: left;
  font-weight: 500;
}

.lang-button {
  text-align: right;
  margin-bottom: 16px;
}

.lang-button button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid #cbcbcb;
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
  font-family: var(--font);
}

.login-top-div {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid #cbcbcb52;
  margin-bottom: 0px;
  padding: 35px 43px 25px;
}

.login-body-div {
  padding: 35px 43px 35px;
}

.btn-submit {
  background: linear-gradient(202deg, rgba(204, 49, 33, 1) 0%, rgba(175, 6, 33, 1) 100%);
  color: white;
}

.highlight-text {
  background: no-repeat;
  border: none;
  cursor: pointer;
  color: #c52721;
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 0px;
}

.admin-login-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.admin-login-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}


/* =========================
   CHANGE PASSWORD PAGE
========================= */


/* =========================
   CARD
========================= */

.admin-content .change-password-card,
.admin-content .w-full.max-w-lg {
  width: 100%;
  max-width: 560px;

  background: #ffffff;
  border-radius: 28px;

  padding: 42px;

  border: 1px solid #eceff5;

  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

/* =========================
   LOGO
========================= */

.admin-content h1 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;

  color: #111827;
  margin: 0;
}

.admin-content h1 span {
  color: #b8002c;
}

/* =========================
   HEADER
========================= */

.admin-content h2 {
     font-size: 20px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 10px;
}

.admin-content p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
}

/* =========================
   ALERTS
========================= */

.admin-content .bg-green-100 {
  background: #dcfce7;
  color: #166534;

  border-radius: 14px;
  padding: 14px 16px;

  margin-bottom: 20px;

  font-size: 14px;
  font-weight: 500;
}

.admin-content .bg-red-100 {
  background: #fee2e2;
  color: #b91c1c;

  border-radius: 14px;
  padding: 14px 16px;

  margin-bottom: 20px;

  font-size: 14px;
  font-weight: 500;
}

/* =========================
   INPUT GROUP
========================= */

.admin-content .relative {
  position: relative;
}

.admin-content input {
  width: 100%;
  height: 60px;

  border: 1px solid #e5e7eb;
  border-radius: 18px;

  background: #f9fafb;

  padding: 0 20px 0 52px;

  font-size: 15px;
  color: #111827;

  outline: none;
  transition: all 0.25s ease;
}

.admin-content input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.admin-content select.placeholder {
  color: #9ca3af;
  font-weight: 500;
  font-size: 14px;
}

.admin-content select.placeholder option[value=""] {
  color: #9ca3af;
}

.admin-content select option {
  color: #111827;
}

.admin-content input:focus {
  background: #ffffff;
  border-color: #ef5b93;

  box-shadow: 0 0 0 4px rgba(239, 91, 147, 0.12);
}

/* =========================
   INPUT ICONS
========================= */

.admin-content .absolute.left-4 {
  position: absolute;
  left: 18px;
  top: 50%;

  transform: translateY(-50%);
  color: #9ca3af;
}

.admin-content .absolute.right-4 {
  position: absolute;
  right: 18px;
  top: 50%;

  transform: translateY(-50%);

  background: transparent;
  border: none;

  cursor: pointer;
  color: #6b7280;
}

/* =========================
   PASSWORD RULES
========================= */

.admin-content .bg-red-50 {
  background: #fff5f7;

  border: 1px solid #ffd7e5;
  border-radius: 18px;

  padding: 20px;
}

.admin-content .bg-red-50 p {
  margin-bottom: 12px;

  color: #be123c;
  font-weight: 700;
  font-size: 14px;
}

.admin-content .bg-red-50 ul {
  margin: 0;
  padding-left: 18px;
}

.admin-content .bg-red-50 li {
  margin-bottom: 8px;

  color: #4b5563;
  font-size: 14px;
}

/* =========================
   BUTTON
========================= */

.admin-content button[type="submit"] {
  width: auto;
  height: 42px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(135deg, #b8002c, #df2b1c);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 23px;
}

.admin-content button[type="submit"]:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 24px rgba(184, 0, 44, 0.25);
}

.admin-content button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* =========================
   SPACING
========================= */

.admin-content .mb-5 {
  margin-bottom: 20px;
}

.admin-content .mb-8 {
  margin-bottom: 32px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 640px) {
  .admin-content {
    padding: 20px;
  }

  .admin-content .w-full.max-w-lg {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .admin-content h1 {
    font-size: 40px;
  }

  .admin-content h2 {
    font-size: 28px;
  }

  .admin-content input {
    height: 56px;
    font-size: 14px;
  }

  .admin-content button[type="submit"] {
    height: 54px;
    font-size: 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);
  }
}


.form-group input:disabled {
  background-color: lightgrey;
}


/* styles.css or loader.component.css */
.login-loader-overlay {
  position: fixed;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(10px);
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgb(231 231 231 / 28%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  pointer-events: auto;
}

.login-loader-content {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  justify-content: center;
  /* background: rgba(20, 20, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08); */
  border-radius: 16px;
  /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32); */
}

.login-loader-dot {
  width: 14px;
  height: 14px;
  background: #cc3121;
  border-radius: 50%;
  opacity: 0.4;
  animation: login-loader-bounce 1s ease-in-out infinite;
}

.login-loader-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.login-loader-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes login-loader-bounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  40% {
    transform: translateY(-14px);
    opacity: 1;
  }
}

.login-loader-message {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;

}

.loadericon-message {
  background: white;
  padding: 27px 40px;
  border-radius: 16px;
  text-align: center;
}

.loadericon-message .login-loader-content {
  padding: 10px 23px;
}

.loadericon-message .login-loader-content .login-loader-dot {
  width: 11px;
  height: 11px;
}

.login-loader-message p {
  font-size: 14px;
  color: #b0b7c3;
}

.login-loader-message strong {

  font-size: 17px;
}

.global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #1976d2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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


/* stepper css */
.stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 24px 0;
  border-top: 1px solid #eaeaea;
  /* border-bottom: 1px solid #eaeaea; */
  width: 100%;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #757575;
  font-weight: 600;
  font-size: 14px;
}

.step-label {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* Active Step Styling */
.step.active .step-number {
  background-color: #4b51ef;
  color: #ffffff;
}

/* Connecting Lines */
.step-line {
  flex-grow: 1;
  height: 1px;
  background-color: #eaeaea;
  margin: 0 24px;
}


.wizard-content {
  padding: 10px 0px;
}

.content-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.content-description {
  font-size: 14px;
  line-height: 1.5;
  color: #4a4a4a;
  margin-bottom: 12px;
  max-width: 850px;
}

/* Google Button Styling */
.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  width: 200px;
  justify-content: center;
}

.google-btn:hover {
  background-color: #fcfcfc;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-logo {
  width: 18px;
  height: 18px;
}

.btn-text {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .stepper-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step-line {
    display: none;
    /* Hide horizontal lines on mobile layout */
  }

  .wizard-content {
    padding: 24px 16px;
  }
}


.property-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  /* Volle Breite des Assistenten - gleiche Kante wie Banner, Titel und Stepper.
     Frueher 1000px zentriert, wodurch die Karten schmaler waren als alles andere. */
}

/* Base Property Card Styling */
.property-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-in-out;
}

/* Card Hover Effect */
.property-card:hover {
  border-color: #cbd5e1;
}

/* Active / Selected State */
.property-card.active {
  background-color: #f3f3ff;
  border-color: #4b51ef;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* GA4 Badge */
.badge-ga4 {
  background-color: #4b51ef;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 10px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* Property Typography */
.property-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.property-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
}

.property-id {
  font-size: 11px;
  color: #718096;
}

/* Status Icon (Default State is Unchecked Circle) */
.status-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: all 0.2s ease-in-out;
}

/* Hide SVG checkmark when unselected */
.check-svg {
  display: none;
  color: #ffffff;
}

/* Active State for Icon (Becomes Blue with visible SVG) */
.property-card.active .status-icon {
  background-color: #4b51ef;
  border-color: #4b51ef;
}

.property-card.active .check-svg {
  display: block;
}

/* Responsive adjustment */
@media (max-width: 480px) {
  .property-card {
    padding: 10px 12px;
  }

  .card-left {
    gap: 12px;
  }
}

/* ── Lange Auswahllisten: Suche + Blaetterung (SearchablePagedList) ── */
.paged-list {
  width: 100%;
  /* Volle Breite des Assistenten. Frueher 1000px zentriert - dadurch stand die Liste
     eingerueckt, waehrend Suchfeld, Startdatum und Fusszeile linksbuendig ueber die
     ganze Breite liefen. */
}

.paged-list-search {
  position: relative;
  width: 100%;
}

.paged-list-search > svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.paged-list-search input[type="search"] {
  width: 100%;
  padding-left: 34px;
  padding-right: 38px;
  font-weight: 500;
}

/* Eigener Loesch-Knopf statt der browsereigenen Variante. */
.paged-list-search input[type="search"]::-webkit-search-cancel-button,
.paged-list-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.paged-list-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  line-height: 1;
  font-size: 18px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paged-list-clear:hover {
  background: var(--bg);
  color: var(--dark);
}

.paged-list-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 10px;
}

.paged-list-pinned {
  margin-bottom: 12px;
}

.paged-list-pinned-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.paged-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.paged-list-page {
  font-size: 12px;
  color: var(--muted);
  min-width: 120px;
  text-align: center;
}

/* Lange Titel/Adressen duerfen die Karte nicht seitlich sprengen. */
.property-card .card-left {
  min-width: 0;
}

.property-card .property-info {
  min-width: 0;
}

.property-card .property-name,
.property-card .property-id {
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .paged-list-pagination {
    gap: 8px;
  }

  .paged-list-page {
    min-width: 0;
  }
}


.chart-labels {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 10px;
  font-size: 14px;
}

.chart-labels > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chart-label-dot {
  width: 25px;
  height: 3px;
  display: inline-block;
}


.phone-field {
  width: 100%;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.phone-prefix {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f5f5f5;
  border-right: 1px solid #d1d5db;
  color: #333;
  font-size: 16px;
  flex-shrink: 0;
}

.phone-input-wrapper input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none !important;
  outline: none !important;
  padding: 0 12px;
  font-size: 16px;
  background: transparent;
  box-sizing: border-box;
}

.phone-input-wrapper input::placeholder {
  color: #999;
}

.phone-input-wrapper:focus-within {
  border-color: #999;
}

.phone-field .error-text {
  display: block;
  margin-top: 5px;
  color: red;
  font-size: 13px;
  line-height: 18px;
}

select:disabled {
    background-color: lightgrey;
}
/* stepper css */
/* Zeile ueber einer Mehrfachauswahl im Assistenten (M3): wie viele Eintraege gewaehlt sind. */
.wizard-selected-count {
  font-size: 12px;
  color: var(--muted, #6b7280);
  margin: 0 0 8px;
}
