.alert-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.alert-sm .close {
    position: relative !important;
    padding: 0 !important;
}

.mw-min-content {
    max-width: min-content !important;
}

.h-min-content {
    height: min-content !important;
}

#client-info-body tr td {
    padding: 0px;
    border: 0;
}

.client-info-title {
    padding-left: 5px !important;
}

.client-info-text {
    padding-left: 5px !important;
    border-right: 1px solid #86cfda !important;
    margin-right: 5px !important;
}

.comment_block tr td {
    border: 0;
    padding: 0px 5px !important;
}

.custom-card-header-title {
    text-align: center;
    font-weight: bold;
    color: #3614CC;
}

.item-info-table-body tr td {
    padding: 0px;
    border: 0;
    white-space: nowrap;
}

.table-center-text {
    vertical-align: middle !important;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.radio-inline {
    margin-bottom: 0px;
}

.w-15 {
    width: 15%;
}

.bootselect {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.MessageBlock {
    width: 100%;
    height: 520px;
    overflow: auto;
    vertical-align: top;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
}

.cursor-pointer {
    cursor: pointer;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.border-right-1 {
    border-right: 1px solid #dfdfdf !important;
}

.border-bottom-1 {
    border-bottom: 1px solid #dfdfdf !important;
}

::-ms-clear {
    display: none;
}

.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.has-clear {
    position: relative;
    margin-bottom: 0px !important;
}

.form-control-feedback {
    position: absolute;
    top: calc(50% - 0.75rem);
    right: 0.5rem;
    font-size: 1rem;
}

.selectize-dropdown {
    min-width: max-content;
}

.form-control.selectize-control .selectize-dropdown .selectize-dropdown-content {
    font-size: 12px !important;
}

.option {
    font-size: 12px !important;
}

.pay-status-button {
    position: absolute;
    right: 1px;
    padding: 8px;
    line-height: 9px;
    top: 0;
    border-radius: 0;
}

.button_loading {
    position: absolute;
    background: inherit;
    opacity: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .2rem;
    color: inherit;
}

.modal-fullscreen {
    max-width: 100%;
    /* height: 100%; */
    margin: 0;
    top: 0;
    left: 0;
}

.sim_table_border tr td {
    border: 1px solid #dfdfdf;
}

.red{
    background-color: #fdd;
}

.dropdown-item.disabled {
    /* background-color: rgb(223, 223, 223); */
    color: #0055af;
    text-align: center;
}

.dropdown-item.selected {
    background-color: #007bff;
    color: #fff;
}


/* Только общие стили */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.4;
            padding: 12px;
            font-size: 14px;
        }
        
        .container {
            max-width: 100%;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        
        header {
            background: #2c3e50;
            color: white;
            padding: 16px;
            text-align: center;
        }
        
        header h1 {
            font-size: 18px;
            font-weight: 600;
        }
        
        .tabs {
            display: flex;
            background: #34495e;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .tab {
            padding: 12px 16px;
            color: white;
            cursor: pointer;
            transition: background 0.2s;
            white-space: nowrap;
            border-bottom: 3px solid transparent;
            font-size: 13px;
            flex-shrink: 0;
            text-decoration: none;
        }
        
        .tab:hover {
            background: #3d566e;
            text-decoration: none;
            color: white;
        }
        
        .tab.active {
            background: #3498db;
            border-bottom: 3px solid #2980b9;
        }
        
        .tab-content {
            padding: 20px;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        h2 {
            margin-bottom: 16px;
            color: #2c3e50;
            border-bottom: 1px solid #ecf0f1;
            padding-bottom: 8px;
            font-size: 16px;
            font-weight: 600;
        }
        
        h3 {
            margin: 0 0 12px;
            color: #3498db;
            font-size: 15px;
            font-weight: 600;
        }
        
        .form-group {
            margin-bottom: 16px;
        }
        
        label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 13px;
        }
        
        input, select, textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            transition: border 0.2s;
        }
        
        input:focus, select:focus, textarea:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 3px rgba(52, 152, 219, 0.3);
        }
        
 
        
        .actions {
            display: flex;
            justify-content: space-between;
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid #ecf0f1;
        }

        /* Мобильная оптимизация */
        @media (max-width: 768px) {
            body {
                padding: 8px;
                font-size: 13px;
            }
            
            .container {
                border-radius: 6px;
            }
            
            header {
                padding: 12px;
            }
            
            header h1 {
                font-size: 16px;
            }
            
            .tab {
                padding: 10px 12px;
                font-size: 12px;
            }
            
            .tab-content {
                padding: 16px;
            }
            
            h2 {
                font-size: 15px;
                margin-bottom: 12px;
            }
            
            h3 {
                font-size: 14px;
                margin: 16px 0 10px;
            }
            
            .form-group {
                margin-bottom: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .tabs {
                flex-direction: column;
            }
            
            .tab {
                border-bottom: 1px solid #3d566e;
                text-align: center;
            }
        }