    :root {
      --bg: #eef7fb;
      --panel: #075985;
      --panel-soft: #0c75a6;
      --card: #ffffff;
      --text: #123143;
      --muted: #62798a;
      --border: #cfe4ef;
      --primary: #0284c7;
      --primary-dark: #0369a1;
      --primary-hover: #075985;
      --green: #dcfce7;
      --green-text: #166534;
      --yellow: #fef9c3;
      --yellow-text: #854d0e;
      --red: #fee2e2;
      --red-text: #991b1b;
      --gray: #f3f4f6;
      --orange: #ffedd5;
      --orange-text: #9a3412;
      --shadow: 0 10px 26px rgba(15, 23, 42, .07);
    }

    body.dark-mode {
      --bg: #071824;
      --panel: #082f49;
      --panel-soft: #0c4a6e;
      --card: #0f2433;
      --text: #e6f6ff;
      --muted: #9fc3d7;
      --border: #22475b;
      --primary: #38bdf8;
      --primary-dark: #0ea5e9;
      --primary-hover: #7dd3fc;
      --gray: #142c3d;
      --shadow: 0 12px 30px rgba(0, 0, 0, .24);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
    }

    button, input, select, textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    .mobile-menu-button,
    .sidebar-scrim {
      display: none;
    }

    .app {
      display: grid;
      grid-template-columns: 235px minmax(0, 1fr);
      min-height: 100vh;
    }

    .sidebar {
      position: sticky;
      top: 0;
      height: 100vh;
      background: var(--panel);
      color: #fff;
      padding: 20px 14px;
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .brand {
      padding: 8px 10px 18px;
      border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .brand h1 {
      margin: 0;
      font-size: 20px;
    }

    .brand p {
      margin: 6px 0 0;
      color: rgba(255,255,255,.72);
      font-size: 12px;
      line-height: 1.45;
    }

    .nav {
      display: grid;
      gap: 8px;
    }

    .nav button {
      width: 100%;
      border: 0;
      border-radius: 10px;
      padding: 12px 14px;
      background: transparent;
      color: rgba(255,255,255,.86);
      text-align: left;
      font-weight: 700;
      transition: .18s ease;
    }

    .nav button:hover,
    .nav button.active {
      background: var(--panel-soft);
      color: #fff;
    }

    .sidebar-note {
      margin-top: auto;
      border-radius: 10px;
      padding: 11px;
      background: rgba(255,255,255,.08);
      color: rgba(255,255,255,.75);
      font-size: 12px;
      line-height: 1.45;
    }

    .account-panel {
      display: grid;
      gap: 6px;
      margin-top: 14px;
      border-radius: 10px;
      padding: 10px;
      background: rgba(255,255,255,.08);
    }

    .account-panel strong {
      color: #ffffff;
      font-size: 13px;
    }

    .account-panel span,
    .account-panel label {
      margin: 0;
      color: rgba(255,255,255,.72);
      font-size: 11px;
    }

    .account-panel select {
      padding: 8px 9px;
      border-radius: 8px;
      font-size: 12px;
    }

    .app-message,
    .message {
      margin-bottom: 14px;
      border-radius: 10px;
      padding: 11px 12px;
      border: 1px solid var(--border);
      background: #f8fafc;
      color: var(--text);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 700;
    }

    .app-message.error,
    .message.error {
      border-color: #fecaca;
      background: #fef2f2;
      color: #991b1b;
    }

    .app-message.success,
    .message.success {
      border-color: #bbf7d0;
      background: #f0fdf4;
      color: #166534;
    }

    .main {
      padding: 24px;
    }

    .topbar {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 18px;
    }

    .topbar h2 {
      margin: 0;
      font-size: 26px;
    }

    .topbar p {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .page {
      display: none;
    }

    .page.active {
      display: block;
    }

    .card {
      margin-bottom: 18px;
      border: 1px solid var(--border);
      border-radius: 14px;
      background: var(--card);
      box-shadow: var(--shadow);
      padding: 16px;
    }

    .card-title {
      margin: 0 0 14px;
      font-size: 17px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 12px;
    }

    .field {
      grid-column: span 3;
    }

    .field.wide {
      grid-column: span 6;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label {
      display: block;
      margin-bottom: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    input, select, textarea {
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px 12px;
      background: #fff;
      color: var(--text);
      outline: none;
    }

    textarea {
      min-height: 42px;
      resize: vertical;
    }

    input:focus, select:focus, textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
    }

    .actions-row {
      display: flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .btn {
      border: 0;
      border-radius: 9px;
      padding: 10px 13px;
      font-weight: 700;
    }

    .file-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .file-input {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
    }

    .btn-primary {
      background: var(--primary);
      color: #fff;
    }

    .btn-primary:hover { background: var(--primary-dark); }

    .btn-secondary {
      background: var(--gray);
      color: #475569;
    }

    .btn-danger {
      background: #dc2626;
      color: #fff;
    }

    .btn-small {
      padding: 7px 9px;
      border-radius: 8px;
      font-size: 12px;
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .toolbar input {
      max-width: 420px;
    }

    .summary-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 18px;
    }

    .summary-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fff;
      padding: 14px;
      box-shadow: var(--shadow);
    }

    .summary-card span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .summary-card strong {
      display: block;
      margin-top: 7px;
      font-size: 23px;
    }

    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .chart-bars,
    .metric-list,
    .upcoming-list {
      display: grid;
      gap: 10px;
    }

    .chart-row {
      display: grid;
      grid-template-columns: 90px minmax(0, 1fr) 120px;
      gap: 10px;
      align-items: center;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .bar-track {
      height: 12px;
      overflow: hidden;
      border-radius: 999px;
      background: #dbeef6;
    }

    .bar-fill {
      height: 100%;
      border-radius: inherit;
      background: var(--primary);
    }

    .bar-fill.green { background: #16a34a; }
    .bar-fill.orange { background: #f97316; }

    .metric-item,
    .list-item {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 10px;
      background: color-mix(in srgb, var(--card) 92%, var(--primary) 8%);
      color: var(--text);
    }

    .list-item {
      display: grid;
      justify-content: stretch;
    }

    .list-item span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .empty.compact {
      padding: 8px;
      text-align: left;
    }

    body.dark-mode input,
    body.dark-mode select,
    body.dark-mode textarea,
    body.dark-mode table,
    body.dark-mode th,
    body.dark-mode .summary-card,
    body.dark-mode .card,
    body.dark-mode .modal,
    body.dark-mode .payment-summary > div {
      background: var(--card);
      color: var(--text);
    }

    .table-wrap {
      overflow-x: auto;
      border: 1px solid var(--border);
      border-radius: 12px;
    }

    table {
      width: 100%;
      min-width: 1100px;
      border-collapse: collapse;
      background: #fff;
    }

    th, td {
      padding: 11px;
      border-bottom: 1px solid var(--border);
      text-align: left;
      vertical-align: top;
      font-size: 13px;
    }

    th {
      background: #f8fafc;
      color: #475569;
      font-size: 11px;
      letter-spacing: .03em;
      text-transform: uppercase;
    }

    tbody tr:last-child td {
      border-bottom: 0;
    }

    .status {
      display: inline-flex;
      border-radius: 999px;
      padding: 5px 8px;
      font-size: 12px;
      font-weight: 800;
      white-space: nowrap;
    }

    .status.green { background: var(--green); color: var(--green-text); }
    .status.yellow { background: var(--yellow); color: var(--yellow-text); }
    .status.red { background: var(--red); color: var(--red-text); }
    .status.orange { background: var(--orange); color: var(--orange-text); }
    .status.gray { background: var(--gray); color: #475569; }

    .row-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      min-width: 190px;
    }

    .empty {
      padding: 26px 8px 10px;
      color: var(--muted);
      text-align: center;
      font-size: 14px;
    }

    .pagination {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 10px;
      margin-top: 12px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
    }

    .pagination[hidden] {
      display: none;
    }

    .pagination span {
      min-width: 116px;
      text-align: center;
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 10;
      display: none;
      place-items: center;
      padding: 18px;
      background: rgba(15, 23, 42, .54);
    }

    .modal-backdrop.open {
      display: grid;
    }

    .modal {
      width: min(860px, 100%);
      max-height: 88vh;
      overflow: auto;
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 18px 50px rgba(15, 23, 42, .24);
      padding: 18px;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
    }

    .modal-header h3 {
      margin: 0;
    }

    .modal-close {
      border: 0;
      border-radius: 8px;
      background: var(--gray);
      padding: 8px 10px;
      color: #475569;
      font-weight: 800;
    }

    .payment-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 10px;
      margin-bottom: 14px;
    }

    .payment-summary > div {
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 11px;
      background: #fafdfc;
    }

    .payment-summary span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .payment-summary strong {
      display: block;
      margin-top: 5px;
      font-size: 20px;
    }

    .inline-payment-form {
      display: grid;
      grid-template-columns: 1fr 1fr 1.6fr auto;
      gap: 9px;
      align-items: end;
      margin-bottom: 14px;
    }

    .muted {
      color: var(--muted);
    }

    @media (max-width: 980px) {
      .app {
        grid-template-columns: 1fr;
      }

      .sidebar {
        position: static;
        height: auto;
      }

      .nav {
        grid-template-columns: 1fr 1fr;
      }

      .sidebar-note {
        display: none;
      }

      .main {
        padding: 14px;
      }

      .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .dashboard-grid {
        grid-template-columns: 1fr;
      }

      .field,
      .field.wide {
        grid-column: span 6;
      }
    }

    @media (max-width: 640px) {
      .field,
      .field.wide {
        grid-column: 1 / -1;
      }

      .summary-grid,
      .payment-summary,
      .inline-payment-form {
        grid-template-columns: 1fr;
      }

      .topbar {
        flex-direction: column;
      }

      .pagination {
        justify-content: stretch;
      }

      .pagination .btn {
        flex: 1;
      }

      .pagination span {
        min-width: 88px;
      }

      .chart-row {
        grid-template-columns: 1fr;
        gap: 6px;
      }
    }

    /* Mobil görünüm iyileştirmeleri */
    @media (max-width: 760px) {
      body {
        padding-bottom: 0;
      }

      .app {
        display: block;
        min-height: 100vh;
      }

      .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 50;
        width: min(295px, 84vw);
        height: 100vh;
        padding: 18px 12px;
        display: flex;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 10px 0 26px rgba(15, 23, 42, .2);
      }

      #resetDemoButton {
        display: none;
      }

      body.mobile-menu-open .sidebar {
        transform: translateX(0);
      }

      .mobile-menu-button {
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 45;
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 0;
        border-radius: 10px;
        background: var(--primary);
        color: #fff;
        font-size: 24px;
        font-weight: 900;
        box-shadow: var(--shadow);
      }

      .sidebar-scrim {
        position: fixed;
        inset: 0;
        z-index: 49;
        display: none;
        background: rgba(2, 6, 23, .48);
      }

      body.mobile-menu-open .sidebar-scrim {
        display: block;
      }

      .nav {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        padding-bottom: 0;
        gap: 8px;
      }

      .nav button {
        min-height: 48px;
        padding: 10px 12px;
        text-align: left;
        font-size: 13px;
      }

      #backupButton,
      #logoutButton,
      #themeToggleButton {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin: 0;
        min-height: 38px;
        padding: 8px;
        font-size: 12px;
      }

      .main {
        padding: 68px 12px 12px;
      }

      .topbar {
        margin-bottom: 12px;
      }

      .topbar h2 {
        font-size: 22px;
      }

      .topbar p {
        font-size: 13px;
        line-height: 1.45;
      }

      .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 12px;
      }

      .summary-card {
        padding: 11px;
      }

      .summary-card span {
        font-size: 11px;
      }

      .summary-card strong {
        margin-top: 5px;
        font-size: 19px;
      }

      .card {
        margin-bottom: 12px;
        border-radius: 12px;
        padding: 12px;
      }

      .card-title {
        margin-bottom: 11px;
        font-size: 16px;
      }

      .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .field,
      .field.wide,
      .field.full {
        grid-column: 1 / -1;
      }

      input,
      select,
      textarea {
        min-height: 44px;
        font-size: 16px;
      }

      textarea {
        min-height: 70px;
      }

      .actions-row {
        display: grid;
        grid-template-columns: 1fr;
      }

      .actions-row .btn {
        width: 100%;
        min-height: 44px;
      }

      .toolbar {
        display: block;
      }

      .toolbar input {
        max-width: none;
        margin-bottom: 10px;
      }

      .legend {
        gap: 6px;
      }

      .pill {
        padding: 7px 9px;
        font-size: 12px;
      }

      .table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
      }

      table,
      .wide-table {
        min-width: 0;
        background: transparent;
      }

      table thead {
        display: none;
      }

      table,
      tbody,
      tr,
      td {
        display: block;
        width: 100%;
      }

      tbody tr {
        margin-bottom: 10px;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
      }

      td {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        border-bottom: 1px solid var(--border);
        padding: 9px 10px;
        text-align: right;
        line-height: 1.4;
      }

      td::before {
        content: attr(data-label);
        flex: 0 0 42%;
        color: var(--muted);
        text-align: left;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .02em;
        text-transform: uppercase;
      }

      td:last-child {
        border-bottom: 0;
      }

      td:last-child::before {
        display: none;
      }

      .row-actions {
        display: grid;
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
      }

      .row-actions .btn {
        width: 100%;
        min-height: 38px;
        padding: 7px 5px;
        font-size: 11px;
      }

      .modal-backdrop {
        place-items: end center;
        padding: 0;
      }

      .modal {
        width: 100%;
        max-height: 94vh;
        border-radius: 18px 18px 0 0;
        padding: 14px 12px 18px;
      }

      .modal-header {
        position: sticky;
        top: -14px;
        z-index: 2;
        margin: -14px -12px 12px;
        padding: 14px 12px 10px;
        background: #fff;
        border-bottom: 1px solid var(--border);
      }

      .payment-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
      }

      .payment-summary > div {
        padding: 9px 7px;
      }

      .payment-summary span {
        font-size: 10px;
      }

      .payment-summary strong {
        font-size: 15px;
      }

      .inline-payment-form {
        grid-template-columns: 1fr;
      }

      #payments-body .row-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }


    /* Filtre takip iletişim aksiyonları */
    .contact-link {
      border: 0;
      padding: 0;
      background: transparent;
      color: var(--primary);
      cursor: pointer;
      font-weight: 800;
      text-align: left;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .contact-link:hover {
      color: var(--primary-hover);
    }

    .btn-whatsapp {
      background: #16a34a;
      color: #ffffff;
    }

    .btn-whatsapp:hover {
      background: #15803d;
    }

    .btn-call {
      background: #2563eb;
      color: #ffffff;
    }

    .btn-call:hover {
      background: #1d4ed8;
    }

    .filter-actions {
      min-width: 292px;
    }

    @media (max-width: 760px) {
      .filter-actions {
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .contact-link {
        text-align: right;
        font-size: 14px;
      }
    }


    /* Demo giriş ekranı */
    .demo-login-card {
      width: min(470px, 100%);
    }

    .auth-badge {
      display: inline-flex;
      margin-bottom: 12px;
      border-radius: 999px;
      padding: 6px 9px;
      background: #dcfce7;
      color: #166534;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .demo-account-box {
      margin-top: 18px;
      border: 1px dashed var(--border);
      border-radius: 12px;
      padding: 13px;
      background: #f8fafc;
    }

    .demo-account-box strong {
      display: block;
      font-size: 14px;
    }

    .demo-account-box p {
      margin: 6px 0 10px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .demo-credential-button {
      display: grid;
      width: 100%;
      gap: 5px;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 11px;
      background: #ffffff;
      color: var(--text);
      text-align: left;
      font-size: 13px;
      line-height: 1.45;
    }

    .demo-credential-button:hover {
      border-color: var(--primary);
      background: #f0fdfa;
    }

    @media (max-width: 760px) {
      #logoutDemoButton {
        display: none;
      }
    }


    /* Masaüstü için geliştirilmiş demo giriş ekranı */
    .auth-page {
      min-height: 100vh;
      display: block;
      padding: 0;
      background:
        radial-gradient(circle at 10% 10%, rgba(20, 83, 79, .18), transparent 34%),
        radial-gradient(circle at 88% 85%, rgba(15, 118, 110, .12), transparent 30%),
        #eef5f3;
    }

    .login-shell {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
      width: min(1180px, calc(100% - 48px));
      min-height: 680px;
      margin: 32px auto;
      overflow: hidden;
      border: 1px solid rgba(217, 229, 226, .9);
      border-radius: 24px;
      background: #ffffff;
      box-shadow: 0 24px 70px rgba(15, 61, 58, .15);
    }

    .login-intro {
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
      padding: 58px;
      background:
        linear-gradient(145deg, rgba(15, 61, 58, .98), rgba(15, 118, 110, .93)),
        #0f3d3a;
      color: #ffffff;
    }

    .login-intro::after {
      content: "";
      position: absolute;
      right: -120px;
      bottom: -150px;
      width: 360px;
      height: 360px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 50%;
      box-shadow:
        0 0 0 52px rgba(255,255,255,.045),
        0 0 0 106px rgba(255,255,255,.028);
    }

    .login-intro-content {
      position: relative;
      z-index: 1;
      max-width: 600px;
    }

    .intro-badge {
      display: inline-flex;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 999px;
      padding: 7px 10px;
      background: rgba(255,255,255,.10);
      color: rgba(255,255,255,.92);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .12em;
    }

    .login-intro h1 {
      max-width: 580px;
      margin: 22px 0 14px;
      font-size: clamp(34px, 4vw, 50px);
      line-height: 1.08;
      letter-spacing: -.035em;
    }

    .login-intro p {
      max-width: 560px;
      margin: 0;
      color: rgba(255,255,255,.78);
      font-size: 16px;
      line-height: 1.7;
    }

    .feature-list {
      display: grid;
      gap: 14px;
      margin-top: 34px;
    }

    .feature-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    .feature-icon {
      display: grid;
      flex: 0 0 24px;
      width: 24px;
      height: 24px;
      place-items: center;
      border-radius: 50%;
      background: rgba(255,255,255,.16);
      color: #ffffff;
      font-size: 13px;
      font-weight: 900;
    }

    .feature-item strong,
    .feature-item small {
      display: block;
    }

    .feature-item strong {
      color: #ffffff;
      font-size: 14px;
    }

    .feature-item small {
      margin-top: 3px;
      color: rgba(255,255,255,.68);
      font-size: 12px;
      line-height: 1.45;
    }

    .login-panel {
      display: grid;
      place-items: center;
      padding: 42px;
      background: #ffffff;
    }

    .login-card {
      width: min(100%, 430px);
    }

    .login-card h2 {
      margin: 12px 0 0;
      color: var(--text);
      font-size: 30px;
      letter-spacing: -.025em;
    }

    .login-subtitle {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }

    .login-submit {
      margin-top: 2px;
    }

    .demo-account-box {
      margin-top: 18px;
      border: 1px dashed #b9d3ce;
      border-radius: 13px;
      padding: 13px;
      background: #f4fbf9;
    }

    .demo-account-header {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: center;
      margin-bottom: 10px;
    }

    .demo-account-header strong {
      font-size: 13px;
    }

    .demo-account-header span {
      color: var(--primary);
      font-size: 11px;
      font-weight: 800;
    }

    .demo-credential-button {
      display: grid;
      width: 100%;
      gap: 5px;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 11px;
      background: #ffffff;
      color: var(--text);
      text-align: left;
      font-size: 13px;
      line-height: 1.45;
      transition: .18s ease;
    }

    .demo-credential-button:hover {
      border-color: var(--primary);
      transform: translateY(-1px);
      box-shadow: 0 8px 18px rgba(15, 118, 110, .10);
    }

    @media (max-width: 860px) {
      .auth-page {
        padding: 16px;
      }

      .login-shell {
        display: block;
        width: 100%;
        min-height: auto;
        margin: 0;
        border-radius: 18px;
      }

      .login-intro {
        padding: 24px 20px;
      }

      .login-intro h1 {
        margin: 12px 0 8px;
        font-size: 26px;
      }

      .login-intro p {
        font-size: 13px;
        line-height: 1.55;
      }

      .feature-list {
        display: none;
      }

      .login-panel {
        padding: 22px 18px 24px;
      }

      .login-card {
        width: 100%;
      }

      .login-card h2 {
        font-size: 25px;
      }

      .demo-account-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }
    }
