

/* Start:/local/components/mti/service_requests.list/templates/.default/style.css?17915365912977*/
    .care-center-service-detail {
        margin: 20px auto;
        color: #333;
    }

    .service-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 24px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .service-card__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .service-card__title h1 {
        margin: 0;
        font-size: 22px;
    }

    .service-card__date {
        color: #64748b;
        font-size: 14px;
    }

    .service-card__badge {
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: bold;
        font-size: 13px;
        background: #e2e8f0;
    }

    .service-card__badge.status-ready {
        background: #dcfce7;
        color: #15803d;
    }

    .service-card__badge.status-in_work {
        background: #e0f2fe;
        color: #0369a1;
    }

    .service-card__badge.status-issued {
        background: #f1f5f9;
        color: #475569;
    }

    .service-card__divider {
        border: none;
        border-top: 1px solid #e2e8f0;
        margin: 20px 0;
    }

    .service-card__section {
        margin-bottom: 24px;
    }

    .service-card__section h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: #0f172a;
        border-bottom: 2px solid #f1f5f9;
        padding-bottom: 4px;
    }

    .service-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
    }

    .service-grid__item.full-width {
        grid-column: span 2;
    }

    .service-grid__item .label {
        display: block;
        font-size: 12px;
        color: #64748b;
        margin-bottom: 2px;
    }

    .service-grid__item .value-text {
        background: #f8fafc;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 14px;
    }

    .service-grid__item .highlight {
        color: #2563eb;
        font-weight: bold;
    }


    .service-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 10px;
    }

    .service-gallery__item {
        display: block;
        width: 120px;
        height: 120px;
        border-radius: 6px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .service-gallery__item:hover {
        transform: scale(1.03);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .service-gallery__item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-file-link {
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        background: #f1f5f9;
        border-radius: 6px;
        color: #1e293b;
        text-decoration: none;
        font-size: 13px;
        border: 1px solid #cbd5e1;
    }

    .service-file-link:hover {
        background: #e2e8f0;
    }
/* End */


/* Start:/local/components/mti/service_requests.add/templates/.default/style.css?17917153817813*/
/* local/components/mti/service_requests.add/templates/.default/style.css */
.mti-service-request-add-wrapper {
    max-width: 760px;
    margin: 20px 0;
    padding: 28px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.mti-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

/* Инновационный блок ввода чека Checkbox */
.mti-checkbox-finder {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.mti-label-highlight {
    display: block;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 6px;
}

.mti-finder-input-group {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.mti-btn-fetch {
    background-color: #333338;
    color: #ffffff;
    border: none;
    padding: 0 22px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.25s ease;
}

.mti-btn-fetch:hover {
    background-color: #FF3B00;
}

.mti-hint {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.mti-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #0284c7;
    font-size: 14px;
    font-weight: 500;
}

.mti-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #0284c7;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Карточки товаров */
.mti-products-selection {
    margin-bottom: 24px;
}

.mti-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.mti-product-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.mti-product-card:hover:not(.disabled) {
    border-color: #FF3B00;
}

.mti-product-card.selected {
    border-color: #FF3B00;
    background: #fff7f5;
    box-shadow: 0 0 0 2px rgba(255, 59, 0, 0.2) !important;
}

.mti-product-card.disabled {
    opacity: 0.55;
    background: #f1f5f9;
    cursor: not-allowed;
}

.mti-card-body {
    cursor: pointer;
    width: 100%;
}

.mti-prod-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.mti-prod-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.mti-sale-date {
    color: #64748b;
}

.mti-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-success {
    background: #dcfce7;
    color: #15803d;
}

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}

/* Ошибки */
.mti-form-errors {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mti-form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.mti-error-msg {
    color: #dc2626;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* Основная форма */
.mti-form-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.mti-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 16px;
}

.mti-form-row {
    display: flex;
    gap: 16px;
}

.mti-form-row .mti-form-group {
    flex: 1;
}

.mti-form-group {
    margin-bottom: 16px;
}

.mti-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}

.req {
    color: #FF3B00;
}

/* Единый стиль полей ввода (синхронизирован с карточками) */
.mti-input,
.mti-file-input,
.mti-select,
.mti-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #121826;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 0 0 2px #f1f5f9 !important;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
}

.mti-input:hover,
.mti-file-input,
.mti-select:hover,
.mti-textarea:hover {
    border-color: #94a3b8;
}


.mti-input:focus,
.mti-select:focus,
.mti-textarea:focus {
    border-color: #FF3B00;
    box-shadow: 0 0 0 2px rgba(255, 59, 0, 0.2) !important;
    background-color: #ffffff;
}

.mti-textarea {
    resize: vertical;
}

.mti-form-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.mti-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #FF3B00;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #FF3B00;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 12px rgba(255, 59, 0, 0.2) !important;
}

.mti-btn-submit:hover {
    background-color: #333338;
    border-color: #333338;
    box-shadow: 0 4px 14px rgba(51, 51, 56, 0.35) !important;
}

.mti-btn-cancel {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.mti-btn-cancel:hover {
    color: #0f172a;
}

@media (max-width: 600px) {
    .mti-form-row {
        flex-direction: column;
        gap: 0;
    }

    .mti-finder-input-group {
        flex-direction: column;
    }

    .mti-btn-fetch {
        padding: 10px;
    }
}

.mti-input-readonly {
    background-color: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
    border-color: #cbd5e1;
    box-shadow: none;
}

.mti-input-readonly:focus {
    border-color: #cbd5e1;
    box-shadow: none;
}

.mti-file-input {
    width: 100%;
    padding: 6px 10px;
    /* Немного уменьшим вертикальный отpadding, чтобы кнопка внутри смотрелась гармонично */
    font-size: 14px;
    color: #475569;
    /* Цвет текста выбранных файлов */
    background-color: #f1f5f9;
    /* Требуемый фон блока */
    border: 1px solid #cbd5e1;
    box-shadow: 0 0 0 2px #f1f5f9 !important;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
    cursor: pointer;
}

.mti-file-input:hover {
    border-color: #94a3b8;
}

.mti-file-input:focus {
    border-color: #FF3B00;
    box-shadow: 0 0 0 2px rgba(255, 59, 0, 0.2) !important;
    background-color: #ffffff;
}

/* Стилизация самой кнопки выбора файла внутри инпута (Chrome, Edge, Safari) */
.mti-file-input::-webkit-file-upload-button {
    background-color: #FF3B00;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 12px;
    transition: background-color 0.2s ease;
}

.mti-file-input::-webkit-file-upload-button:hover {
    background-color: #e03400;
    /* Чуть темнее при наведении на кнопку */
}

/* Стилизация кнопки для Firefox */
.mti-file-input::file-selector-button {
    background-color: #FF3B00;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 12px;
    transition: background-color 0.2s ease;
}

.mti-file-input::file-selector-button:hover {
    background-color: #e03400;
}
/* End */
/* /local/components/mti/service_requests.list/templates/.default/style.css?17915365912977 */
/* /local/components/mti/service_requests.add/templates/.default/style.css?17917153817813 */
