.vflt-soft-wrapper {
    --neo-border: 3px solid #111111;
    --neo-shadow: 5px 5px 0px #111111;
    --neo-shadow-active: 0px 0px 0px #111111;
    
    --bg-main: #fcfcfc;
    --bg-card: #ffffff;
    --clr-emerald: #2a9d8f;
    --clr-slate: #264653;
    --clr-orange: #f4a261;
    --clr-silver: #e9ecef;
    --clr-danger: #e76f51;

    max-width: 950px; 
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
    color: #111;
    background: var(--bg-main);
    padding: 25px;
    border: var(--neo-border);
    border-radius: 16px;
    box-shadow: var(--neo-shadow);
}
.vflt-soft-wrapper * { box-sizing: border-box; }

.vflt-soft-header {
    background: var(--clr-slate); padding: 20px; color: #fff;
    border: var(--neo-border); border-radius: 12px;
    text-align: center; margin-bottom: 25px; box-shadow: var(--neo-shadow);
}
.vflt-soft-header h2 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 900; text-transform: uppercase; color: var(--clr-emerald);}
.vflt-soft-header p { margin: 0; font-weight: 700; font-size: 0.95rem; }

.vflt-body { background: var(--bg-card); padding: 25px; border: var(--neo-border); border-radius: 12px; box-shadow: var(--neo-shadow); }

/* BỐ CỤC 2 CỘT */
.vflt-main-layout { display: flex; flex-direction: column; gap: 25px; }
.vflt-col { flex: 1; min-width: 0; }
@media (min-width: 768px) { .vflt-main-layout { flex-direction: row; align-items: flex-start; } }

.vflt-group { margin-bottom: 20px; }
.vflt-label { font-weight: 900; font-size: 1rem; margin-bottom: 10px; display: block; color: var(--clr-slate); }
.vflt-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Khung Upload */
.vflt-upload-box {
    background: var(--clr-emerald); border: 2px dashed #111; border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer; transition: 0.2s;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff;
}
.vflt-upload-box:hover { filter: brightness(0.95); }
.vflt-icon { font-size: 2.2rem; }
.vflt-filename { font-weight: 800; font-size: 0.95rem; word-break: break-all; }

/* Video Preview */
.vflt-video-container {
    width: 100%; border-radius: 12px; border: 2px solid #111; 
    overflow: hidden; background: #000; line-height: 0; box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5);
}
#vflt-player { width: 100%; height: auto; display: block; transition: filter 0.1s ease; }

.vflt-btn-compare {
    background: #fff; border: 2px solid #111; border-radius: 6px; padding: 4px 10px;
    font-size: 0.8rem; font-weight: 800; cursor: pointer; box-shadow: 2px 2px 0px #111;
}
.vflt-btn-compare:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0px #111; background: var(--clr-orange); color: #fff; }

/* SLIDERS */
.vflt-adjust-box {
    background: #f1f3f5; border: 2px solid #111; border-radius: 12px; padding: 15px;
    box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); margin-bottom: 15px; display: flex; flex-direction: column; gap: 15px;
}
.vflt-control-row { display: flex; flex-direction: column; gap: 8px; }
.vflt-control-label { font-size: 0.9rem; font-weight: 800; color: #333; }
.vflt-val-text { font-size: 0.95rem; font-weight: 900; color: #111; background: #fff; padding: 2px 8px; border-radius: 6px; border: 1px solid #111;}

.vflt-slider {
    -webkit-appearance: none; width: 100%; height: 10px; background: linear-gradient(to right, #a8dadc 0%, var(--clr-emerald) 100%);
    border: 2px solid #111; border-radius: 20px; outline: none;
}
/* Hiệu ứng cầu vồng cho thanh Hue */
.vflt-slider-hue {
    background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red);
}

.vflt-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--clr-slate); border: 2px solid #fff; cursor: pointer; box-shadow: 2px 2px 0px #111;
}

.vflt-btn-reset {
    background: #ddd; border: 2px solid #111; border-radius: 8px; font-weight: 800;
    padding: 8px; cursor: pointer; text-align: center; font-size: 0.9rem; transition: 0.1s;
}
.vflt-btn-reset:active { background: #bbb; box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2);}

/* Select Box */
.neo-select-wrapper { position: relative; }
.neo-select {
    width: 100%; appearance: none; background: #fff; border: 2px solid #111; border-radius: 8px;
    padding: 12px 15px; font-family: inherit; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; outline: none; box-shadow: 3px 3px 0px #111; color: #111;
}
.neo-select-wrapper::after { content: "▼"; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 1rem; color: #111; font-weight: bold; }

/* Nút Submit */
.vflt-btn-primary {
    width: 100%; padding: 18px; font-family: inherit; font-size: 1.15rem; font-weight: 900; text-transform: uppercase;
    background: var(--clr-emerald); border: var(--neo-border); border-radius: 12px; cursor: pointer;
    box-shadow: var(--neo-shadow); transition: 0.15s; color: #fff; margin-top: 5px;
}
.vflt-btn-primary:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: var(--neo-shadow-active); }
.vflt-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; filter: grayscale(1); box-shadow: none; transform: none; background: #ccc; color: #111;}

/* Progress */
.vflt-status-box { margin-top: 20px; padding: 20px; background: #fff; border: var(--neo-border); border-radius: 12px; text-align: center; box-shadow: 3px 3px 0px #111; }
.vflt-status-box h4 { margin: 0 0 10px 0; font-size: 1.05rem; font-weight: 900; color: #111; }
.vflt-progress-bar { width: 100%; height: 24px; background: #eee; border: 2px solid #111; border-radius: 50px; overflow: hidden; }
.vflt-progress-fill { width: 0%; height: 100%; background: var(--clr-emerald); transition: width 0.2s ease; border-right: 2px solid #111;}