*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f3f4f6;
    font-family:Arial,sans-serif;
}

.mpdf-wrap{
    max-width:1400px;
    margin:40px auto;
    padding:20px;
}

.mpdf-title{
    font-size:70px;
    text-align:center;
    margin-bottom:20px;
    color:#111;
}

.mpdf-desc{
    text-align:center;
    max-width:900px;
    margin:0 auto 40px;
    font-size:24px;
    line-height:1.6;
    color:#444;
}

.mpdf-main{
    display:flex;
    gap:30px;
}

.mpdf-left{
    flex:1;
}

.mpdf-right{
    width:340px;
    background:#fff;
    border-radius:25px;
    padding:30px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.mpdf-right h3{
    font-size:34px;
    margin-bottom:20px;
}

.mpdf-option-box{
    font-size:22px;
    line-height:1.7;
    color:#555;
}

.mpdf-upload-box{
    width:100%;
    min-height:420px;
    background:#ffd400;
    border-radius:30px;
    border:3px dashed #fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.mpdf-upload-inner{
    text-align:center;
    padding:40px;
}

.mpdf-cloud{
    font-size:120px;
    color:#fff;
    margin-bottom:20px;
}

.mpdf-upload-inner h2{
    font-size:60px;
    margin-bottom:20px;
}

.mpdf-upload-inner p{
    font-size:26px;
    color:#555;
    margin-bottom:30px;
}

.mpdf-choose-btn{
    background:#fff;
    border:none;
    padding:18px 40px;
    border-radius:14px;
    font-size:24px;
    font-weight:700;
    cursor:pointer;
}

.mpdf-choose-btn:hover{
    background:#111;
    color:#fff;
}

#mpdf-preview{
    margin-top:35px;
    display:flex;
    flex-wrap:wrap;
    gap:25px;
}

.mpdf-item{
    width:240px;
    background:#fff;
    border-radius:20px;
    padding:20px;
    position:relative;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.mpdf-file-icon{
    width:100%;
    height:180px;
    background:#ef4444;
    border-radius:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:80px;
}

.mpdf-item span{
    display:block;
    margin-top:15px;
    text-align:center;
    font-size:18px;
    word-break:break-word;
}

.mpdf-delete{
    position:absolute;
    top:10px;
    right:10px;
    width:35px;
    height:35px;
    border:none;
    border-radius:50%;
    background:red;
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

.mpdf-bottom{
    margin-top:40px;
    display:flex;
    gap:20px;
}

#mpdf-start,
#mpdf-download{
    flex:1;
    height:80px;
    border:none;
    border-radius:18px;
    color:#fff;
    font-size:30px;
    font-weight:700;
    cursor:pointer;
}

#mpdf-start{
    background:#2563eb;
}

#mpdf-download{
    background:#16a34a;
}

@media(max-width:1100px){

    .mpdf-main{
        flex-direction:column;
    }

    .mpdf-right{
        width:100%;
    }

}

@media(max-width:768px){

    .mpdf-title{
        font-size:42px;
    }

    .mpdf-upload-inner h2{
        font-size:34px;
    }

    .mpdf-cloud{
        font-size:80px;
    }

    .mpdf-bottom{
        flex-direction:column;
    }

    .mpdf-item{
        width:100%;
    }

}