/* ==========================================
   OfficeMitra - Merge PDF
   merge-pdf.css
========================================== */

/* Hero */

.merge-hero{
    background:linear-gradient(135deg,#2563eb,#4f46e5);
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.merge-hero h1{
    font-size:48px;
    margin-bottom:15px;
}

.merge-hero p{
    font-size:18px;
    opacity:.95;
}

/* Upload */

.merge-section{
    padding:60px 0;
}

.upload-box{
    max-width:800px;
    margin:auto;
    background:#fff;
    border:3px dashed #2563eb;
    border-radius:20px;
    padding:60px 30px;
    text-align:center;
    transition:.3s;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.upload-box:hover{
    background:#f8fbff;
    transform:translateY(-5px);
}

.upload-box.dragover{
    background:#eef5ff;
    border-color:#1d4ed8;
}

.upload-box i{
    font-size:70px;
    color:#2563eb;
    margin-bottom:20px;
}

.upload-box h2{
    font-size:30px;
    margin-bottom:10px;
}

.upload-box p{
    color:#666;
    margin:15px 0;
}

.upload-btn{
    display:inline-block;
    padding:15px 35px;
    background:#2563eb;
    color:#fff;
    border-radius:50px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.upload-btn:hover{
    background:#1d4ed8;
}

/* File List */

.file-section{
    padding:20px 0 60px;
}

.file-section h2{
    text-align:center;
    margin-bottom:30px;
    font-size:34px;
}

#fileList{
    list-style:none;
    max-width:900px;
    margin:auto;
}

#fileList li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    padding:18px 22px;
    margin-bottom:15px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.file-name{
    display:flex;
    align-items:center;
    gap:15px;
    font-weight:600;
}

.file-name i{
    color:#e53935;
    font-size:22px;
}

.remove-btn{
    border:none;
    background:#ef4444;
    color:#fff;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    transition:.3s;
}

.remove-btn:hover{
    background:#dc2626;
}

/* Merge Button */

.action-section{
    text-align:center;
    padding-bottom:40px;
}

.merge-btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:18px 45px;
    border-radius:50px;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.merge-btn:hover{
    background:#1d4ed8;
    transform:translateY(-4px);
}

/* Progress */

.progress-section{
    padding-bottom:50px;
}

.progress-box{
    width:90%;
    max-width:800px;
    margin:auto;
    height:14px;
    background:#e5e7eb;
    border-radius:30px;
    overflow:hidden;
}

#progressBar{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#2563eb,#4f46e5);
    transition:.4s;
}

#status{
    text-align:center;
    margin-top:15px;
    color:#666;
}

/* Download */

.download-section{
    text-align:center;
    padding-bottom:80px;
}

.download-btn{
    display:inline-block;
    padding:18px 40px;
    background:#16a34a;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.download-btn:hover{
    background:#15803d;
    transform:translateY(-4px);
}

/* Responsive */

@media(max-width:768px){

.merge-hero h1{
    font-size:34px;
}

.upload-box{
    padding:40px 20px;
}

.upload-box h2{
    font-size:24px;
}

#fileList li{
    flex-direction:column;
    gap:15px;
    text-align:center;
}

.merge-btn,
.download-btn{
    width:100%;
    max-width:320px;
}

}