/* =====================================================
   MEI PDF To Image Converter
   Author : MEITech Solution
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.mei-pdf-wrapper{

    font-family:'Outfit',sans-serif;

    background:#0D1117;

    color:#fff;

    display:flex;

    gap:30px;

    padding:30px;

    border-radius:20px;

}

.mei-left-panel{

    width:420px;

    flex-shrink:0;

}

.mei-right-panel{

    flex:1;

}

.mei-card{

    background:#161B22;

    border:1px solid #30363D;

    border-radius:18px;

    padding:25px;

    margin-bottom:25px;

}

.mei-title{

    font-size:32px;

    font-weight:700;

    margin-bottom:10px;

}

.mei-subtitle{

    color:#8B949E;

    font-size:15px;

    line-height:1.7;

    margin-bottom:25px;

}

.mei-section-title{

    font-size:22px;

    margin-bottom:20px;

}

.mei-upload-box{

    border:2px dashed #30363D;

    border-radius:18px;

    min-height:260px;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    transition:.3s;

    background:#0D1117;

}

.mei-upload-box:hover{

    border-color:#4F46E5;

    transform:translateY(-2px);

}

.dragging{

    border-color:#2563EB!important;

    background:#1F2937;

}

.mei-upload-label{

    width:100%;

    text-align:center;

    cursor:pointer;

    padding:40px;

}

.mei-upload-icon{

    color:#4F46E5;

    margin-bottom:20px;

}

.mei-upload-label h3{

    font-size:28px;

    margin-bottom:12px;

}

.mei-upload-label p{

    color:#8B949E;

    line-height:1.7;

}

.mei-file-info{

    margin-top:20px;

    background:#0D1117;

    border:1px solid #30363D;

    border-radius:12px;

    padding:15px;

}

.mei-info-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:12px;

}

.mei-info-row:last-child{

    margin-bottom:0;

}

.mei-info-row span{

    color:#8B949E;

}

.mei-info-row strong{

    font-weight:600;

}

.mei-form-group{

    margin-bottom:20px;

}

.mei-form-group label{

    display:block;

    margin-bottom:8px;

    color:#C9D1D9;

}

.mei-form-group select{

    width:100%;

    height:52px;

    border-radius:12px;

    background:#0D1117;

    border:1px solid #30363D;

    color:#fff;

    padding:0 15px;

    outline:none;

    font-size:15px;

}

.mei-form-group select:focus{

    border-color:#2563EB;

}
/*=====================================================
Buttons
======================================================*/

.mei-convert-btn,
.mei-download-zip,
.mei-clear-btn{

    width:100%;
    height:56px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;
    margin-top:15px;

}

.mei-convert-btn{

    color:#fff;
    background:linear-gradient(90deg,#7C3AED,#2563EB);

}

.mei-convert-btn:hover{

    transform:translateY(-2px);
    box-shadow:0 15px 30px rgba(37,99,235,.35);

}

.mei-download-zip{

    color:#fff;
    background:#16A34A;

}

.mei-download-zip:hover{

    background:#15803D;

}

.mei-clear-btn{

    background:#30363D;
    color:#fff;

}

.mei-clear-btn:hover{

    background:#3f454f;

}

/*=====================================================
Preview
======================================================*/

.mei-preview-card{

    height:100%;

}

.mei-preview-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;

}

.mei-badge{

    background:#2563EB;
    color:#fff;
    padding:8px 15px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;

}
.mei-form-group select, .mei-form-group textarea{
    background: #0D1117!important;
}
button#mei-clear-btn {
    background: linear-gradient(90deg, #7C3AED, #2563EB)!important;
    color: #fff!important;
    border: none!important;
}

.mei-preview{

    min-height:700px;
    border:2px dashed #30363D;
    border-radius:18px;
    padding:20px;
    background:#0D1117;
    overflow:auto;

}

.mei-preview-placeholder{

    min-height:650px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;

}

.mei-preview-icon{

    color:#4F46E5;
    margin-bottom:20px;

}

.mei-preview-placeholder h3{

    font-size:28px;
    margin-bottom:10px;

}

.mei-preview-placeholder p{

    color:#8B949E;
    line-height:1.8;

}

/*=====================================================
Progress
======================================================*/

.mei-progress-wrapper{

    margin-bottom:25px;

}

.mei-progress-top{

    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
    font-size:14px;

}

.mei-progress{

    width:100%;
    height:8px;
    background:#30363D;
    border-radius:30px;
    overflow:hidden;

}

.mei-progress-bar{

    width:0;
    height:100%;
    background:linear-gradient(90deg,#7C3AED,#2563EB);
    transition:.3s;

}

/*=====================================================
Pages
======================================================*/

.mei-page{

    background:#161B22;
    border:1px solid #30363D;
    border-radius:15px;
    overflow:hidden;
    margin-bottom:25px;

}

.mei-page-number{

    display:inline-block;
    margin:15px;
    padding:6px 15px;
    border-radius:30px;
    background:#2563EB;
    color:#fff;
    font-size:13px;

}

.mei-page img{

    display:block;
    width:100%;
    height:auto;

}

.mei-download{

    display:block;
    text-align:center;
    margin:15px;
    padding:12px;
    text-decoration:none;
    color:#fff;
    background:#2563EB;
    border-radius:12px;
    transition:.3s;

}

.mei-download:hover{

    background:#1D4ED8;

}

/*=====================================================
Scrollbar
======================================================*/

.mei-preview::-webkit-scrollbar{

    width:8px;

}

.mei-preview::-webkit-scrollbar-thumb{

    background:#4B5563;
    border-radius:10px;

}

.mei-preview::-webkit-scrollbar-track{

    background:#161B22;

}

/*=====================================================
Responsive
======================================================*/

@media(max-width:1200px){

.mei-pdf-wrapper{

    flex-direction:column;

}

.mei-left-panel{

    width:100%;

}

.mei-right-panel{

    width:100%;

}

}

@media(max-width:768px){

.mei-pdf-wrapper{

    padding:15px;

}

.mei-card{

    padding:18px;

}

.mei-title{

    font-size:24px;

}

.mei-upload-label{

    padding:20px;

}

.mei-upload-label h3{

    font-size:22px;

}

.mei-upload-label p{

    font-size:14px;

}

.mei-preview{

    min-height:450px;

}

.mei-preview-placeholder{

    min-height:400px;

}

.mei-convert-btn,
.mei-download-zip,
.mei-clear-btn{

    height:50px;
    font-size:15px;

}

}