.uvtc-discount {
    box-sizing: border-box;
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 32px);
    padding: 32px;
    overflow-y: auto;
    border: 1px solid #d7e4cc;
    border-radius: 20px;
    background: #fff;
    color: #1e2d3c;
    font: 16px/1.4 'Exo 2', sans-serif;
    box-shadow: 0 20px 70px #142d4350;
}
.uvtc-discount::backdrop { background: #1e2d3cb3; }
.uvtc-discount h2 { margin: 0 28px 24px 0; color: #0064aa; font-size: 26px; }
.uvtc-discount button, .uvtc-discount input { box-sizing: border-box; font: inherit; }
.uvtc-discount .uvtc-discount__close {
    position: absolute;
    right: 14px;
    top: 10px;
    display: block;
    width: 36px;
    height: 36px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: #f1f6eb;
    color: #0064aa;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
}
.uvtc-discount__close::before,
.uvtc-discount__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}
.uvtc-discount__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.uvtc-discount__label { display: block; color: #596567; }
.uvtc-discount__amount { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid #c9d9df; border-radius: 8px; background: #fff; color: #1e2d3c; font-size: 32px !important; font-weight: 600 !important; }
.uvtc-discount__error { margin: 5px 0 18px; color: #aa2929; font-size: 13px; }
.uvtc-discount__rate-heading { display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 600; }
.uvtc-discount__rate-heading output { color: #417300; font-size: 28px; }
.uvtc-discount__range { appearance: none; width: 100%; height: 12px; margin: 24px 0 16px; border-radius: 8px; background: linear-gradient(to right, #79b92d var(--progress), #e7eedf var(--progress)); cursor: pointer; }
.uvtc-discount__range::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; border: 3px solid #fff; border-radius: 50%; background: #0064aa; box-shadow: 0 1px 5px #1e2d3c55; }
.uvtc-discount__range::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid #fff; border-radius: 50%; background: #0064aa; box-shadow: 0 1px 5px #1e2d3c55; }
.uvtc-discount__ticks { display: flex; justify-content: space-between; color: #596567; font-size: 14px; }
.uvtc-discount__results { margin: 24px 0; padding: 22px; border: 1px solid #e2edcc; border-radius: 12px; background: linear-gradient(#f5ffe6, #ebfab9); }
.uvtc-discount__results output { display: block; margin-top: 6px; font-size: 32px; font-weight: 600; overflow-wrap: anywhere; }
.uvtc-discount__saving { color: #417300; }
.uvtc-discount__results hr { margin: 18px 0; border: 0; border-top: 1px solid #d7e4bb; }
.uvtc-discount__copy { width: 100%; padding: 14px 12px; border: 0; border-radius: 24px; background: linear-gradient(#64c8ff, #2d8eb7); color: #fff; font-weight: 600 !important; cursor: pointer; }
.uvtc-discount__copy:hover { background: linear-gradient(#7db92d, #417300); }
.uvtc-discount__copy:disabled { opacity: .5; cursor: default; }
.uvtc-discount :focus-visible { outline: 3px solid #0064aa; outline-offset: 3px; }
.uvtc-discount__status { margin: 10px 0 0; font-size: 14px; color: #417300; overflow-wrap: anywhere; }
.uvtc-discount__status:empty { display: none; }
@media (max-width: 480px) {
    .uvtc-discount { padding: 24px 18px; }
    .uvtc-discount h2 { font-size: 22px; }
    .uvtc-discount__amount, .uvtc-discount__results output { font-size: 27px !important; }
    .uvtc-discount__results { padding: 18px; }
}
