/* ==========================================================
   PRINTQLY CSS FRAMEWORK v2.0
   FILE : forms.css
   PART : 4A
   PURPOSE : Base Form System
========================================================== */

/* ==========================================================
   FORM WRAPPER
========================================================== */

.form{
    width:100%;
}

.form-section{
    margin-bottom:30px;
}

.form-row{
    display:flex;
    gap:20px;
    width:100%;
}

.form-col{
    flex:1;
}

/* ==========================================================
   LABELS
========================================================== */

.form-label{
    display:block;
    margin-bottom:8px;
    color:var(--white);
    font-size:15px;
    font-weight:600;
}

.required{
    color:#ff5252;
    margin-left:4px;
}

/* ==========================================================
   INPUTS
========================================================== */

.form-control{

    width:100%;

    height:54px;

    padding:0 18px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    background:#181818;

    color:var(--white);

    font-size:15px;

    outline:none;

    transition:var(--transition);

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(255,212,0,.15);

}

.form-control::placeholder{

    color:var(--text-muted);

}

/* ==========================================================
   TEXTAREA
========================================================== */

textarea.form-control{

    height:150px;

    padding:16px 18px;

    resize:vertical;

}

/* ==========================================================
   SELECT
========================================================== */

select.form-control{

    cursor:pointer;

}

/* ==========================================================
   INPUT GROUP
========================================================== */

.input-group{

    display:flex;

    align-items:center;

    width:100%;

}

.input-group .form-control{

    border-radius:var(--radius) 0 0 var(--radius);

}

.input-group-text{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:55px;

    height:54px;

    background:#202020;

    border:1px solid var(--border);

    border-left:none;

    border-radius:0 var(--radius) var(--radius) 0;

    color:var(--primary);

}

/* ==========================================================
   CHECKBOX
========================================================== */

.checkbox{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:15px;

}

.checkbox input{

    width:18px;

    height:18px;

    accent-color:var(--primary);

}

.checkbox label{

    color:var(--text-light);

}

/* ==========================================================
   RADIO
========================================================== */

.radio-group{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.radio{

    display:flex;

    align-items:center;

    gap:10px;

}

.radio input{

    accent-color:var(--primary);

}

/* ==========================================================
   FORM HELP TEXT
========================================================== */

.form-text{

    margin-top:8px;

    color:var(--text-muted);

    font-size:13px;

}

/* ==========================================================
   VALIDATION
========================================================== */

.is-valid{

    border-color:#22c55e !important;

}

.is-invalid{

    border-color:#ef4444 !important;

}

.valid-feedback{

    margin-top:8px;

    color:#22c55e;

    font-size:13px;

}

.invalid-feedback{

    margin-top:8px;

    color:#ef4444;

    font-size:13px;

}

/* ==========================================================
   FORM DIVIDER
========================================================== */

.form-divider{

    height:1px;

    background:var(--border);

    margin:35px 0;

}

/* ==========================================================
   FORM ACTIONS
========================================================== */

.form-actions{

    display:flex;

    gap:15px;

    margin-top:30px;

    align-items:center;

}

/* ==========================================================
   PRINTQLY CSS FRAMEWORK v2.0
   FILE : forms.css
   PART : 4B-1
   PURPOSE : Authentication Forms
========================================================== */


/* ==========================================================
   AUTH WRAPPER
========================================================== */

.auth-wrapper{
    width:100%;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 20px;
}

.auth-container{
    width:100%;
    max-width:1180px;
    display:grid;
    grid-template-columns:1fr 480px;
    gap:60px;
    align-items:center;
}


/* ==========================================================
   AUTH CONTENT
========================================================== */

.auth-content h1{
    font-size:48px;
    font-weight:800;
    margin-bottom:18px;
    color:var(--white);
}

.auth-content p{
    color:var(--text-light);
    line-height:1.8;
    margin-bottom:35px;
}

.auth-features{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.auth-feature{
    display:flex;
    align-items:center;
    gap:15px;
}

.auth-feature-icon{
    width:48px;
    height:48px;
    border-radius:14px;
    background:rgba(255,212,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    font-size:20px;
}

.auth-feature span{
    color:var(--text-light);
}


/* ==========================================================
   AUTH CARD
========================================================== */

.auth-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    padding:40px;
    box-shadow:var(--shadow-lg);
}

.auth-logo{
    text-align:center;
    margin-bottom:25px;
}

.auth-logo img{
    width:180px;
    margin:auto;
}

.auth-title{
    text-align:center;
    margin-bottom:10px;
    color:var(--white);
    font-size:30px;
    font-weight:700;
}

.auth-subtitle{
    text-align:center;
    color:var(--text-light);
    margin-bottom:30px;
}


/* ==========================================================
   LOGIN FORM
========================================================== */

.login-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.login-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:-5px;
}

.login-options a{
    color:var(--primary);
    font-size:14px;
}


/* ==========================================================
   REGISTER FORM
========================================================== */

.register-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.name-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}


