*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f9;
    color:#333;
}

/* Header */

.header{
    background:#111827;
    position:sticky;
    top:0;
    z-index:1000;
}

.header-container{

    max-width:1400px;

    margin:auto;

    padding:15px 20px;

    display:flex;

    align-items:center;

}

/* Logo */

.logo{

    flex:1;

}

.logo a{

    color:#fff;

    text-decoration:none;

    font-size:28px;

    font-weight:bold;

}

/* Center Menu */

.nav-menu{

    display:flex;

    justify-content:center;

    gap:30px;

    flex:1;

}

.nav-menu a{

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.nav-menu a:hover{

    color:#60a5fa;

}

/*sign up*/

.header-auth{
    display:flex;
    gap:12px;
    align-items:center;
}

.btn-signup{
    background:#4F46E5;
    color:#fff;
    padding:10px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-signup:hover{
    background:#4338CA;
}

.btn-login{
    border:1px solid #4F46E5;
    color:#4F46E5;
    padding:10px 22px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-login:hover{
    background:#4F46E5;
    color:#fff;
}


/* Right Side */

.header-right{

    flex:1;

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:15px;

}

/* google signin button*/

.google-btn{
    display:inline-flex !important;
    width:100%;
    align-items:center;
    justify-content: center;
    gap:12px;
    padding:11px 18px;
    background:#fff;
    color:#3c4043;
    border:1px solid #dadce0;
    border-radius:8px;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    transition:.2s ease;
    box-shadow:0 1px 2px rgba(0,0,0,.08);
    margin-bottom: 10px;
}

.google-btn:hover{
    background:#f8f9fa;
    border-color:#c6c6c6;
    box-shadow:0 2px 6px rgba(0,0,0,.12);
}

.google-btn svg{
    flex-shrink:0;
}

.google-consent{
     margin-top: -5px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    padding-bottom: 0;
    margin-bottom: -10px;
}

.google-consent a{
    color:#0d6efd;
    text-decoration:none;
    font-weight:600;
    padding:10px 7px !important;
}

.google-consent a:hover{
    text-decoration:underline;
    background:none !important;
}

.nowrap{
    white-space:nowrap;
}

    
.terms-links{
    white-space: nowrap;
    display:flex;
    margin-top:-10px;
    align-items: center;
    justify-content: center;
}

.terms-links span{
        line-height: 40px;
}


.divider{
    display:flex;
    align-items:center;
    justify-content: center;
    margin:12px 0;
    color:#6b7280;
    font-size:14px;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#e5e7eb;
}

.divider span{
    padding:0 16px;
    font-weight:500;
    text-transform:uppercase;
    letter-spacing:.05em;
}

/* Cart */

.cart-btn{

    color:#fff;

    text-decoration:none;

    padding:10px 15px;

    border:1px solid rgba(255,255,255,.15);

    border-radius:8px;

}

/* Account */

.account-dropdown{
   
  /*  position:relative; */

}

.account-btn{

    background:#2563eb;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:8px;
    cursor:pointer;

}

.account-menu{

    display:none;
    position:absolute;
    right:0;
    top:45px;
    background:#fff;
    min-width:180px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    overflow:hidden;

}

.account-menu a{

    display:block;
    padding:12px 15px;
    text-decoration:none;
    color:#333;

}

.account-menu a:hover{

    background:#f5f5f5;

}

.account-menu.show{

    display:block;

}

.custform a{
    font-size:14px;
    display:block;
    padding:10px 15px;
    text-decoration:none;
    color:#333;

}

.custform a:hover{

    background:#f5f5f5;
    text-decoration:underline;

}

/* login*/

.login-menu{
    width:300px;
    padding:20px;
    top:75px;
    right:10px;
}

.login-menu .custform {
    background: #efefef;
    border-radius: 10px;
    
}

.login-menu form{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding: 10px;
    
}

.login-menu label{
    font-size:16px;
    margin: 0px 0;
}

.login-menu input{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:14px;
}

.login-btn{
    width:100%;
    margin-top:0;
    padding:12px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
}

.login-btn:hover{
    background:#1d4ed8;
}

#formresp{
    display:none;
}

.account-links{
    margin-top:0px;
    text-align:center;
}

.account-links a{
    color:#2563eb;
    text-decoration:none;
}

.account-links p{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:5px;
    margin:0;
    font-size:14px;
}

/* Hamburger */

.menu-toggle{

    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 22% !important;
    text-align: center;
    padding: 8px;

}

/* Hero */

.hero{
    text-align:center;
    padding:60px 20px;
}

.hero h1{
    font-size:42px;
    margin-bottom:15px;
}


.hero h2{
    font-size:20px;
    margin-bottom:15px;
}

.hero p{
    color:#666;
    max-width:700px;
    margin:auto;
    line-height:1.7;
}

/* Main Converter */


.converter-wrapper{
    max-width:1400px;
    margin:auto;
    padding:50px 100px;
}

.converter-box{
    display:flex;
    gap:70px;
    align-items:stretch;
}

/* Left Panel */

.left-panel{
    flex:1;
    background:#fff;
    border-radius:15px;
    padding:30px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

/* Right Panel */

.right-panel{
    flex:1.2;
    background:#fff;
    border-radius:15px;
    padding:30px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

/* Upload Area */

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 20px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.upload-area.dragover {
    border-color: #2563eb;
    background: #dbeafe;
}

#imageFile {
    display: none;
} 

.upload-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.upload-btn:hover {
    background: #1d4ed8;
}

#fileName {
    margin-top: 15px;
    color: #374151;
    font-size: 14px;
}



label{
    display:block;
    margin-top:15px;
    margin-bottom:6px;
    font-weight:bold;
}

input,
select{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
}

#uploadForm button, #result button{
    width:100%;
    border:none;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    padding:10px;
    cursor:pointer;
}

#uploadForm button:hover, #result button{
    background:#1d4ed8;
}



