
/* ==========================================================
   AI JOB ANALYZER - UPLOAD FORM
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}



.alq-upload-card{
    width:100%;
    max-width:none;
    margin:0; 
    padding:35px;
    background:#ffffff;
    border-radius:22px;
  box-shadow:
0 10px 30px rgba(91,74,255,.06),
0 1px 2px rgba(0,0,0,.03);
}

.alq-upload-box{
    margin-top:18px;
    padding:42px;
    border:2px dashed #CCC2FF;
    border-radius:14px;
    background:#F8F5FF;
    text-align:center;
    box-shadow: inset 0 0 0 1px rgba(139, 70, 255, 0.04);
}
.alq-generate-wrapper{
    display:block;
    width:100%;
    max-width:100%;
    margin:18px 0;
}
.alq-upload-icon{
    width:70px;
    height:70px;
    margin:0 auto 18px;
    border-radius:50%;
    background:#efe6ff;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:34px;
}
.alq-upload-box h3{
    font-size:18px;
font-weight:700;
    margin-bottom:10px;
    color:#20243c;
}

.alq-upload-box p{
    color:#777;
    font-size:15px;
    margin-bottom:18px;
}

.alq-upload-box input[type=file]{
    display:block;
    margin:0 auto;
}

.alq-upload-box input[type=file]::file-selector-button{
    padding:11px 24px;
    border-radius:30px;
    border:2px solid #6c4cff;
    background:#fff;
    color:#6548ff;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.alq-upload-box input[type=file]::file-selector-button:hover{
    background:#6548ff;
    color:#fff;
}






.alq-generate-btn:hover .alq-btn-arrow{

    transform:translateX(4px);

}

@media(max-width:768px){

.alq-upload-card{
    background:transparent;
    padding:0;
    box-shadow:none;
}
.alq-form-header{

    text-align:center;

    margin-bottom:25px;

}

.alq-upload-box{
    width:100%;
    padding:25px;
}

.alq-submit-btn{
    font-size:18px;
}

}
/* HERO */

.alq-hero-title{

    font-size:64px;

    font-weight:800;

    text-align:center;

    margin-bottom:18px;

    line-height:1.1;

    background:linear-gradient(90deg,#2f74ff,#8b39ff);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.alq-hero-subtitle{

    max-width:720px;

    margin:0 auto 45px;

    text-align:center;

    color:#666;

    font-size:20px;

    line-height:1.8;

}
/* ================= CARD HEADER ================= */

.alq-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:22px;
}

.alq-card-title{
    display:flex;
    align-items:center;
    gap:14px;
}

.alq-card-icon{
    width:46px;
    height:46px;
    background:#F4EEFF;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;
}

.alq-card-icon svg{
    width:22px;
    height:22px;
}

.alq-card-heading h3{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#20243c;
}

.alq-card-badge{
    display:flex;
    align-items:center;
    gap:8px;

    padding:8px 16px;

    background:#F4EEFF;

    border-radius:999px;

    color:#7C4DFF;

    font-size:13px;

    font-weight:600;
}

.alq-card-badge svg{
    width:14px;
    height:14px;
}
/* =====================================
   JOB DESCRIPTION
===================================== */

.alq-textarea-wrapper{

    position:relative;

    margin-top:12px;

}

.alq-textarea-wrapper textarea{

    width:100%;

    height:210px;

    padding:18px 20px;

    background:#fff;

    border:1.5px solid #dcd8ff;

    border-radius:14px;

    font-size:16px;

    color:#333;

    resize:none;

    transition:.3s;

}
.alq-textarea-wrapper textarea:focus{

    border-color:#6a4dff;

    box-shadow:0 0 0 5px rgba(106,77,255,.08);

}

.alq-counter{

    position:absolute;

    right:20px;

    bottom:18px;

    color:#8c8c98;

    font-size:14px;

}


/* ===========================
   Generate Button
=========================== */

.alq-generate-wrapper{
    width:100%;
    display:block;
    margin:18px 0;
}

.alq-upload-card form{
    width:100%;
}

.alq-upload-card button[type="submit"]{
    width:100% !important;
}

.alq-generate-btn{
    width:100%;
    height:50px;
line-height: 1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    position:relative;

    border:none;
    border-radius:10px;

    background:linear-gradient(90deg,#2F6DFF 0%,#8A46FF 100%);

    color:#fff;
    font-size:20px;
    font-weight:700;

    cursor:pointer;
    overflow:hidden;

    transition:.3s;
}

.alq-generate-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(106,77,255,.22);
}