/* ==========================================================
   SOCIAL LOGIN
========================================================== */

.social-divider{
    display:flex;
    align-items:center;
    margin:30px 0;
}

.social-divider::before,
.social-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:var(--border);
}

.social-divider span{
    margin:0 18px;
    color:var(--text-muted);
    font-size:14px;
}

.social-login{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.social-btn{
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#181818;
    color:var(--white);
    cursor:pointer;
    transition:var(--transition);
}

.social-btn:hover{
    border-color:var(--primary);
}

.social-btn img{
    width:22px;
    height:22px;
}


/* ==========================================================
   AUTH FOOTER
========================================================== */

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

.auth-footer p{
    color:var(--text-light);
    margin:0;
}

.auth-footer a{
    color:var(--primary);
    font-weight:600;
}

/* ==========================================================
   PRINTQLY CSS FRAMEWORK v2.0
   FILE : forms.css
   PART : 4B-2
   PURPOSE : OTP • Password • Alerts • Verification
========================================================== */


/* ==========================================================
   OTP INPUT
========================================================== */

.otp-wrapper{
    display:flex;
    justify-content:center;
    gap:15px;
    margin:25px 0;
}

.otp-input{
    width:60px;
    height:60px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#181818;
    color:var(--white);
    text-align:center;
    font-size:24px;
    font-weight:700;
    outline:none;
    transition:var(--transition);
}

.otp-input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,212,0,.15);
}


/* ==========================================================
   PASSWORD FIELD
========================================================== */

.password-group{
    position:relative;
}

.password-group .form-control{
    padding-right:55px;
}

.password-toggle{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    cursor:pointer;
    color:var(--text-muted);
    font-size:18px;
    transition:var(--transition);
}

.password-toggle:hover{
    color:var(--primary);
}


/* ==========================================================
   PASSWORD STRENGTH
========================================================== */

.password-strength{
    margin-top:12px;
}

.password-strength-bar{
    width:100%;
    height:8px;
    background:#222;
    border-radius:20px;
    overflow:hidden;
}

.password-strength-fill{
    width:0%;
    height:100%;
    background:#ef4444;
    transition:.4s;
}

.strength-weak{
    width:25%;
    background:#ef4444;
}

.strength-medium{
    width:60%;
    background:#f59e0b;
}

.strength-good{
    width:80%;
    background:#3b82f6;
}

.strength-strong{
    width:100%;
    background:#22c55e;
}

.password-strength-text{
    margin-top:8px;
    font-size:13px;
    color:var(--text-light);
}


/* ==========================================================
   AUTH ALERTS
========================================================== */

.auth-alert{
    padding:16px 20px;
    border-radius:var(--radius);
    margin-bottom:22px;
    font-size:14px;
    font-weight:500;
}

.auth-alert-success{
    background:rgba(34,197,94,.12);
    color:#22c55e;
    border:1px solid rgba(34,197,94,.25);
}

.auth-alert-error{
    background:rgba(239,68,68,.12);
    color:#ef4444;
    border:1px solid rgba(239,68,68,.25);
}

.auth-alert-warning{
    background:rgba(245,158,11,.12);
    color:#f59e0b;
    border:1px solid rgba(245,158,11,.25);
}

