/*
=========================================================
JPG to PDF Converter Pro
Main Stylesheet
Version: 1.0
=========================================================
*/

/* ==============================
   Google Font
============================== */

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#333;
    min-height:100vh;
}

/* ==============================
   Navbar
============================== */

.navbar{
    background:linear-gradient(135deg,#0d6efd,#4f8dfd);
}

.navbar-brand{
    font-size:1.3rem;
    font-weight:600;
}

/* ==============================
   Converter Card
============================== */

.converter-card{

    background:#ffffff;

    border-radius:20px;

    padding:45px;

    box-shadow:0 15px 45px rgba(0,0,0,.08);

    transition:.3s;
}

.converter-card:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}

/* ==============================
   Main Icon
============================== */

.converter-icon{

    font-size:80px;

    color:#0d6efd;

}

/* ==============================
   Upload Area
============================== */

.upload-area{

    display:block;

    border:3px dashed #0d6efd;

    border-radius:18px;

    padding:60px 30px;

    text-align:center;

    background:#f8fbff;

    cursor:pointer;

    transition:.3s;

}

.upload-area:hover{

    background:#eef6ff;

    transform:scale(1.01);

}

.upload-area.dragover{

    background:#dbeafe;

    border-color:#2563eb;

}

/* ==============================
   Selected Files
============================== */

#selectedFiles{

    margin-top:20px;

}

.file-item{

    background:#f8f9fa;

    border-radius:10px;

    padding:12px 18px;

    margin-bottom:10px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-left:5px solid #0d6efd;

}

.file-item i{

    color:#198754;

}

/* ==============================
   Convert Button
============================== */

#convertBtn{

    padding:14px 35px;

    font-size:18px;

    font-weight:600;

    border-radius:10px;

    transition:.3s;

}

#convertBtn:hover{

    transform:translateY(-2px);

}

/* ==============================
   Progress Bar
============================== */

.progress{

    border-radius:10px;

    overflow:hidden;

}

.progress-bar{

    font-weight:600;

}

/* ==============================
   Loading
============================== */

#loading{

    animation:fadeIn .5s ease;

}

/* ==============================
   Alerts
============================== */

.alert{

    border-radius:10px;

}

/* ==============================
   Footer
============================== */

footer{

    margin-top:80px;

    text-align:center;

    color:#777;

}

/* ==============================
   Animations
============================== */

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.converter-card{

    animation:fadeIn .6s ease;

}

/* ==============================
   Mobile
============================== */

@media(max-width:768px){

    .converter-card{

        padding:25px;

    }

    .upload-area{

        padding:40px 20px;

    }

    .converter-icon{

        font-size:60px;

    }

    h1{

        font-size:30px;

    }

}