/* ==========================================================
   INCEPTION V43
   STEP 3 FINAL CONSISTENCY
   ========================================================== */


/* ----------------------------------------------------------
   HAPUS BADGE V42
   ---------------------------------------------------------- */

#inception-register-v50-host
.v50-proof-grid
.v50-upload::after,

#inception-register-v50-host
.v50-proof-grid
label.v50-upload::after {
    content: none !important;
    display: none !important;
}


/* ----------------------------------------------------------
   SEMUA LABEL UPLOAD PDF DI STEP 3

   Ini sengaja berdasarkan input PDF,
   bukan nama class khusus Kartu Pelajar.
   ---------------------------------------------------------- */

#inception-register-v50-host
.v50-proof-grid
label:has(input[type="file"][accept*="pdf"]) {
    position: relative !important;

    box-sizing: border-box !important;

    width: 100% !important;

    min-height: 72px !important;

    padding: 14px 16px !important;

    border: 2px solid #637be0 !important;

    border-radius: 14px !important;

    background: #f8faff !important;

    cursor: pointer !important;

    overflow: hidden !important;
}


/* hover */

#inception-register-v50-host
.v50-proof-grid
label:has(input[type="file"][accept*="pdf"]):hover {
    border-color: #4965d8 !important;

    background: #f2f5ff !important;
}


/* helper tetap abu-abu */

#inception-register-v50-host
.v50-proof-grid
label:has(input[type="file"][accept*="pdf"])
small {
    color: #8a94aa !important;
}


/* input file existing tidak diubah logic-nya */

#inception-register-v50-host
.v50-proof-grid
label:has(input[type="file"][accept*="pdf"])
input[type="file"] {
    cursor: pointer !important;
}


/* ----------------------------------------------------------
   CHECKBOX KONFIRMASI
   Gunakan checkbox native browser.
   ---------------------------------------------------------- */

#inception-register-v50-host
.v50-card:has(.v50-proof-grid)
label:has(input[type="checkbox"]),

#inception-register-v50-host
.v50-card:has(.v50-proof-grid)
.v50-confirm,

#inception-register-v50-host
.v50-card:has(.v50-proof-grid)
.v15-confirm {
    display: flex !important;

    align-items: flex-start !important;

    gap: 10px !important;
}


#inception-register-v50-host
.v50-card:has(.v50-proof-grid)
input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: auto !important;

    display: block !important;

    position: static !important;

    width: 20px !important;
    height: 20px !important;

    min-width: 20px !important;
    min-height: 20px !important;

    flex: 0 0 20px !important;

    margin: 2px 0 0 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;

    accent-color: #5871d8 !important;
}


/* matikan gambar centang custom lama */

#inception-register-v50-host
.v50-card:has(.v50-proof-grid)
input[type="checkbox"]::before,

#inception-register-v50-host
.v50-card:has(.v50-proof-grid)
input[type="checkbox"]::after {
    content: none !important;
    display: none !important;
}


/* ----------------------------------------------------------
   MOBILE
   Hilangkan ruang ekstra bekas badge V42.
   ---------------------------------------------------------- */

@media (max-width: 760px) {

    #inception-register-v50-host
    .v50-proof-grid
    label:has(input[type="file"][accept*="pdf"]) {
        padding: 13px 14px !important;
    }

}


/* ==========================================================
   END V43
   ========================================================== */
