.video-resizer-page .vr-preview {
    background: #15161d;
    background-image: none;
}

.video-resizer-page .vr-preview video {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 510px;
    height: auto;
    border-radius: 8px;
    background: #090a0e;
}

.video-resizer-page .vr-controls {
    margin-top: 8px;
}

.video-resizer-page .vr-presets {
    margin-bottom: 19px;
}

.video-resizer-page .vr-dimensions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.video-resizer-page .vr-dimension-field {
    display: grid;
    gap: 7px;
    color: #494b61;
    font-size: 12px;
    font-weight: 700;
}

.video-resizer-page .vr-dimension-field__input {
    display: flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid var(--ir-border);
    border-radius: 8px;
    background: #fff;
}

.video-resizer-page .vr-dimension-field input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    outline: 0;
    color: var(--ir-ink);
    font: inherit;
    font-size: 13px;
}

.video-resizer-page .vr-dimension-field input:focus-visible {
    box-shadow: 0 0 0 3px rgba(98, 84, 232, .18);
}

.video-resizer-page .vr-dimension-field__input small {
    padding: 0 10px 0 4px;
    color: #85879a;
    font-size: 10px;
}

.video-resizer-page .vr-ratio-toggle {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin: 13px 0 5px;
    color: #5f6174;
    font-size: 12px;
    cursor: pointer;
}

.video-resizer-page .vr-ratio-toggle input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--ir-brand);
}

.video-resizer-page .vr-export-settings {
    margin-top: 13px;
}

.video-resizer-page .vr-cancel {
    margin-top: 10px;
    background: #f0eff6;
    color: #4f5064;
}

.video-resizer-page .vr-cancel:hover:not(:disabled) {
    background: #e7e5f0;
    color: #28293b;
}

.video-resizer-page .vr-download {
    text-decoration: none;
}

.video-resizer-page .vr-progress-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    align-items: center;
    margin-top: 18px;
    color: #5f6174;
    font-size: 11px;
}

.video-resizer-page .vr-progress-wrap label {
    font-weight: 700;
}

.video-resizer-page .vr-progress-wrap progress {
    grid-column: 1;
    width: 100%;
    height: 7px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #eeedf5;
    accent-color: var(--ir-brand);
}

.video-resizer-page .vr-progress-wrap progress::-webkit-progress-bar {
    border-radius: 999px;
    background: #eeedf5;
}

.video-resizer-page .vr-progress-wrap progress::-webkit-progress-value {
    border-radius: 999px;
    background: var(--ir-brand);
}

.video-resizer-page .vr-progress-wrap progress::-moz-progress-bar {
    border-radius: 999px;
    background: var(--ir-brand);
}

.video-resizer-page .vr-progress-wrap output {
    grid-column: 2;
    grid-row: 2;
    color: var(--ir-brand);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575px) {
    .video-resizer-page .vr-preview video {
        max-height: 420px;
    }

    .video-resizer-page .vr-presets {
        grid-template-columns: 1fr;
    }
}