.auth-alert-info{
    background:rgba(59,130,246,.12);
    color:#3b82f6;
    border:1px solid rgba(59,130,246,.25);
}


/* ==========================================================
   EMAIL VERIFICATION
========================================================== */

.verify-box{
    text-align:center;
    padding:20px 0;
}

.verify-icon{
    width:90px;
    height:90px;
    margin:0 auto 20px;
    border-radius:50%;
    background:rgba(255,212,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    color:var(--primary);
}

.verify-title{
    font-size:28px;
    font-weight:700;
    color:var(--white);
    margin-bottom:12px;
}

.verify-text{
    color:var(--text-light);
    line-height:1.8;
    margin-bottom:30px;
}


/* ==========================================================
   RESEND OTP
========================================================== */

.resend-code{
    text-align:center;
    margin-top:22px;
}

.resend-code a{
    color:var(--primary);
    font-weight:600;
}

.resend-code span{
    color:var(--text-muted);
}


/* ==========================================================
   RESET PASSWORD
========================================================== */

.reset-password-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}


/* ==========================================================
   TERMS
========================================================== */

.terms-box{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-top:20px;
}

.terms-box input{
    margin-top:4px;
    accent-color:var(--primary);
}

.terms-box label{
    color:var(--text-light);
    line-height:1.7;
}

.terms-box a{
    color:var(--primary);
}


/* ==========================================================
   AUTH LOADER
========================================================== */

.auth-loading{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:20px;
    color:var(--primary);
    font-weight:600;
}

.auth-spinner{
    width:22px;
    height:22px;
    border:3px solid rgba(255,212,0,.25);
    border-top:3px solid var(--primary);
    border-radius:50%;
    animation:authSpin .8s linear infinite;
}

@keyframes authSpin{

0%{
transform:rotate(0deg);
}

100%{
transform:rotate(360deg);
}

}


/* ==========================================================
   AUTH HELPERS
========================================================== */

.auth-center{
    text-align:center;
}

.auth-mt{
    margin-top:25px;
}

.auth-hidden{
    display:none;
}


/* ==========================================================
   END OF PART 4B-2
========================================================== */


/* ==========================================================
   PRINTQLY CSS FRAMEWORK v2.0
   FILE : forms.css
   PART : 4C-1
   PURPOSE : Upload Components & File Manager
========================================================== */


/* ==========================================================
   UPLOAD BOX
========================================================== */

.upload-box{

    position:relative;

    width:100%;

    padding:40px;

    border:2px dashed var(--border);

    border-radius:var(--radius-lg);

    background:#171717;

    text-align:center;

    transition:var(--transition);

    cursor:pointer;

}

.upload-box:hover{

    border-color:var(--primary);

    background:#1d1d1d;

}

.upload-box.active{

    border-color:var(--primary);

    background:rgba(255,212,0,.06);

}


/* ==========================================================
   UPLOAD ICON
========================================================== */

.upload-icon{

    width:90px;

    height:90px;

    margin:0 auto 20px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,212,0,.12);

    color:var(--primary);

    font-size:40px;

}


/* ==========================================================
   UPLOAD TITLE
========================================================== */

.upload-title{

    font-size:24px;

    font-weight:700;

    color:var(--white);

    margin-bottom:10px;

}

.upload-description{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:25px;

}


/* ==========================================================
   HIDDEN INPUT
========================================================== */

.upload-box input[type=file]{

    display:none;

}


/* ==========================================================
   DRAG & DROP
========================================================== */

.drag-drop-text{

    color:var(--text-muted);

    margin-top:10px;

    font-size:14px;

}


/* ==========================================================
   FILE LIST
========================================================== */

.file-list{

    margin-top:30px;

    display:flex;

    flex-direction:column;

    gap:16px;

}


/* ==========================================================
   FILE CARD
========================================================== */

.file-card{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:18px;

    padding:18px;

    background:#1b1b1b;

    border:1px solid var(--border);

    border-radius:var(--radius);

}

.file-info{

    display:flex;

    align-items:center;

    gap:15px;

    flex:1;

}

