.feedback-editor-section {
    --feedback-primary: #0051bb;
    --feedback-primary-strong: #264fc9;
    --feedback-primary-soft: #eef3ff;
    --feedback-ink: #101828;
    --feedback-muted: #667085;
    --feedback-border: #dce5f2;
    --feedback-surface: #ffffff;
    --feedback-soft: #f8faff;
    width: 100%;
    min-width: 0;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-family: "Montserrat", "Inter", system-ui, sans-serif;
}

.feedback-editor-section:last-of-type {
    margin-bottom: 0;
}

.feedback-editor-section .feedback-editor-accordion,
.feedback-editor-section .feedback-editor-card {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.feedback-editor-section .feedback-editor-card {
    overflow: hidden;
    border: 1px solid var(--feedback-border) !important;
    border-radius: 14px !important;
    background: var(--feedback-surface);
    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.045) !important;
}

.feedback-editor-section .feedback-editor-button {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: var(--feedback-ink) !important;
    box-shadow: none !important;
}

.feedback-editor-section .feedback-editor-button:not(.collapsed) {
    background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%) !important;
}

.feedback-editor-section .feedback-editor-button::after {
    display: none !important;
}

.feedback-editor-section .feedback-editor-button::before {
    order: 3;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: 2px;
    border: 1px solid #d8e3f5;
    border-radius: 10px;
    background-color: #f2f6ff;
    box-shadow: none !important;
}

.feedback-editor-section .feedback-editor-button:not(.collapsed)::before {
    border-color: #0051bb;
    background-color: #0051bb;
    box-shadow: 0 6px 14px rgba(49, 93, 222, 0.2) !important;
}

.feedback-editor-section .feedback-editor-button:focus-visible {
    outline: 0 !important;
    box-shadow: inset 0 0 0 2px var(--feedback-primary) !important;
}

.feedback-editor-heading-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce6f8;
    border-radius: 11px;
    background: linear-gradient(145deg, #f4f7ff, #edf3ff);
    color: var(--feedback-primary);
}

.feedback-editor-heading-icon svg {
    width: 19px;
    height: 19px;
}

.feedback-editor-heading-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
    text-align: left;
}

.feedback-editor-title,
.feedback-editor-subtitle {
    display: block;
    min-width: 0;
}

