
/* MOLLED SALESREP MOBILE ALL V1 */

@media (max-width:900px) {

  html.molled-salesrep-clean,
  html.molled-salesrep-clean body {
    max-width:100%;
  }

  html.molled-salesrep-clean .srp,
  html.molled-salesrep-clean .srp-content,
  html.molled-salesrep-clean .srp-main {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  html.molled-salesrep-clean .srp-content *,
  html.molled-salesrep-clean .srp-main * {
    box-sizing:border-box;
  }

  /* Kartlar */
  html.molled-salesrep-clean .srp-customers,
  html.molled-salesrep-clean .srp-orders,
  html.molled-salesrep-clean .srp-invoices {
    max-width:100%!important;
    min-width:0!important;
  }

  html.molled-salesrep-clean .srp-customer,
  html.molled-salesrep-clean .srp-order,
  html.molled-salesrep-clean .srp-order-box {
    max-width:100%!important;
    min-width:0!important;
    overflow-wrap:anywhere;
  }

  /* Formlar */
  html.molled-salesrep-clean .srp-form-grid,
  html.molled-salesrep-clean .srp-detail-grid {
    grid-template-columns:minmax(0,1fr)!important;
    max-width:100%!important;
  }

  html.molled-salesrep-clean .srp input,
  html.molled-salesrep-clean .srp select,
  html.molled-salesrep-clean .srp textarea {
    max-width:100%!important;
    min-width:0!important;
  }

  /* Yeni Siparis */
  html.molled-salesrep-clean .srp-new-order {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    max-width:100%!important;
    gap:14px!important;
  }

  html.molled-salesrep-clean .srp-new-order > div {
    min-width:0!important;
    max-width:100%!important;
  }

  html.molled-salesrep-clean .srp-product-row,
  html.molled-salesrep-clean .srp-cart-row {
    max-width:100%!important;
    min-width:0!important;
    overflow-wrap:anywhere;
  }

  /* Tablolar: kendi alanlarinda kaydir */
  html.molled-salesrep-clean .srp table {
    max-width:none;
  }

  html.molled-salesrep-clean .srp .molled-srp-table-scroll {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
  }

  /* Acilir pencereler */
  html.molled-salesrep-clean .srp-modal {
    max-width:100vw!important;
    box-sizing:border-box!important;
  }

  html.molled-salesrep-clean .srp-modal > div {
    max-width:calc(100vw - 24px)!important;
    min-width:0!important;
    max-height:calc(100dvh - 24px)!important;
    overflow-y:auto!important;
    box-sizing:border-box!important;
  }

  /* Butonlar */
  html.molled-salesrep-clean .srp button,
  html.molled-salesrep-clean .srp .srp-btn {
    max-width:100%;
  }
}

@media (max-width:480px) {

  html.molled-salesrep-clean .srp-content {
    padding-left:10px!important;
    padding-right:10px!important;
  }

  html.molled-salesrep-clean .srp-order-box,
  html.molled-salesrep-clean .srp-customer {
    border-radius:12px!important;
  }

  html.molled-salesrep-clean .srp input,
  html.molled-salesrep-clean .srp select,
  html.molled-salesrep-clean .srp textarea {
    font-size:16px!important;
  }
}
