[id$="status-cont"].kv-editable{
    display: block !important;
}
.table-sm th, .table-sm td{
    padding: 0rem 0.3rem !important;
  vertical-align: middle !important;
}
[id$="status-cont"].kv-editable > button {
    width: 100%;
    border: none !important;
    /* border: none !important;
    padding: 0px;
  box-shadow: 0px 0px 5px black; */
  padding: 1px 0px;
}
.content-wrapper{
    /* background-image: url(/web/images/background.png);
    background-size: cover;
    background-position: center; */
}
.card{
    background-color: #ffffff80 !important;
}
@media screen and (min-width: 450px) {
    .content-header h1{
        font-weight: bold;
        color: #6c757d;
        text-shadow: 0px 0px 10px #b0b0b0;
    }
}
@media screen and (max-width: 450px) {
    .main-header.navbar{
        position: absolute;
        width: 100%;
        background: transparent;
        border: none;
    }
    .main-header.navbar .nav-link{
        color: black !important;
    }
    .content-wrapper{
        background-position: top;
        background-size: contain;
    }
    .footer_form{
        position: fixed;
        width: 100%;
        left: 0px;
        padding-bottom: 20px;
        background: white;
        bottom: 0px;
        margin-bottom: 0px !important;
    }
}

.btn-success{
    color: #333333 !important;
    font-weight: bold !important;
    background: white !important;
    border-color: #99FF99 !important;
    border-width: 2px !important;
    box-shadow: 2px 2px 7px #0000005c !important;
}
.btn-warning{
    color: #333333 !important;
    font-weight: bold !important;
    background: white !important;
    border-color: #FFFF99 !important;
    border-width: 2px !important;
    box-shadow: 2px 2px 7px #0000005c !important;
}
.btn-onkron-default {
  background-color: #f8f9fa !important;
  border-color: #808080 !important;
  border-width: 3px !important;
  font-size: 1.2rem !important;
  color: black !important;
}
.alert-onkron-info{
    color: light-dark(#4D4D4D, #ababab);
    background-color: #FFF;
    border: 3px solid #00d1d1 !important;
    font-weight: bold;
    border-radius: 11px !important;
    box-shadow: 0px 5px 10px #9c9c9c;
    text-align: center;
}
.alert-onkron-danger{
    color: light-dark(#4D4D4D, #ababab) !important;
    background-color: #FFF !important;
    border: 3px solid #FF3333 !important;
    font-weight: bold;
    border-radius: 11px !important;
    box-shadow: 0px 5px 10px #9c9c9c;
    text-align: center;
}
.alert-onkron-warning{
    color: light-dark(#4D4D4D, #ababab);
  background-color: #FFF;
  border: 3px solid yellow !important;
  font-weight: bold;
  border-radius: 11px !important;
    text-align: center;
}
@media screen and (max-width: 550px) {
    .content-header, .content-header div{
        padding: 0px !important;
        margin: 0px !important;
    }
    .content-header {
        background-color: light-dark(rgb(128, 128, 128), rgb(127, 127, 127));
        color: #00d1d1;
        text-align: center;
        padding: 10px !important;
        border-radius: 0px 0px 10px 10px;
        border-bottom: 2px solid black;
        border-left: 2px solid black;
        border-right: 2px solid black;
        margin-bottom: 20px !important;
    }
    .content-header nav {
        display: none;
    }
    .content-wrapper{
        background-position: top;
        background-size: contain;
    }
}

.alert-onkron-success, .alert-success {
    color: #fff !important;
    background-color: green !important;
    border-color: green !important;
}
.btn-onkron-danger, .alert-onkron-danger {
    color: #000 !important;
    background: #fff !important;
    border-color: #dc3545 !important;
 transition: all 0.25s !important;
}

.btn-onkron-danger.red {
    color: #fff !important;
    background: #dc3545 !important;
    border-color: #b02a37 !important;
}

/* =============================================
   ФОРМА ПРИЁМКИ ВОЗВРАТА — мобильный режим
   ============================================= */

.return-form-mobile, .select2-search__field{
    font-size: 1.15rem;
}

/* Карточка */
.return-form-mobile > .row > div > .card {
    border-radius: 12px !important;
    box-shadow: 0 2px 14px rgba(0,0,0,0.10) !important;
    border: none !important;
    background: #fff !important;
}
.return-form-mobile > .row > div > .card > .card-header {
    border-radius: 12px 12px 0 0 !important;
    background: #f0fafa !important;
    border-bottom: 2px solid #00D1D1 !important;
    padding: 14px 18px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #333 !important;
}
.return-form-mobile .card-body {
    padding: 20px 16px !important;
}

/* Лейблы */
.return-form-mobile label.control-label,
.return-form-mobile .field-ordersreturn-delivery label,
.return-form-mobile .field-ordersreturn-tracking label,
.return-form-mobile .field-ordersreturn-amazon label,
.return-form-mobile .field-ordersreturn-serial label,
.return-form-mobile .field-ordersreturn-barcode label,
.return-form-mobile .field-ordersreturn-sku label,
.return-form-mobile .field-ordersreturn-category label,
.return-form-mobile .field-ordersreturn-qr_order label,
.return-form-mobile .field-ordersreturn-original_karton label {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #222 !important;
    display: block !important;
}

/* Текстовые input */
.return-form-mobile .form-control {
    font-size: 1.15rem !important;
    height: 54px !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    border: 2px solid #d0d5db !important;
    background: #fff !important;
    color: #222 !important;
    transition: border-color 0.15s !important;
    box-shadow: none !important;
}
.return-form-mobile .form-control:focus {
    border-color: #00D1D1 !important;
    box-shadow: 0 0 0 3px rgba(0,209,209,0.18) !important;
    outline: none !important;
}

/* Select2 — kartik использует select2-container--bootstrap */
.return-form-mobile .select2-container--bootstrap .select2-selection--single {
    height: 54px !important;
    padding: 13px 36px 13px 14px !important;
    border-radius: 8px !important;
    border: 2px solid #d0d5db !important;
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
}
.return-form-mobile .select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    font-size: 1.15rem !important;
    line-height: 26px !important;
    color: #222 !important;
    padding: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.return-form-mobile .select2-container--bootstrap .select2-selection--single .select2-selection__placeholder {
    color: #aaa !important;
    font-size: 1.05rem !important;
}
.return-form-mobile .select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 12px !important;
    width: 16px !important;
}
.return-form-mobile .select2-container--bootstrap.select2-container--open .select2-selection--single,
.return-form-mobile .select2-container--bootstrap.select2-container--focus .select2-selection--single {
    border-color: #00D1D1 !important;
    box-shadow: 0 0 0 3px rgba(0,209,209,0.18) !important;
}

/* Dropdown опции крупнее */
.select2-container--bootstrap .select2-results__option {
    font-size: 1.1rem !important;
    padding: 10px 14px !important;
    line-height: 1.4 !important;
}

/* Чекбокс */
.return-form-mobile .checkbox label {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding-left: 10px !important;
    line-height: 1.5 !important;
    cursor: pointer;
}
.return-form-mobile .checkbox input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin-top: 2px !important;
    cursor: pointer;
}

/* Отступы */
.return-form-mobile .form-group {
    margin-bottom: 1.5rem !important;
}

/* Ошибки */
.return-form-mobile .help-block {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
}

/* Кнопки действий — два рядом по 50% */
.return-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.return-btn-group .btn.btn-return-action, .btn.btn-return-action, .btn-return-action {
    flex: 1 !important;
    min-height: 58px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border-width: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    padding: 0 10px !important;
}

/* Степпер */
.return-stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 20px;
    padding: 0 4px;
}
.return-stepper::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 13%;
    right: 13%;
    height: 3px;
    background: #dee2e6;
    z-index: 0;
}
.return-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.return-step__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e9ecef;
    color: #adb5bd;
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #dee2e6;
}
.return-step__label {
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 5px;
    color: #adb5bd;
    line-height: 1.2;
}
.return-step.step-done .return-step__circle {
    background: #28a745;
    color: #fff;
    box-shadow: 0 0 0 2px #28a745;
}
.return-step.step-done .return-step__label { color: #28a745; }

.return-step.step-active .return-step__circle {
    background: #00D1D1;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0,209,209,0.28);
}
.return-step.step-active .return-step__label { color: #009999; }

/* Саммари */
.return-summary {
    background: #f0fafa;
    border-left: 4px solid #00D1D1;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 0.98rem;
    color: #495057;
}
.return-summary .summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    align-items: center;
}
.return-summary .summary-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.return-summary .summary-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.return-summary .summary-value {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

/* Klärfall — секция-переключатель */
.klaerfall-section {
    border: 2px solid #ffc107;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}
.klaerfall-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff9e0;
    cursor: pointer;
    user-select: none;
}
.klaerfall-toggle input[type="checkbox"] {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #e6a800;
}
.klaerfall-toggle-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #856404;
    line-height: 1.3;
}
.klaerfall-toggle-label small {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    color: #a07000;
    margin-top: 2px;
}
.klaerfall-body {
    padding: 16px;
    background: #fffef5;
    border-top: 2px solid #ffc107;
}

/* Grund чекбоксы */
.klaerfall-grund-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4px 0;
}
.klaerfall-grund-list li {
    margin-bottom: 10px;
}
.klaerfall-grund-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.klaerfall-grund-item:has(input:checked) {
    border-color: #e6a800;
    background: #fffbec;
}
.klaerfall-grund-item input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
    margin-top: 1px;
    cursor: pointer;
    accent-color: #e6a800;
}
.klaerfall-grund-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}
/* Ошибки внутри klärfall-body */
.klaerfall-body .has-error .help-block,
.klaerfall-body .help-block {
    color: #dc3545;
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 6px;
    display: block;
}
.klaerfall-body .has-error .klaerfall-grund-list .klaerfall-grund-item {
    border-color: #f5c6cb;
}