.feedback-editor-title {
    color: var(--feedback-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.feedback-editor-subtitle {
    color: var(--feedback-muted);
    font-size: 13px;
    font-weight: 400;
}

.feedback-required-note {
    order: 2;
    min-height: 24px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #cbd9fb;
    border-radius: 999px;
    background: #eef3ff;
    color: #3155be;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.feedback-editor-section .feedback-editor-body {
    padding: 12px 14px 14px !important;
    border-top: 1px solid #edf1f7;
    background: #ffffff;
}

.feedback-type-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.feedback-type-fieldset-head {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.feedback-type-fieldset-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.feedback-type-fieldset-title {
    display: block;
    color: var(--feedback-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

#feedback-type-help {
    color: var(--feedback-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.feedback-type-count {
    min-height: 24px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #dbe4f3;
    border-radius: 999px;
    background: #f6f8fc;
    color: #53627a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.feedback-type-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.feedback-type-option {
    min-width: 0;
}

.feedback-type-choice {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #d9e3f1;
    border-radius: 11px;
    background: #ffffff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.feedback-type-check {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd6e5;
    border-radius: 50%;
    background: #f8fafc;
    color: transparent;
}

.feedback-type-check svg {
    width: 12px;
    height: 12px;
}

.feedback-type-option .btn-check:checked+.feedback-type-choice {
    border-color: var(--feedback-primary);
    background: linear-gradient(135deg, #eef3ff, #f7f9ff);
    color: #294fc5;
    box-shadow: inset 0 0 0 1px rgba(49, 93, 222, 0.12), 0 5px 13px rgba(49, 93, 222, 0.08);
}

.feedback-type-option .btn-check:checked+.feedback-type-choice .feedback-type-check {
    border-color: var(--feedback-primary);
    background: var(--feedback-primary);
    color: #ffffff;
}

@media (hover: hover) {
    .feedback-type-option .btn-check:not(:checked)+.feedback-type-choice:hover {
        border-color: #aebfeb;
        background: #f8faff;
        color: #294fc5;
    }
}

.feedback-type-option .btn-check:focus-visible+.feedback-type-choice {
    outline: 3px solid rgba(49, 93, 222, 0.22) !important;
    outline-offset: 2px;
}

.feedback-type-error,
.company-field-error {
    margin: 7px 0 0;
    color: #d92d20;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.4;
}

.feedback-type-error[hidden],
.company-field-error:empty {
    display: none;
}

.has-feedback-error .feedback-type-list {
    padding: 4px;
    border: 1px solid #f7b8b2;
    border-radius: 13px;
    background: #fff8f7;
}

.company-info-body {
    display: grid;
    gap: 10px;
}

.company-info-group {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e1e8f3;
    border-radius: 12px;
    background: linear-gradient(145deg, #fbfcff 0%, #ffffff 74%);
}

.company-info-group-head {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
}

.company-info-group-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef3ff;
    color: var(--feedback-primary);
}

.company-info-group-icon svg {
    width: 17px;
    height: 17px;
}

.company-info-group-head>span:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.company-info-group-head h3,
.company-info-group-head p {
    margin: 0;
}

.company-info-group-head h3 {
    color: var(--feedback-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.company-info-group-head p {
    color: var(--feedback-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.company-logo-field {
    min-width: 0;
    margin-bottom: 11px;
}

.company-info-card-wrap .form-label {
    display: block;
    margin: 0 0 6px;
    color: #0d0d0d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}

.company-logo-field .upload-container {
    position: relative;
    min-width: 0;
}

.company-logo-field .company-logo-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0;
}

.company-logo-field .custom-upload-btn,
.company-logo-field .company-logo-selected {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #d8e3f2;
    border-radius: 11px;
    background: #ffffff;
    box-sizing: border-box;
}

.company-logo-field .custom-upload-btn {
    display: flex;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.company-logo-field .company-logo-input:focus-visible+input+.custom-upload-btn,
.company-logo-field .company-logo-input:focus-visible~.custom-upload-btn {
    outline: 3px solid rgba(49, 93, 222, 0.22) !important;
    outline-offset: 2px;
    border-color: var(--feedback-primary);
}

@media (hover: hover) {
    .company-logo-field .custom-upload-btn:hover {
        border-color: #aec0ed;
        background: #f8faff;
    }
}

.company-logo-upload-icon,
.company-logo-selected-preview {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #eef3ff;
    color: var(--feedback-primary);
}

.company-logo-upload-icon svg {
    width: 20px;
    height: 20px;
}

.company-logo-selected-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 3px;
    box-sizing: border-box;
}

.company-logo-upload-copy,
.company-logo-selected-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 3px;
    text-align: left;
}

.company-logo-upload-title,
.company-logo-selected-copy .file-name {
    min-width: 0;
    overflow: hidden;
    color: var(--feedback-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-logo-upload-subtitle,
.company-logo-selected-subtitle {
    min-width: 0;
    overflow: hidden;
    color: var(--feedback-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-logo-upload-action,
.company-logo-field .pdf-close-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-radius: 10px;
}

.company-logo-upload-action {
    display: inline-flex;
    border: 1px solid #d1ddf2;
    background: #f5f8ff;
    color: var(--feedback-primary);
}

.company-logo-upload-action svg,
.company-logo-field .pdf-close-btn svg {
    width: 18px;
    height: 18px;
}

.company-logo-field .company-logo-selected {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: auto !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    text-align: left;
    display: none;
}

.company-logo-field .company-logo-selected span {
    float: none !important;
    width: auto;
    line-height: normal;
    -webkit-box-orient: initial;
}

.company-logo-field .company-logo-selected .company-logo-selected-preview {
    width: 42px !important;
    height: 42px;
    display: inline-flex !important;
    flex: 0 0 42px;
}

.company-logo-field .company-logo-selected .company-logo-selected-copy {
    width: auto !important;
    display: grid !important;
    flex: 1 1 auto;
}

.company-logo-field .company-logo-selected .file-name,
.company-logo-field .company-logo-selected .company-logo-selected-subtitle {
    width: 100% !important;
    display: block !important;
}

.company-logo-field .upload-container.has-file .custom-upload-btn {
    display: none;
}

.company-logo-field .upload-container.has-file .company-logo-selected {
    display: flex;
}

.company-logo-field .pdf-close-btn {
    display: none;
    border: 1px solid #f4c2bd;
    background: #fff7f6;
    color: #d92d20;
    box-shadow: none;
}

.company-logo-field .upload-container.has-file .pdf-close-btn {
    display: inline-flex;
}

.company-logo-field .pdf-close-btn:hover {
    border-color: #e98b81;
    background: #fff0ee;
}

.company-logo-field .pdf-close-btn:focus-visible {
    outline: 3px solid rgba(217, 45, 32, 0.18) !important;
    outline-offset: 2px;
}

.company-fields-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.company-field {
    position: relative;
    min-width: 0;
}

.company-field.is-full {
    grid-column: 1 / -1;
}

#create-qrcode-form .company-info-card-wrap .form-control {
    width: 100%;
    min-width: 0;
    height: 42px !important;
    min-height: 42px !important;
    padding: 9px 11px;
    border: 1px solid #d8e1ee;
    border-radius: 10px;
    background: #ffffff;
    color: var(--feedback-ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: none;
}

#create-qrcode-form .company-info-card-wrap .company-info-textarea {
    height: 76px !important;
    min-height: 76px !important;
    resize: vertical;
}

#create-qrcode-form .company-info-card-wrap .form-control::placeholder {
    color: #98a2b3;
}

#create-qrcode-form .company-info-card-wrap .form-control:focus {
    border-color: var(--feedback-primary);
    box-shadow: 0 0 0 3px rgba(49, 93, 222, 0.13);
}

#create-qrcode-form .company-info-card-wrap .form-control.is-invalid {
    border-color: #e56a60;
}

#create-qrcode-form.was-validated .company-info-card-wrap .form-control:valid:not(.is-invalid) {
    padding-right: 11px !important;
    border-color: #d8e1ee !important;
    background-image: none !important;
    box-shadow: none;
}

#create-qrcode-form.was-validated .company-info-card-wrap .form-control:valid:not(.is-invalid):focus {
    border-color: var(--feedback-primary) !important;
    box-shadow: 0 0 0 3px rgba(49, 93, 222, 0.13);
}

.company-field-hint {
    display: block;
    margin-top: 5px;
    color: #7b879a;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    text-align: right;
}

@media (prefers-reduced-motion: reduce) {
    .feedback-editor-section *,
    .feedback-editor-section *::before,
    .feedback-editor-section *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 575.98px) {
    .feedback-editor-section {
        margin-bottom: 8px;
    }
    .feedback-editor-section .feedback-editor-card {
        border-radius: 13px !important;
        box-shadow: 0 6px 18px rgba(30, 58, 138, 0.04) !important;
    }
    .feedback-editor-section .feedback-editor-button {
        min-height: 60px;
        gap: 8px;
        padding: 9px 10px !important;
    }
    .feedback-editor-heading-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
    }
    .feedback-editor-title {
        font-size: 13px;
    }
    .feedback-editor-subtitle {
        font-size: 10px;
    }
    .feedback-editor-section .feedback-editor-button::before {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
    }
    .feedback-editor-section .feedback-editor-body {
        padding: 10px !important;
    }
    .feedback-type-fieldset-head {
        align-items: flex-start;
        margin-bottom: 8px;
    }
    .feedback-type-list {
        gap: 6px;
    }
    .feedback-type-choice {
        min-height: 46px;
        gap: 5px;
        padding: 7px 5px;
        border-radius: 10px;
        font-size: 12px;
    }
    .feedback-type-check {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }
    .company-info-group {
        padding: 10px;
    }
    .company-fields-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }
    .company-field.is-full {
        grid-column: auto;
    }
    .company-logo-field .custom-upload-btn,
    .company-logo-field .company-logo-selected {
        min-height: 60px;
    }
    #create-qrcode-form .company-info-card-wrap .form-control {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 16px;
    }
    #create-qrcode-form .company-info-card-wrap .company-info-textarea {
        height: 84px !important;
        min-height: 84px !important;
        font-size: 16px;
    }
    .company-logo-upload-action,
    .company-logo-field .pdf-close-btn {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (max-width: 359.98px) {
    .feedback-editor-subtitle,
    .company-logo-upload-subtitle {
        display: none;
    }
    .feedback-editor-section .feedback-editor-button {
        gap: 6px;
        padding-inline: 8px !important;
    }
    .feedback-required-note,
    .feedback-editor-section .qr-optional-note {
        min-height: 22px !important;
        padding-inline: 6px !important;
        font-size: 11px !important;
    }
    .feedback-type-fieldset-head {
        flex-wrap: wrap;
    }
    .feedback-type-choice {
        gap: 3px;
        padding-inline: 3px;
        font-size: 11px;
    }
}