.file-icon{

    width:52px;

    height:52px;

    border-radius:12px;

    background:rgba(255,212,0,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary);

    font-size:24px;

}

.file-details{

    flex:1;

}

.file-name{

    color:var(--white);

    font-weight:600;

    margin-bottom:4px;

}

.file-size{

    color:var(--text-muted);

    font-size:13px;

}


/* ==========================================================
   FILE ACTIONS
========================================================== */

.file-actions{

    display:flex;

    gap:10px;

}

.file-action{

    width:40px;

    height:40px;

    border-radius:10px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    background:#242424;

    color:var(--white);

    transition:var(--transition);

}

.file-action:hover{

    background:var(--primary);

    color:#000;

}


/* ==========================================================
   PROGRESS
========================================================== */

.upload-progress{

    width:100%;

    height:8px;

    margin-top:15px;

    background:#252525;

    border-radius:20px;

    overflow:hidden;

}

.upload-progress-bar{

    width:0;

    height:100%;

    background:var(--primary);

    transition:.35s;

}


/* ==========================================================
   IMAGE PREVIEW
========================================================== */

.image-preview{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(120px,1fr));

    gap:18px;

    margin-top:25px;

}

.preview-item{

    position:relative;

    border-radius:14px;

    overflow:hidden;

    border:1px solid var(--border);

}

.preview-item img{

    width:100%;

    height:120px;

    object-fit:cover;

}

.preview-remove{

    position:absolute;

    top:8px;

    right:8px;

    width:28px;

    height:28px;

    border-radius:50%;

    background:rgba(0,0,0,.75);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:var(--transition);

}

.preview-remove:hover{

    background:#ef4444;

}


/* ==========================================================
   FILE STATUS
========================================================== */

.file-success{

    color:#22c55e;

    font-weight:600;

}

.file-error{

    color:#ef4444;

    font-weight:600;

}

.file-uploading{

    color:#f59e0b;

    font-weight:600;

}


/* ==========================================================
   END PART 4C-1
========================================================== */


/* ==========================================================
   PRINTQLY CSS FRAMEWORK v2.0
   FILE : forms.css
   PART : 4C-2A
   PURPOSE : Search, Profile & Address Forms
========================================================== */


/* ==========================================================
   SEARCH FORM
========================================================== */

.search-form{
    width:100%;
}

.search-box{
    display:flex;
    align-items:center;
    background:#181818;
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
}

.search-input{
    flex:1;
    height:56px;
    border:none;
    outline:none;
    background:transparent;
    padding:0 20px;
    color:var(--white);
    font-size:15px;
}

.search-input::placeholder{
    color:var(--text-muted);
}

.search-btn{
    width:60px;
    height:56px;
    border:none;
    background:var(--primary);
    color:#000;
    cursor:pointer;
    font-size:18px;
    transition:var(--transition);
}

.search-btn:hover{
    background:var(--primary-dark);
}


/* ==========================================================
   FILTER FORM
========================================================== */

.filter-form{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-top:25px;
}

.filter-form .form-control{
    min-width:180px;
}


/* ==========================================================
   PROFILE FORM
========================================================== */

.profile-form{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.profile-header{
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:15px;
}

.profile-avatar{
    width:110px;
    height:110px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid var(--primary);
}

.profile-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.profile-upload{
    display:flex;
    flex-direction:column;
    gap:12px;
}


/* ==========================================================
   ADDRESS FORM
========================================================== */

.address-form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.address-form .full-width{
    grid-column:1 / -1;
}


/* ==========================================================
   CONTACT FORM
========================================================== */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}


/* ==========================================================
   PHONE INPUT
========================================================== */

.phone-group{
    display:flex;
    gap:12px;
}

.country-code{
    width:110px;
}


/* ==========================================================
   PINCODE SEARCH
========================================================== */

.pincode-group{
    display:flex;
    gap:12px;
}

.pincode-group .form-control{
    flex:1;
}

.pincode-btn{
    width:130px;
}


/* ==========================================================
   FORM SUMMARY
========================================================== */

