*{
    box-sizing:border-box;
}

:root{
    --ink:#17212b;
    --muted:#68737e;
    --line:#e3e7eb;
    --soft:#f4f6f8;
    --white:#fff;
    --accent:#17212b;
    --accent-2:#334155;
    --success:#147a55;
    --danger:#b42318;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--soft);
    color:var(--ink);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    line-height:1.55;
}

a{
    color:inherit;
}

button,
input,
select{
    font:inherit;
}

main{
    min-height:calc(100vh - 170px);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(12px);
}

.nav-wrap{
    max-width:1180px;
    margin:auto;
    padding:13px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:var(--ink);
}

.brand-mark{
    width:40px;
    height:40px;
    border-radius:12px;
    background:var(--ink);
    color:#fff;
    display:grid;
    place-items:center;
    font-size:13px;
    font-weight:900;
    letter-spacing:.05em;
}

.brand strong{
    display:block;
    font-size:15px;
    line-height:1.1;
}

.brand small{
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:2px;
}

.site-nav{
    display:flex;
    align-items:center;
    gap:5px;
}

.site-nav a{
    padding:9px 12px;
    border-radius:9px;
    text-decoration:none;
    font-size:14px;
    font-weight:650;
    color:#46515c;
}

.site-nav a:hover,
.site-nav a.active{
    background:#f0f2f4;
    color:var(--ink);
}

.site-nav .nav-cta{
    background:var(--ink);
    color:#fff;
    padding:10px 15px;
    margin-left:6px;
}

.nav-toggle{
    display:none;
    border:1px solid var(--line);
    background:#fff;
    border-radius:10px;
    padding:8px;
    cursor:pointer;
}

.nav-toggle span{
    display:block;
    width:21px;
    height:2px;
    background:var(--ink);
    margin:4px;
    border-radius:2px;
}


/* =========================================================
   GENERAL / HOME
   ========================================================= */

.shell{
    margin:0 auto;
}

.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    margin-bottom:28px;
}

.eyebrow{
    font-size:11px;
    font-weight:800;
    letter-spacing:.14em;
    color:#66727d;
    text-transform:uppercase;
}

.hero h1{
    margin:7px 0;
    font-size:clamp(30px,5vw,44px);
    line-height:1.12;
    letter-spacing:-.03em;
}

.hero p{
    margin:0;
    color:var(--muted);
    max-width:650px;
}

.card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
    padding:26px;
}

.grid3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

label{
    font-size:13px;
    font-weight:700;
    color:#46515c;
}

input,
select{
    display:block;
    width:100%;
    margin-top:7px;
    padding:13px 14px;
    border:1px solid #ccd3da;
    border-radius:10px;
    font-size:15px;
    background:#fff;
    color:var(--ink);
    outline:none;
}

input:focus,
select:focus{
    border-color:#64748b;
    box-shadow:0 0 0 3px rgba(100,116,139,.12);
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    background:var(--ink);
    color:#fff;
    text-decoration:none;
    padding:12px 18px;
    border-radius:10px;
    font-weight:750;
    cursor:pointer;
    transition:.18s ease;
}

.btn:hover{
    background:#334155;
    transform:translateY(-1px);
}

.btn.secondary{
    background:#fff;
    color:var(--ink);
    border:1px solid #ccd3da;
}

.btn.success{
    background:var(--success);
}

.search-card .btn{
    margin-top:20px;
}

.notice{
    margin-top:18px;
    background:#fff6e6;
    border:1px solid #f0d6a0;
    padding:14px;
    border-radius:12px;
}

.result-card{
    margin-top:20px;
}

.result-head{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
}

.result-head h2{
    margin:7px 0 4px;
}

.result-head p{
    margin:0;
    color:var(--muted);
}

.summary{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:24px;
    border-top:1px solid #edf0f2;
    padding-top:20px;
}

.summary div{
    padding:0 15px;
    border-right:1px solid #edf0f2;
}

.summary div:first-child{
    padding-left:0;
}

.summary div:last-child{
    border:0;
}

.summary span{
    display:block;
    color:#6b7280;
    font-size:12px;
}

.summary strong{
    display:block;
    margin-top:5px;
    font-size:17px;
}


/* =========================================================
   CONTENT PAGES
   ========================================================= */

.section{
    padding:18px 0 55px;
}

