body {
    overscroll-behavior-y: none; /* После этого свайп вниз не будет вызывать обновление страницы */
}

.tab-menu-item{
    min-width: 200px;
}

.table-btn{
    cursor: pointer;
}

.table-line{
    margin-top: 4px;
}

.q-toolbar{
    min-height: 0;
}

.min-table td, .min-table th{
    padding: 7px 5px;
    white-space: pre-wrap;
}

.q-bar--standard{
    padding: 20px 10px 5px 10px!important;
    height: auto!important;
}

.q-card__section {
    padding-top: 16px;
}

.btn-input{
    height: 56px;
}

.q-bar>div{
    margin-left:0;
}

.cell-table-default{
    vertical-align: top;
}

.dnd-table td{
    padding-top: 15px;
    padding-bottom: 15px;
}

.dnd-table{
    overflow: hidden;
}
.dnd-table th{
    min-width: 130px;
}
.dnd-table .drag-list{
    border: dotted #e1e1e1;height: 100%;
}

.dnd-table .drag-item{
    transition: transform .3s;
    cursor: move!important;
    border-radius: 4px;
    color: #FFF;
    margin-bottom: 6px;
    line-height: 50px;
    text-align: center;
    padding: 2px!important;
}

.sm-input .q-field__control{
    height: 20px;
}
.sm-input input{
    padding: 0 0;
}

.q-table .central{
    background-color: #ebebeb;
}


.bottom-action-panel {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.bottom-action-panel button{
    min-width: 40px!important;
}

.q-card__section{
    padding: 8px!important;
    font-family: monospace;
    font-size: larger;
}

.default-q-bar{
    flex-wrap: wrap;
    padding: 4px !important;
}

.no-copy{
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.brake-long-word{
    word-break: break-word;
}

.small-native-input{
    border: solid 1px #797474;
    max-width: 60px;
}



.deal-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    margin-bottom: 20px;
    overflow: hidden; /* чтобы скругления были общими */
}

.deal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.deal-table thead tr:first-child th {
    background: #f5f5f5;
    padding: 16px 12px;
    font-weight: 700;
    text-align: left;
}

.deal-table thead tr:nth-child(2) th {
    background: #fafafa;
    padding: 8px 16px;
    text-align: left;
}

.deal-table td {
    border-top: 1px solid #eaeaea;
    padding: 6px 16px;
}

/* Отдельный, но связанный блок ниже таблицы */
.deal-summary {
    border-top: 1px solid #eee; /* визуально отделяет от таблицы */
    background: #fafafa;
    padding: 12px 16px 16px;
}

.summary-row {
    margin-bottom: 6px;
}

.deal-comment {
    white-space: pre-wrap; /* сохраняем переносы строк */
    line-height: 1.4;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 6px;
    padding: 8px;
}

.weights-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px; /* row / column gap */
    align-items: start;
}

.weights-item{
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0; /* важно для q-input внутри грида */
}

.weights-index{
    width: 24px;
    flex: 0 0 24px;
    text-align: right;
    font-weight: 600;
    line-height: 1;
}

.weights-input{
    flex: 1 1 auto;
    min-width: 0; /* чтобы q-input не раздвигал колонку */
}
.store-pallet-palletizing-button{
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
}
.store-pallet-box {
    border: 1px solid rgba(128, 0, 0, 0.2);
    background-color: rgba(255, 165, 0, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* адаптив */
@media (max-width: 1024px){
    .weights-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pictures_wrap {
        max-width: 100% !important;
    }
}
@media (max-width: 600px){
    .weights-grid{ grid-template-columns: 1fr; }
}

.suggestions-container {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 4px;
}
.pictures_wrap {
    width: 700px;
    max-width: 700px;
    margin: 30px auto;
}

.pictures_wrap img {
    width: 100%;
    max-width: 100%;
}

.header-description {
    margin-bottom: 10px;
}
.form-header *{
    text-align: center;
}

.q-field__bottom--animated {
    position: static;
    transform: none;

}
.q-field--with-bottom {
    padding-bottom: 0;
}

.white {
    background-color: white;
    padding: 10px;
}
.check {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: #393CF5;
    border-radius: 50%;
    margin-bottom: 20px;
}
.check span:first-child {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 4px;
    background: white;
    transform: translateX(-50%) rotate(40deg) translateY(400%);
    border-radius: 2px;
}

.check span:last-child {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 50px;
    background: white;
    transform: translateX(-50%) rotate(30deg) translateY(-50%);
    border-radius: 2px;
}

.center-block {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.center-block-text {
    text-align: center;
    font-size: 16px;
}

.center-block-title {
    font-size: 18px;
    width: 60%;
    border-bottom: 1px solid #393CF5;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.center-block-subtitle {
    font-size: 14px;
    color: #737373;
    margin-bottom: 15px;
}

.social-block {
    width: 100%;
    padding: 15px;
    background-color: #F5F6F6;
    border-radius: 10px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-block-icons {
    display: flex;
    gap: 30px;
}
.social-block-text {
    text-align: center;
    font-size: 12px;
}

.q-field__bottom {
    padding: 3px 12px 0;
}

.header-link-b24-style {
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    font-size: 16.38px;
    word-break: break-word;
    letter-spacing: 0.6px;
    text-decoration: none;
    margin-bottom: 15px;
    color: inherit;
}

.header-link-b24-style:hover {
    text-decoration: underline;
}

#header-date-description {
    font-weight: bold;
    color: rgb(233, 60, 22);
    opacity: 0.8;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.h6-form {
    font-weight: 700;
    font-size: 14px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
    margin-top: 0;
}

.header-form-line {
    border-bottom: 1px solid rgba(82, 92, 105, 0.11);
}

.form-inputs .q-field--outlined .q-field__control {
    background-color: rgba(0, 0, 0, 0.05);
}

.suggestions-container,
.sug-address-form {
    position: relative;
    top: -15px;
}

.q-field--outlined .q-field__control:before {
    border-style: solid !important;
}

.new-order-form-btn {
    padding: 5px 20px;
    background-color: rgba(57, 60, 245, 0.2);
    cursor: pointer;
    border-radius: 3px;
}

.new-order-form-btn:hover {
    background-color: rgba(57, 60, 245, 0.4);
    transition: .3s;
}

.error-stop-list {
    padding: 8px;
    background-color: #ff3838;
    font-weight: bold;
    color: white;
    border-radius: 3px;
}