.form-summary{
    margin-top:30px;
    padding:22px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#171717;
}

.form-summary h4{
    margin-bottom:15px;
}

.summary-item{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid var(--border);
}

.summary-item:last-child{
    border-bottom:none;
}


/* ==========================================================
   READ ONLY FIELD
========================================================== */

.readonly{
    background:#111 !important;
    color:var(--text-light);
    cursor:not-allowed;
}


/* ==========================================================
   FORM HELPERS
========================================================== */

.form-center{
    text-align:center;
}

.form-hidden{
    display:none;
}

.form-full{
    width:100%;
}

.form-half{
    width:50%;
}

.form-mt{
    margin-top:25px;
}

.form-mb{
    margin-bottom:25px;
}


/* ==========================================================
   END OF PART 4C-2A
========================================================== */


/* ==========================================================
   PRINTQLY CSS FRAMEWORK v2.0
   FILE : forms.css
   PART : 4C-2B-1
   PURPOSE : Shop Registration • GST • Bank Details
========================================================== */


/* ==========================================================
   SHOP REGISTRATION
========================================================== */

.shop-form{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.shop-section{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    padding:28px;
}

.shop-section-title{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:25px;
    padding-bottom:15px;
    border-bottom:1px solid var(--border);
}

.shop-section-title i{
    color:var(--primary);
    font-size:20px;
}

.shop-section-title h3{
    margin:0;
    color:var(--white);
    font-size:22px;
}

.shop-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.shop-grid .full-width{
    grid-column:1/-1;
}


/* ==========================================================
   BUSINESS INFORMATION
========================================================== */

.business-info{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.business-info .full-width{
    grid-column:1/-1;
}


/* ==========================================================
   GST DETAILS
========================================================== */

.gst-section{
    margin-top:15px;
}

.gst-number{
    letter-spacing:1px;
    text-transform:uppercase;
    font-weight:600;
}

.gst-note{
    margin-top:8px;
    color:var(--text-muted);
    font-size:13px;
}


/* ==========================================================
   BUSINESS CATEGORY
========================================================== */

.category-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
}

.category-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#181818;
    cursor:pointer;
    transition:var(--transition);
}

.category-item:hover{
    border-color:var(--primary);
}

.category-item input{
    accent-color:var(--primary);
}


/* ==========================================================
   BANK DETAILS
========================================================== */

.bank-section{
    margin-top:20px;
}

.bank-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.bank-grid .full-width{
    grid-column:1/-1;
}

.bank-card{
    background:#181818;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:20px;
}

.bank-title{
    font-size:18px;
    font-weight:700;
    color:var(--white);
    margin-bottom:15px;
}


/* ==========================================================
   UPI DETAILS
========================================================== */

.upi-box{
    display:flex;
    gap:15px;
    align-items:center;
    margin-top:20px;
}

.upi-icon{
    width:60px;
    height:60px;
    border-radius:14px;
    background:rgba(255,212,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--primary);
    font-size:26px;
}

.upi-details{
    flex:1;
}

.upi-title{
    color:var(--white);
    font-weight:600;
    margin-bottom:6px;
}

.upi-id{
    color:var(--text-light);
}


/* ==========================================================
   ACCOUNT VERIFICATION
========================================================== */

.verify-account{
    margin-top:20px;
    padding:18px;
    border-radius:var(--radius);
    background:rgba(34,197,94,.10);
    border:1px solid rgba(34,197,94,.25);
    color:#22c55e;
    display:flex;
    align-items:center;
    gap:12px;
}

.verify-account.pending{
    background:rgba(245,158,11,.10);
    border-color:rgba(245,158,11,.25);
    color:#f59e0b;
}

.verify-account.failed{
    background:rgba(239,68,68,.10);
    border-color:rgba(239,68,68,.25);
    color:#ef4444;
}


/* ==========================================================
   SHOP HELPERS
========================================================== */

.shop-note{
    margin-top:12px;
    font-size:13px;
    color:var(--text-muted);
}

.shop-divider{
    height:1px;
    background:var(--border);
    margin:35px 0;
}

