.dsc-fix-floating-button,
.dsc-fix-inline-button,
.dsc-fix-submit,
.dsc-fix-whatsapp {
    appearance: none;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.dsc-fix-floating-button {
    align-items: center;
    background: var(--dsc-fix-brand, #0b5fad);
    bottom: 24px;
    box-shadow: 0 12px 34px rgba(6, 44, 82, .28);
    color: var(--dsc-fix-button-text, #fff);
    display: flex;
    font-size: 15px;
    gap: 9px;
    min-height: 52px;
    padding: 10px 19px 10px 11px;
    position: fixed;
    z-index: 99990;
}

.dsc-fix-position-left { left: 24px; }
.dsc-fix-position-right { right: 24px; }

.dsc-fix-floating-button:hover,
.dsc-fix-floating-button:focus,
.dsc-fix-inline-button:hover,
.dsc-fix-inline-button:focus,
.dsc-fix-submit:hover,
.dsc-fix-submit:focus {
    box-shadow: 0 16px 38px rgba(6, 44, 82, .34);
    color: var(--dsc-fix-button-text, #fff);
    transform: translateY(-2px);
}

.dsc-fix-floating-icon {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    display: flex;
    font-size: 17px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.dsc-fix-modal {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 999999;
}

.dsc-fix-modal.is-open { display: flex; }

.dsc-fix-backdrop {
    animation: dscFixFade .2s ease both;
    backdrop-filter: blur(5px);
    background: rgba(5, 20, 38, .72);
    inset: 0;
    position: absolute;
}

.dsc-fix-dialog {
    animation: dscFixRise .26s ease both;
    background: var(--dsc-fix-surface, #fff);
    border-radius: 22px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
    max-height: calc(100vh - 48px);
    max-width: var(--dsc-fix-dialog-width, 720px);
    overflow: auto;
    position: relative;
    width: 100%;
    z-index: 1;
}

.dsc-fix-close {
    align-items: center;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 26px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
    z-index: 4;
}

.dsc-fix-close:hover,
.dsc-fix-close:focus { background: rgba(255, 255, 255, .28); }

.dsc-fix-modal-header,
.dsc-fix-page-heading {
    background: linear-gradient(135deg, var(--dsc-fix-brand, #0b5fad), #073763);
    color: var(--dsc-fix-header-text, #fff);
}

.dsc-fix-logo {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(7, 35, 63, .15);
    display: block;
    margin: 0 0 13px;
    max-height: 58px;
    max-width: 190px;
    object-fit: contain;
    padding: 7px 10px;
}

.dsc-fix-modal-header {
    border-radius: 22px 22px 0 0;
    padding: 30px 64px 26px 30px;
}

.dsc-fix-modal-header h2,
.dsc-fix-page-heading h2 {
    color: var(--dsc-fix-header-text, #fff);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 10px 0 9px;
}

.dsc-fix-modal-header p,
.dsc-fix-page-heading p {
    color: var(--dsc-fix-header-text, #fff);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    max-width: 620px;
}

.dsc-fix-badge {
    background: var(--dsc-fix-badge-bg, #ffb02e);
    border-radius: 999px;
    color: var(--dsc-fix-badge-text, #102a43);
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    padding: 7px 10px;
}

.dsc-fix-modal-body { padding: 25px 30px 28px; }

.dsc-fix-form-shell {
    box-sizing: border-box;
    color: var(--dsc-fix-text, #1f2937);
    font-family: var(--dsc-fix-font, inherit);
}

.dsc-fix-context-page {
    background: var(--dsc-fix-surface, #fff);
    border: 1px solid #e3e9ef;
    border-radius: 22px;
    box-shadow: 0 18px 56px rgba(14, 52, 86, .11);
    margin: 24px auto;
    max-width: 820px;
    overflow: hidden;
}

.dsc-fix-context-page .dsc-fix-page-heading { padding: 36px 40px 32px; }
.dsc-fix-context-page .dsc-fix-form { padding: 32px 40px 38px; }
.dsc-fix-context-page .dsc-fix-success { padding: 52px 40px; }

.dsc-fix-grid {
    display: grid;
    gap: 17px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dsc-fix-span-2 { grid-column: 1 / -1; }

.dsc-fix-field {
    display: block;
    margin: 0;
}

.dsc-fix-field > span {
    color: var(--dsc-fix-text, #27384a);
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 7px;
}

.dsc-fix-field strong { color: #c62828; }
.dsc-fix-field small { color: #697887; font-weight: 500; }

.dsc-fix-field input,
.dsc-fix-field select,
.dsc-fix-field textarea {
    background: var(--dsc-fix-field-bg, #f8fafc);
    border: 1px solid #cfdae5;
    border-radius: 10px;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--dsc-fix-field-text, #142334);
    font-family: inherit;
    font-size: 15px;
    height: 46px;
    line-height: 1.2;
    margin: 0;
    outline: none;
    padding: 0 13px;
    width: 100%;
}

.dsc-fix-field textarea {
    height: auto;
    line-height: 1.5;
    min-height: 92px;
    padding-bottom: 11px;
    padding-top: 11px;
    resize: vertical;
}

/* Override themes that force form text to white. */
body .dsc-fix-form .dsc-fix-field input:not([type="checkbox"]),
body .dsc-fix-form .dsc-fix-field select,
body .dsc-fix-form .dsc-fix-field select option,
body .dsc-fix-form .dsc-fix-field textarea {
    color: var(--dsc-fix-field-text, #142334) !important;
    -webkit-text-fill-color: var(--dsc-fix-field-text, #142334) !important;
    caret-color: var(--dsc-fix-field-text, #142334) !important;
    opacity: 1 !important;
}

body .dsc-fix-form .dsc-fix-field select option {
    background: #fff !important;
}

body .dsc-fix-form .dsc-fix-field input::placeholder {
    color: #718096 !important;
    -webkit-text-fill-color: #718096 !important;
    opacity: 1 !important;
}

body .dsc-fix-form .dsc-fix-field textarea::placeholder {
    color: #718096 !important;
    -webkit-text-fill-color: #718096 !important;
    opacity: 1 !important;
}

body .dsc-fix-form .dsc-fix-field input:-webkit-autofill,
body .dsc-fix-form .dsc-fix-field input:-webkit-autofill:hover,
body .dsc-fix-form .dsc-fix-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--dsc-fix-field-bg, #f8fafc) inset !important;
    -webkit-text-fill-color: var(--dsc-fix-field-text, #142334) !important;
    caret-color: var(--dsc-fix-field-text, #142334) !important;
}

.dsc-fix-field select { cursor: pointer; }

.dsc-fix-field input:focus,
.dsc-fix-field select:focus,
.dsc-fix-field textarea:focus {
    background: #fff;
    border-color: var(--dsc-fix-brand, #0b5fad);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--dsc-fix-brand, #0b5fad) 15%, transparent);
}

.dsc-fix-field input[aria-invalid="true"],
.dsc-fix-field select[aria-invalid="true"],
.dsc-fix-field textarea[aria-invalid="true"] {
    border-color: #c62828;
}

.dsc-fix-consent {
    align-items: flex-start;
    color: var(--dsc-fix-text, #46576a);
    cursor: pointer;
    display: flex;
    font-size: 12px;
    gap: 10px;
    line-height: 1.5;
    margin: 20px 0 15px;
}

.dsc-fix-consent input {
    accent-color: var(--dsc-fix-brand, #0b5fad);
    flex: 0 0 auto;
    height: 17px;
    margin: 2px 0 0;
    width: 17px;
}

.dsc-fix-consent a { color: var(--dsc-fix-brand, #0b5fad); }

.dsc-fix-submit,
.dsc-fix-inline-button {
    background: var(--dsc-fix-brand, #0b5fad);
    color: var(--dsc-fix-button-text, #fff);
    font-size: 15px;
    min-height: 48px;
    padding: 12px 24px;
}

.dsc-fix-field > .dsc-fix-custom-checkbox {
    align-items: flex-start;
    color: var(--dsc-fix-text, #1f2937);
    display: flex;
    font-size: 13px;
    font-weight: 500;
    gap: 8px;
    line-height: 1.45;
    margin: 10px 0 0;
}

.dsc-fix-custom-checkbox input {
    accent-color: var(--dsc-fix-brand, #0b5fad);
    flex: 0 0 auto;
    height: 17px;
    margin: 1px 0 0;
    width: 17px;
}

.dsc-fix-submit { width: 100%; }

.dsc-fix-submit:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.dsc-fix-safe-note {
    color: #718096;
    font-size: 11px;
    margin: 10px 0 0;
    text-align: center;
}

.dsc-fix-notice {
    border-radius: 9px;
    display: none;
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 13px;
    padding: 10px 12px;
}

.dsc-fix-notice.is-error {
    background: #fff0f0;
    border: 1px solid #ffc9c9;
    color: #9b1c1c;
    display: block;
}

.dsc-fix-notice.is-info {
    background: #edf7ff;
    border: 1px solid #bee3f8;
    color: #154e75;
    display: block;
}

.dsc-fix-success {
    padding: 26px 14px 20px;
    text-align: center;
}

.dsc-fix-success-icon {
    align-items: center;
    background: #e8f7ef;
    border-radius: 50%;
    color: #16845b;
    display: flex;
    font-size: 28px;
    font-weight: 900;
    height: 64px;
    justify-content: center;
    margin: 0 auto 16px;
    width: 64px;
}

.dsc-fix-success h3 {
    color: #172b3e;
    font-size: 25px;
    margin: 0 0 8px;
}

.dsc-fix-success p {
    color: #56697c;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 auto 20px;
    max-width: 480px;
}

.dsc-fix-whatsapp {
    background: #16845b;
    color: #fff;
    display: inline-flex;
    padding: 12px 20px;
}

.dsc-fix-whatsapp:hover,
.dsc-fix-whatsapp:focus { color: #fff; transform: translateY(-1px); }

.dsc-fix-hp {
    height: 0 !important;
    left: -10000px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: auto !important;
    width: 0 !important;
}

body.dsc-fix-modal-open { overflow: hidden; }

@keyframes dscFixFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dscFixRise {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
    .dsc-fix-modal { align-items: flex-end; padding: 0; }
    .dsc-fix-dialog { border-radius: 20px 20px 0 0; max-height: 94vh; }
    .dsc-fix-modal-header { border-radius: 20px 20px 0 0; padding: 25px 56px 20px 20px; }
    .dsc-fix-modal-header h2 { font-size: 25px; }
    .dsc-fix-modal-body { padding: 21px 20px 24px; }
    .dsc-fix-grid { grid-template-columns: 1fr; }
    .dsc-fix-span-2 { grid-column: auto; }
    .dsc-fix-floating-button { bottom: 16px; font-size: 14px; min-height: 48px; }
    .dsc-fix-position-left { left: 14px; }
    .dsc-fix-position-right { right: 14px; }
    .dsc-fix-context-page { border-radius: 16px; }
    .dsc-fix-context-page .dsc-fix-page-heading { padding: 28px 22px 24px; }
    .dsc-fix-context-page .dsc-fix-form { padding: 24px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .dsc-fix-backdrop,
    .dsc-fix-dialog { animation: none; }
    .dsc-fix-floating-button,
    .dsc-fix-inline-button,
    .dsc-fix-submit,
    .dsc-fix-whatsapp { transition: none; }
}