/* Preview */

.preview-box{
    /*height:100%;*/
    min-height:300px;
    border:2px dashed #ddd;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#888;
    overflow:hidden;
}

.preview-box img{
    width:300px;
    height:300px;
    max-width:100%;
    max-height:700px;
    /*border:1px solid lightgrey;*/
    margin-top:20px;
    object-fit:contain;
}

.preview-box iframe{
    width:100%;
    height:700px;
}

/* Features */

.features{
    max-width:1400px;
    margin:80px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.feature{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
}

.footer{
    background:#111827;
    color:#fff;
    margin-top:80px;
}

.footer-container{
    max-width:1400px;
    margin:auto;
    padding:50px 20px;

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-column h3,
.footer-column h4{
    margin-bottom:15px;
}

.footer-column p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-column ul{
    list-style:none;
    padding:0;
}

.footer-column ul li{
    margin-bottom:10px;
}

.footer-column a{
    color:#cbd5e1;
    text-decoration:none;
}

.footer-column a:hover{
    color:#fff;
}

.footer-bottom{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    padding:20px;
    color:#94a3b8;
}

.footer-bottom a {
    color:#ffffff;
}

/* forgotpass */

.auth-container{
    min-height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 15px;
    background:#f5f7fb;
}

.auth-card{
    width:100%;
    max-width:460px;
    background:#fff;
    border-radius:15px;
    padding:35px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.auth-header{
    text-align:center;
    margin-bottom:30px;
}

.auth-icon{
    font-size:45px;
    color:#0d6efd;
    margin-bottom:15px;
}

.auth-header h2{
    font-size:28px;
    font-weight:700;
    margin-bottom:10px;
}

.auth-header p{
    color:#666;
    line-height:1.6;
}

.auth-card label{
    font-weight:600;
    margin-bottom:6px;
}

.auth-card .form-control{
    height:50px;
    border-radius:10px;
}

.auth-card .btn{
    height:52px;
    border-radius:10px;
    font-size:17px;
    font-weight:600;
}

.auth-footer{
    text-align:center;
    margin-top:25px;
}

.auth-footer a{
    text-decoration:none;
    font-weight:600;
}

/* Mobile */

@media(max-width:900px){
    
    /*header*/
    
        .nav-menu{

        display:none;

        position:absolute;

        top:70px;

        left:0;

        width:100%;

        background:#111827;

        flex-direction:column;

        gap:0;

        z-index:999;

    }

    .nav-menu.active{

        display:flex;

    }

    .nav-menu a{

        width:100%;

        padding:15px 20px;

        border-top:1px solid rgba(255,255,255,.08);

    }

    .menu-toggle{

        display:block;
        font-size:30px;
        padding: 8px;

    }

    .header-container{

        position:relative;
    }
    .converter-wrapper {
    margin: auto;
    padding: 10px;
} 
.header-right {
    flex:none;
}
.header-right button {
    margin-top:0;
}

    .converter-box{
        flex-direction:column;
        
    }

.hero h1{
    font-size:30px;
    margin-bottom:16px;
}


.hero h2{
    font-size:20px;
    margin-bottom:15px;
}

    .preview-box{
        min-height:350px;
    }

    .features{
        grid-template-columns:1fr;
    }
    
    
    /*footer*/
    
    
    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

}

/* cookie*/ 
.cookie-consent{

    position:fixed;

    bottom:20px;

    left:20px;

    right:20px;

    max-width:600px;

    margin:auto;

    background:#fff;

    border-radius:12px;

    padding:20px;

    z-index:99999;

    border:1px solid #ddd;

}

.cookie-content{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    justify-content:space-between;

    gap:20px;

}

.cookie-text{

    flex:1;

}

.cookie-text h5{

    margin-bottom:8px;

    font-weight:600;

}

.cookie-text p{

    margin:0;

    color:#666;

    font-size:14px;

}

.cookie-buttons{

    display:flex;

    gap:10px;

}

@media(max-width:768px){

.cookie-consent{

    left:10px;

    right:10px;

}

.cookie-buttons{

    width:100%;

}

.cookie-buttons button{

    flex:1;

}

}

@media(max-width:480px){
    .login-menu {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 70px;

        width: 100%;
        max-width: 100%;
        box-sizing: border-box;

        padding: 10px;
        margin: 0;
        max-height: calc(100dvh - 90px);
    overflow-y: auto;
    }

.google-btn span{
    font-size:20px;
}

.google-consent,.loginform label  {
    font-size:17px;
}

.login-menu input {
    font-size:17px;
}

}

/* mobile bottom taskbar css*/

/* ================================
   ConvertProx Mobile Bottom Taskbar
   ================================ */

.cpx-mobile-taskbar {
    display: none;
}

@media (max-width: 768px) {

    .cpx-mobile-taskbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        height: 70px;
        width:100%;

        background: #ffffff;

        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;

        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);

        z-index: 99999;

        display: flex;
        align-items: stretch;
        justify-content: space-around;
        
        padding-bottom: env(safe-area-inset-bottom);
        padding:15px 0;
       
        
    }

    .cpx-task-item {
        flex: 1;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        text-decoration: none;

        color: #64748b;

        font-family: Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;

        -webkit-tap-highlight-color: transparent;
    }

    .cpx-task-icon {
        display: flex;

        width: 25px;
        height: 25px;

        align-items: center;
        justify-content: center;

        font-size: 21px;
        line-height: 1;
    }

    .cpx-task-item:hover,
    .cpx-task-item:active {
        color: #2563eb;
    }

    /* Prevent website content from hiding behind taskbar */
    body {
        padding-bottom: 70px;
        }
    .menu-toggle {
            display:none;
        }  
    #accountBtn {
        display:none;
    }   
    
    .header-container {
        padding: 10px;
    }
    
    .cookie-consent{
     bottom:75px;   
    }
    
}