/* Ortak kasa kabuğunda alanlar/ped ve kaymayan alt eylem bandı. */
@media screen {
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] {
    width: 940px;
    height: 635px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 16px 24px 12px;
    --kasa-govde-pay: 0;
  }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] > .dialog-top {
    margin-bottom: 4px;
    padding-bottom: 0;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #modal-title { flex: 0 0 auto; }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #modal-close { order: 1; }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #pos-pencere-bildirim-yeri:not([hidden]) { flex: 1; order: 0; }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #modal-body {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    overflow: hidden;
  }
  .tezgah-pos #modal #fx-send-description {
    flex: none;
    margin: 0 0 12px;
    font-size: var(--y-14);
    line-height: 1.4;
    color: var(--soluk);
  }
  .tezgah-pos #modal #fx-send-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin: 0;
    gap: 12px;
  }
  .tezgah-pos #modal #fx-send-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-rows: minmax(0, 1fr);
    gap: 24px;
    flex: 1;
    min-height: 0;
  }
  .tezgah-pos #modal #fx-send-main.fx-send-cek { grid-template-columns: minmax(0, 1fr); }
  .tezgah-pos #modal #fx-send-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    padding: 6px;
    margin: 0;
    scroll-padding: 6px;
  }
  .tezgah-pos #modal #fx-send-fields > div { flex: none; min-width: 0; }
  .tezgah-pos #modal #fx-send-fields label {
    display: block;
    margin: 0 0 4px;
    font-size: var(--y-14);
    line-height: 1.3;
    color: var(--soluk);
  }
  .tezgah-pos #modal #fx-send-fields .field {
    width: 100%;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    margin: 0;
    font-size: var(--y-18);
    background-color: var(--yuzey-1);
  }
  .tezgah-pos #modal #fx-send-fields #fx-send-amount {
    height: 64px;
    min-height: 64px;
    font-size: var(--y-28);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
  }
  .tezgah-pos #modal #fx-send-limit { margin: 4px 0 0; font-size: var(--y-14); line-height: 1.4; color: var(--soluk); }
  .tezgah-pos #modal #fx-send-limit:empty,
  .tezgah-pos #modal #fx-send-approval:empty { display: none; }
  .tezgah-pos #modal #fx-send-pad {
    display: flex;
    flex-direction: column;
    align-self: start;
    height: 100%;
    max-height: 340px;
    min-height: 0;
    padding: 12px;
    border: 1px solid var(--cizgi);
    border-radius: var(--kose-o);
    background: var(--yuzey-2);
  }
  .tezgah-pos #modal #fx-send-pad > p { margin: 0 0 12px; font-size: var(--y-14); color: var(--soluk); }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #number-pad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    flex: 1;
    min-height: 0;
    gap: 8px;
    margin: 0;
    scroll-margin: 0;
  }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #number-pad button {
    height: 100%;
    min-height: 44px;
    padding: 8px;
    margin: 0;
    font-size: var(--y-26);
  }
  .tezgah-pos #modal #fx-send-actions {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 340px;
    gap: 12px;
    align-items: center;
    flex: none;
    border-top: 1px solid var(--cizgi);
    padding-top: 12px;
  }
  .tezgah-pos #modal #fx-send-cancel { min-height: 56px; margin: 0; }
  .tezgah-pos #modal #fx-send-summary {
    display: flex;
    align-items: center;
    min-height: 56px;
    margin: 0;
    padding: 8px 12px;
    font-size: var(--y-16);
    line-height: 1.35;
    color: var(--siyah);
    background: var(--yuzey-2);
    border-radius: var(--kose-o);
    overflow-wrap: anywhere;
  }
  .tezgah-pos #modal #fx-send-save {
    position: static;
    width: 100%;
    height: 76px;
    min-height: 76px;
    margin: 0;
    font-size: var(--y-21);
    box-shadow: none;
  }
  .tezgah-pos #modal #fx-send-fields > #fx-send-checks-wrap {
    flex: 1;
    min-height: 80px;
    overflow: auto;
  }
  .tezgah-pos #modal #fx-send-checks-box label { display: flex; min-height: 56px; align-items: center; }
  .tezgah-pos #modal #fx-send-fields > .cash-approval { margin: 0; }
}
@media screen and (max-height: 700px) {
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] { padding-top: 8px; padding-bottom: 8px; }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] > .deneme-pencere-isareti { margin-block: 0; }
  .tezgah-pos #modal #fx-send-main { gap: 16px; }
  .tezgah-pos #modal #fx-send-fields { gap: 8px; }
  .tezgah-pos #modal #fx-send-pad > p { margin-bottom: 8px; }
  .tezgah-pos #modal[data-kasa-pencere='doviz-cikar'] #number-pad { gap: 4px; }
  .tezgah-pos #modal #fx-send-form { gap: 8px; }
  .tezgah-pos #modal #fx-send-actions { padding-top: 8px; }
}
@media screen and (max-width: 760px) {
  .tezgah-pos #modal #fx-send-main { display: flex; flex-direction: column; overflow: auto; }
  .tezgah-pos #modal #fx-send-fields { flex: none; overflow: visible; }
  .tezgah-pos #modal #fx-send-pad { width: 100%; }
  .tezgah-pos #modal #fx-send-actions { grid-template-columns: 112px minmax(0, 1fr); }
  .tezgah-pos #modal #fx-send-summary { grid-column: 1 / -1; grid-row: 1; }
}
