.oem-catalog-form__fields {
    display: grid;
    gap: 16px;
}

.oem-catalog-form__field {
    display: grid;
    gap: 8px;
}

.oem-catalog-form__label {
    display: inline-flex;
    gap: 4px;
    color: #414141;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.oem-catalog-form__required {
    color: #164194;
}

.oem-catalog-form__control {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid #d9dee8;
    border-radius: 6px;
    background: #ffffff;
    color: #1e1e1e;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.oem-catalog-form textarea.oem-catalog-form__control {
    min-height: 132px;
    resize: vertical;
}

.oem-catalog-form input[type="file"].oem-catalog-form__control {
    padding: 12px 14px;
}

.oem-catalog-form__control:focus {
    border-color: #164194;
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 65, 148, 0.12);
}

.oem-catalog-form__actions {
    margin-top: 20px;
}

.oem-catalog-form__submit {
    min-width: 180px;
    min-height: 52px;
    padding: 12px 28px;
    border: 0;
    border-radius: 6px;
    background: #164194;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.oem-catalog-form__submit:hover {
    background: #0e2e6a;
}

.oem-catalog-form__message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.oem-catalog-form__message--success {
    background: #edf8ef;
    color: #23643c;
}

.oem-catalog-form__message--error {
    background: #fff1f1;
    color: #9b1c1c;
}

.oem-catalog-modal {
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 32px;
    border: 0;
    border-radius: 8px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #fff;
    color: #1e1e1e;
}
.oem-catalog-modal:not([open]) { display: none; }
.oem-catalog-modal::backdrop { background: rgba(0, 0, 0, 0.6); }
.oem-catalog-modal #catalog-request-title { padding-right: 32px; margin: 0 0 24px; }
.oem-catalog-modal .oem-catalog-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #414141;
    font-size: 30px;
    line-height: 36px;
    cursor: pointer;
}
html.oem-catalog-modal-open { overflow: hidden; }
@media (max-width: 480px) {
    .oem-catalog-modal { padding: 24px 18px; }
    .oem-catalog-form__submit { width: 100%; min-width: 0; }
}