.alq-btn-icon{
    position:static;
    transform:none;

    font-size:16px;
    color:#fff;
}

.alq-btn-text{
    width:auto;
    font-size:20px;
    font-weight:700;
    color:#fff;
}

.alq-btn-arrow{
    position:absolute;
    right:22px;
    font-size:22px;
    color:#fff;
}

.alq-generate-btn:hover .alq-btn-arrow{
    transform:translateX(5px);
}

/* Tip Box */


.alq-tip{
    width:calc(100% + 32px);
    margin-left:-16px;
    margin-right:-16px;
    margin-top:16px;

    padding:16px 22px;

    display:flex;
    align-items:center;
    gap:14px;

    background:#F8F5FF;
    border:1px solid #ECE5FFF;
    border-radius:12px;

    color:#707070;
    font-size:15px;
    line-height:1.7;
    font-weight:500;

    box-sizing:border-box;
}

.alq-tip-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    color:#ECE2FF;
}
.alq-tip p{
    margin:0;
}
.alq-tip svg,
.alq-tip i{

    font-size:20px;
    width:20px;
    height:20px;

    color:#7C4DFF;

    flex-shrink:0;

}
.alq-tip strong{

    color:#2B2B38;

    font-weight:700;

}



/* ====================================
   MOBILE RESPONSIVE
==================================== */

@media (max-width:767px)
{.alq-upload-card{
    padding:18px;
    border-radius:16px;
}
.alq-card-header{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
}
.alq-card-title{
    width:100%;
    display:flex;
    align-items:center;
    gap:12px;
}
.alq-card-badge{
    width:100%;
    max-width:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:10px 14px;

    text-align:center;

    white-space:normal;
    word-break:break-word;
}

.alq-card-badge span{
    flex:1;
    white-space:normal;
    word-break:break-word;
}

.alq-card-badge svg{
    flex-shrink:0;
}



}
/* Mobile button fix */
@media (max-width:767px){

    .alq-generate-btn{
        height:48px !important;
        min-height:48px !important;
        padding:0 18px !important;

        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;

        font-size:16px !important;
        white-space:nowrap;
    }

    .alq-btn-text{
        font-size:16px !important;
        line-height:1;
    }

    .alq-btn-icon{
        font-size:15px;
    }

    .alq-btn-arrow{
        position:static !important;
        right:auto !important;
        font-size:18px;
    }

}




/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (min-width:768px) and (max-width:1024px){
    .alq-upload-card{
    padding:24px;
}
.alq-upload-box{
    padding:28px 22px;
}
.alq-textarea-wrapper textarea{
    height:180px;
}
.alq-generate-btn{
    height:52px;
    font-size:18px;
}
.alq-tip{
    padding:16px 18px;
    font-size:14px;
}

}


@media (max-width:767px){

.alq-upload-card{
    padding:18px;
    border-radius:16px;
}

.alq-card-header{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
}

.alq-card-title{
    width:100%;
}

.alq-card-badge{
    width:100%;
    justify-content:center;
    text-align:center;
    padding:12px;
}

.alq-textarea-wrapper textarea{
    height:180px;
    font-size:15px;
}

.alq-upload-box{
    padding:24px 16px;
}

.alq-upload-box input[type=file]{
    width:100%;
}

.alq-upload-box input[type=file]::file-selector-button{
    width:100%;
}

.alq-generate-btn{
    height:52px;
    font-size:16px;
}

.alq-btn-arrow{
    right:16px;
}
.alq-upload-wrapper{
    width:100%;
    padding:0 16px;
    box-sizing:border-box;
}

.alq-upload-card{
    width:100%;
    margin:0 auto;
}
.alq-tip{
    width:100%;
    margin:16px 0 0;
    padding:14px;
    font-size:14px;
    gap:10px;
}

}

/* FINAL MOBILE FIX */

@media (max-width:767px){

.alq-upload-wrapper{
    width:100%;
    max-width:100%;
    overflow:visible;
}

.alq-upload-card{
    width:100%;
    max-width:100%;
    overflow:visible;
}

.alq-textarea-wrapper{
    width:100%;
}

.alq-textarea-wrapper textarea{
    width:100%;
}

.alq-upload-box{
    width:100%;
}

}