.section-title{
    margin:0 0 8px;
    font-size:30px;
    letter-spacing:-.02em;
}

.section-lead{
    margin:0 0 24px;
    color:var(--muted);
    max-width:760px;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.feature{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:22px;
}

.feature-icon{
    width:42px;
    height:42px;
    border-radius:12px;
    background:#f0f2f4;
    display:grid;
    place-items:center;
    font-weight:900;
    margin-bottom:15px;
}

.feature h3{
    margin:0 0 6px;
    font-size:17px;
}

.feature p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}

.content-card{
    max-width:900px;
    margin:0 auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:32px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.content-card h1{
    margin-top:0;
    font-size:34px;
    line-height:1.15;
}

.content-card h2{
    margin-top:28px;
    font-size:21px;
}

.content-card p,
.content-card li{
    color:#55616d;
}

.content-card li{
    margin-bottom:7px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
    background:#fff;
    border-top:1px solid var(--line);
    margin-top:50px;
}

.footer-grid{
    max-width:1180px;
    margin:auto;
    padding:42px 20px 30px;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:30px;
}

.footer-brand{
    margin-bottom:12px;
}

.footer-copy{
    max-width:330px;
    color:var(--muted);
    font-size:13px;
}

.footer-grid h3{
    font-size:13px;
    margin:4px 0 10px;
}

.footer-grid>div>a:not(.brand){
    display:block;
    text-decoration:none;
    color:var(--muted);
    font-size:13px;
    margin:7px 0;
}

.footer-grid>div>a:not(.brand):hover{
    color:var(--ink);
}

.footer-bottom{
    max-width:1180px;
    margin:auto;
    border-top:1px solid var(--line);
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:#7a858e;
    font-size:12px;
}


/* =========================================================
   IMAGE COMPRESSOR
   ========================================================= */

.compressor-page{
    max-width:1050px;
    margin:0 auto;
    padding:40px 20px 55px;
}

.compressor-intro{
    max-width:720px;
    margin:0 auto 26px;
    text-align:center;
}

.compressor-intro h1{
    margin:8px 0;
    font-size:clamp(28px,4vw,40px);
    line-height:1.15;
    letter-spacing:-.025em;
}

.compressor-intro p{
    margin:0;
    color:var(--muted);
    line-height:1.6;
}


/* Upload area */

.compressor-upload{
    background:#fff;
    border:2px dashed #cbd3da;
    border-radius:16px;
    padding:34px 20px;
    text-align:center;
    cursor:pointer;
    transition:.18s ease;
}

.compressor-upload:hover,
.compressor-upload.drag-active{
    border-color:#17212b;
    background:#f8fafc;
}

.upload-icon{
    width:52px;
    height:52px;
    margin:0 auto 12px;
    border-radius:14px;
    background:#f0f2f4;
    display:grid;
    place-items:center;
    font-size:22px;
    font-weight:800;
}

.compressor-upload h2{
    margin:0 0 5px;
    font-size:19px;
}

.compressor-upload p{
    margin:0 0 15px;
    color:var(--muted);
    font-size:13px;
}

.upload-formats{
    margin-top:10px;
    color:#8a949d;
    font-size:11px;
}


/* Selected files summary */

.selected-summary{
    margin-top:14px;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
    border-radius:12px;
    padding:11px 13px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.selected-summary-left{
    display:flex;
    align-items:center;
    gap:10px;
}

.selected-check{
    width:32px;
    height:32px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#dcfce7;
    color:#15803d;
    font-weight:900;
    flex:0 0 32px;
}

.selected-summary strong{
    display:block;
    color:#166534;
    font-size:12px;
}

.selected-summary span{
    display:block;
    color:#4b6353;
    font-size:11px;
    margin-top:1px;
}

.clear-selected{
    border:1px solid #d1d5db;
    background:#fff;
    color:#4b5563;
    padding:6px 10px;
    border-radius:8px;
    cursor:pointer;
    font-size:11px;
}


/* Selected image list */

.selected-files{
    margin-top:10px;
    display:grid;
    gap:7px;
}

.selected-file{
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto auto;
    align-items:center;
    gap:10px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:11px;
    padding:8px 10px;
}

.selected-preview{
    width:48px;
    height:48px;
    object-fit:cover;
    border-radius:8px;
    background:#f1f3f5;
}

.selected-file-info{
    min-width:0;
}

.selected-file-info strong{
    display:block;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.selected-file-info span{
    display:block;
    margin-top:2px;
    color:#7a858e;
    font-size:10px;
}

.file-number{
    color:#8a949d;
    font-size:10px;
}

.remove-file-btn{
    border:1px solid #d9dee3;
    background:#fff;
    color:#6b7280;
    border-radius:7px;
    padding:6px 9px;
    cursor:pointer;
    font-size:10px;
}


/* Settings */

.compressor-card{
    margin-top:16px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 8px 25px rgba(0,0,0,.035);
    padding:22px;
}

.settings-heading h2{
    margin:4px 0 3px;
    font-size:19px;
}

.settings-heading p{
    margin:0;
    color:var(--muted);
    font-size:12px;
}

.compressor-settings{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-top:18px;
}

.setting-box{
    border:1px solid var(--line);
    border-radius:11px;
    padding:13px;
    background:#fafbfc;
}

.setting-box>label{
    display:block;
    font-size:12px;
    font-weight:750;
    color:#46515c;
}

.setting-box select{
    margin-top:7px;
    padding:10px 11px;
    border-radius:8px;
    font-size:13px;
}

.setting-box small{
    display:block;
    margin-top:6px;
    color:#7a858e;
    font-size:10px;
    line-height:1.4;
}


/* Custom dimensions */

.custom-dimensions{
    display:grid;
    grid-template-columns:1fr 15px 1fr;
    align-items:center;
    gap:5px;
    margin-top:7px;
}

.custom-dimensions input{
    width:100%;
    min-width:0;
    margin-top:0;
    padding:9px;
    border-radius:8px;
    font-size:13px;
}

.custom-dimensions span{
    text-align:center;
    color:#7a858e;
}


/* Quality */

.quality-control{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:11px;
}

.quality-control input[type="range"]{
    width:100%;
    margin:0;
    padding:0;
}

.quality-control strong{
    min-width:40px;
    text-align:right;
    font-size:12px;
}

.quality-labels{
    display:flex;
    justify-content:space-between;
    margin-top:3px;
    color:#8a949d;
    font-size:9px;
}


/* Compress button */

.compress-action{
    margin-top:18px;
    text-align:right;
}

.compress-main-btn{
    min-width:165px;
}


/* Progress */

.compression-progress{
    margin-top:15px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    padding:13px;
}

.progress-top{
    display:flex;
    justify-content:space-between;
    gap:10px;
    font-size:11px;
}

.progress-top span{
    color:var(--muted);
}

.progress-track{
    height:7px;
    margin-top:8px;
    background:#edf0f2;
    border-radius:99px;
    overflow:hidden;
}

.progress-bar{
    width:0;
    height:100%;
    background:#17212b;
    border-radius:99px;
    transition:width .15s linear;
}


/* Results */

.compressor-results{
    margin-top:18px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 8px 25px rgba(0,0,0,.035);
    padding:22px;
}

.results-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.results-heading h2{
    margin:4px 0 3px;
    font-size:19px;
}

.results-heading p{
    margin:0;
    color:var(--muted);
    font-size:12px;
}

.compression-result{
    display:grid;
    grid-template-columns:60px minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    margin-top:9px;
    padding:9px;
    border:1px solid var(--line);
    border-radius:11px;
}

.result-preview{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
    background:#f1f3f5;
}

.result-info{
    min-width:0;
}

.result-info strong{
    display:block;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.result-info span{
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:10px;
    line-height:1.55;
}

.result-info b{
    color:var(--ink);
}

.result-download{
    white-space:nowrap;
}

.result-error{
    grid-template-columns:38px 1fr;
}

.error-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#fee2e2;
    color:#b91c1c;
    display:grid;
    place-items:center;
    font-weight:900;
}

.result-error span{
    display:block;
    margin-top:2px;
    color:#b91c1c;
    font-size:10px;
}


/* Privacy */

.compressor-privacy{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
    padding:12px 13px;
    border:1px solid #dbeafe;
    background:#eff6ff;
    border-radius:12px;
}

.privacy-symbol{
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#dbeafe;
    color:#1d4ed8;
    font-weight:900;
}

.compressor-privacy strong{
    display:block;
    color:#1e3a8a;
    font-size:12px;
}

.compressor-privacy p{
    margin:2px 0 0;
    color:#475569;
    font-size:10px;
    line-height:1.5;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:850px){

    .site-nav{
        display:none;
        position:absolute;
        top:67px;
        left:10px;
        right:10px;
        background:#fff;
        border:1px solid var(--line);
        border-radius:14px;
        padding:8px;
        box-shadow:0 15px 35px rgba(0,0,0,.1);
        flex-direction:column;
        align-items:stretch;
    }

    .site-nav.open{
        display:flex;
    }

    .site-nav a{
        width:100%;
    }

    .site-nav .nav-cta{
        margin:4px 0 0;
    }

    .nav-toggle{
        display:block;
    }

    .grid3,
    .feature-grid,
    .compressor-settings{
        grid-template-columns:1fr;
    }

    .summary{
        grid-template-columns:1fr;
    }

    .summary div{
        border:0;
        padding:10px 0;
    }

    .hero,
    .result-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}


@media(max-width:600px){

    .shell{
        padding:30px 14px 45px;
    }

    .compressor-page{
        padding:28px 14px 45px;
    }

    .card,
    .content-card,
    .compressor-card,
    .compressor-results{
        padding:18px;
    }

    .compressor-upload{
        padding:30px 15px;
    }

    .compressor-intro{
        margin-bottom:20px;
    }

    .selected-summary{
        align-items:flex-start;
    }

    .selected-file{
        grid-template-columns:48px minmax(0,1fr) auto;
    }

    .file-number{
        display:none;
    }

    .remove-file-btn{
        grid-column:2 / 4;
        justify-self:start;
    }

    .compression-result{
        grid-template-columns:55px minmax(0,1fr);
    }

    .result-preview{
        width:55px;
        height:55px;
    }

    .result-download{
        grid-column:1 / -1;
        width:100%;
    }

    .compress-action{
        text-align:stretch;
    }

    .compress-main-btn{
        width:100%;
    }

    .results-heading{
        align-items:stretch;
    }

    .results-heading .btn{
        width:100%;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        flex-direction:column;
    }
}
/* =========================================================
   UTILITY PORTAL REVAMP COMPONENTS
   ========================================================= */
.ad-slot{margin:18px 0;padding:12px;text-align:center;border:1px dashed #d7dde3;border-radius:10px;color:#89939c;background:#fafbfc;font-size:11px;min-height:42px}
.hero-modern{padding:62px 0 30px}
.hero-modern .hero-inner{display:grid;grid-template-columns:1.35fr .65fr;gap:28px;align-items:center}
.hero-modern h1{font-size:clamp(38px,6vw,64px);max-width:780px;margin:10px 0 14px;line-height:1.04}
.hero-modern p{font-size:17px;max-width:720px;color:var(--muted)}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.hero-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 16px 45px rgba(0,0,0,.06)}
.hero-panel strong{font-size:14px}.hero-panel ul{padding-left:18px;margin:12px 0 0;color:var(--muted);font-size:13px}
.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tool-card{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-decoration:none;transition:.18s ease;box-shadow:0 8px 24px rgba(0,0,0,.025)}
.tool-card:hover{transform:translateY(-3px);border-color:#c5ccd3;box-shadow:0 14px 32px rgba(0,0,0,.07)}
.tool-icon{width:46px;height:46px;border-radius:13px;background:#f0f2f4;display:grid;place-items:center;font-weight:900;font-size:12px;margin-bottom:16px}
.tool-card h3{margin:0 0 7px;font-size:18px}.tool-card p{margin:0;color:var(--muted);font-size:13px}
.article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 10px 30px rgba(0,0,0,.035);margin-top:28px}
.article h2{font-size:26px;margin:0 0 12px}.article h3{font-size:19px;margin:25px 0 8px}.article p,.article li{color:#55616d}.article li{margin-bottom:7px}
.tool-shell{max-width:1050px;margin:0 auto;padding:42px 20px 55px}.tool-head{max-width:780px;margin:0 auto 24px;text-align:center}.tool-head h1{font-size:clamp(30px,5vw,46px);margin:7px 0 10px}.tool-head p{color:var(--muted);margin:0}
.tool-card-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-row.three{grid-template-columns:repeat(3,1fr)}
textarea{display:block;width:100%;margin-top:7px;padding:13px 14px;border:1px solid #ccd3da;border-radius:10px;font:inherit;min-height:180px;resize:vertical}
textarea:focus{outline:none;border-color:#64748b;box-shadow:0 0 0 3px rgba(100,116,139,.12)}
.inline-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.check-item{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafbfc;font-size:13px}.check-item input{width:auto;margin:0}
.dropzone{border:2px dashed #cbd3da;border-radius:16px;padding:35px 18px;text-align:center;background:#fff;cursor:pointer}.dropzone:hover{border-color:#17212b;background:#f8fafc}
.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.preview-item{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}.preview-item img{width:100%;height:150px;object-fit:contain;background:#f5f6f7;border-radius:8px}.preview-item small{display:block;margin-top:7px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.output-box{margin-top:16px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:16px}
.meter{height:10px;background:#edf0f2;border-radius:99px;overflow:hidden;margin-top:8px}.meter span{display:block;height:100%;width:0;background:#17212b;transition:.2s}.strength-label{font-weight:800;font-size:13px;margin-top:7px}
.pdf-layout{display:grid;grid-template-columns:1fr 280px;gap:16px}.pdf-canvas-wrap{min-height:560px;display:flex;justify-content:center;align-items:flex-start;background:#eef1f4;border:1px solid var(--line);border-radius:12px;padding:15px;overflow:auto}.pdf-page-wrap{position:relative;display:inline-block;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.12)}.pdf-page-wrap canvas{display:block}.pdf-overlay{position:absolute;inset:0;pointer-events:none}.pdf-text-layer{position:absolute;pointer-events:auto;background:transparent;border:1px dashed #94a3b8;min-width:80px;padding:3px;font-size:16px}.pdf-draw-canvas{position:absolute;inset:0;pointer-events:auto}
.qr-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.qr-box{min-height:260px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:14px;background:#fafbfc}.scanner-box{overflow:hidden;border-radius:12px;border:1px solid var(--line)}
.small-note{font-size:12px;color:var(--muted)}
.notice.success{background:#ecfdf3;border-color:#b7ebca}
@media(max-width:900px){.hero-modern .hero-inner,.pdf-layout,.qr-layout{grid-template-columns:1fr}.tools-grid{grid-template-columns:repeat(2,1fr)}.preview-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.tools-grid,.form-row,.form-row.three,.check-grid,.preview-grid{grid-template-columns:1fr}.hero-modern{padding-top:35px}.tool-shell{padding:28px 14px 45px}.article,.tool-card-panel{padding:18px}}



/* =========================================================
   IMAGE RESIZER - MODERN FILE PICKER
   ========================================================= */

.resizer-upload-card {
    width: 100%;
    margin: 18px 0;
}

.resizer-dropzone {
    width: 100%;
    min-height: 230px;
    padding: 34px 25px;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
    box-sizing: border-box;
}

.resizer-dropzone:hover {
    border-color: #475467;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow:
        0 12px 35px rgba(15, 23, 42, .08);
}

.resizer-dropzone.dragover {
    border-color: #111827;
    background: #f1f5f9;
    box-shadow:
        0 0 0 4px rgba(17, 24, 39, .08);
}

.resizer-upload-icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #344054;
    background: #eef2f6;
    margin-bottom: 17px;
}

.resizer-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resizer-upload-content strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    color: #101828;
    margin-bottom: 7px;
}

.resizer-upload-content span {
    display: block;
    max-width: 500px;
    font-size: 14px;
    line-height: 1.6;
    color: #667085;
}

.resizer-upload-content small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #98a2b3;
}

.resizer-browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    margin-top: 18px;
    border-radius: 9px;
    background: #111827;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow:
        0 5px 14px rgba(17, 24, 39, .15);
}

.resizer-dropzone:hover .resizer-browse-btn {
    background: #1f2937;
}

.resizer-selected-info {
    margin-top: 10px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    color: #475467;
    font-size: 13px;
}

.resizer-selected-info[hidden] {
    display: none !important;
}

.resizer-clear-btn {
    border: 0;
    background: transparent;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 8px;
}

.resizer-clear-btn:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {

    .resizer-dropzone {
        min-height: 205px;
        padding: 27px 17px;
        border-radius: 16px;
    }

    .resizer-upload-icon {
        width: 64px;
        height: 64px;
        border-radius: 17px;
    }

    .resizer-upload-content strong {
        font-size: 18px;
    }

    .resizer-upload-content span {
        font-size: 13px;
    }

    .resizer-browse-btn {
        width: 100%;
        max-width: 240px;
    }
}

