/* ============================================================
   NQT UPMOD – UI (COLOR FIXED VERSION)
============================================================ */

.nqp-update-form-wrap{
    max-width: 1150px;
    margin: 0 auto;
    padding: 10px 10px 50px 10px;
    background: transparent;
}

/* ================= LABEL ================= */
.nqp-update-form-wrap label{
    color: var(--nqt-color-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* sub label */
label.nqp-sub-label{
    font-size: 12px;
    font-weight: 400;
    color: var(--nqt-color-dark);
    opacity: .75;
}

/* FontAwesome icons */
label[for="parent_cat"]::before { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f11b"; }
label[for="child_cat"]::before  { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f07c"; }
label[for="mod_title"]::before  { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f044"; }
label[for="mod_version"]::before{ font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f02b"; }
label[for="mod_images"]::before { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f03e"; }
label[for="mod_video"]::before  { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f03d"; }
label[for="mod_author"]::before { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f007"; }
label[for="mod_desc"]::before   { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f27a"; }
.nqp-download-label::before     { font-family:"Font Awesome 5 Free"; font-weight:900; content:"\f019"; }

/* ================= INPUT / SELECT / TEXTAREA ================= */
.nqp-update-form-wrap input[type="text"],
.nqp-update-form-wrap select,
.nqp-update-form-wrap textarea{
    width: 100%;
    padding: 12px 16px;
    border-radius: 5px;
    border: 1px solid var(--nqt-box-border);
    transition: .2s ease;
}

/* focus */
.nqp-update-form-wrap input[type="text"]:focus,
.nqp-update-form-wrap select:focus,
.nqp-update-form-wrap textarea:focus{
    outline: none;
    border-color: var(--nqt-color-primary);
    background: var(--nqt-color-light);
    box-shadow: 0 0 0 2px rgba(255, 102, 51, 0.15);
}

/* fix select bị cắt chữ */
.nqp-update-form-wrap select{
    height: 50px;
    padding-right: 40px;
    appearance: none;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

/* ================= LAYOUT ================= */
.nqp-field-group{ margin-bottom: 20px; }

.nqp-row{
    display:flex;
    gap: 22px;
    flex-wrap: nowrap;
}
.nqp-col-50{ width:50%; }
.nqp-col-70{ width:70%; }
.nqp-col-30{ width:30%; }
.nqp-col-full{ width:100%; }

/* ================= UPLOAD ================= */
#mod_images{ display:none; }

.nqp-upload-box{
    width: 170px;
    height: 110px;
    border-radius: 5px;
    border: 2px dashed var(--nqt-box-border);
    background: var(--nqt-box-bg);
    position: relative;
    cursor: pointer;
    transition: .2s ease;
}

.nqp-upload-box-inner{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap: 8px;
}

.nqp-upload-box-inner i{
    font-size: 34px;
    color: var(--nqt-color-dark);
}

.nqp-upload-box-inner span{
    font-size: 12px;
    opacity: .8;
}

/* ================= IMAGE LIST ================= */
#nqp-image-list{
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
}
#nqp-image-list .nqp-image-name{
    opacity:.85;
}

/* ================= DOWNLOAD ROW ================= */
.nqp-download-row{
    display:flex;
    align-items:center;
    width: 100%;
    margin-bottom: 10px;
}

.nqp-download-row input{
    flex:1;
    border-radius: 5px;
}

/* ADD BUTTON */
.nqp-add-btn{
    width: 44px;
    height: 44px;
    margin-left: 10px;
    border-radius: 5px;
    border: none;
    background: var(--nqt-color-primary);
    color: var(--nqt-color-full-light);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

.nqp-add-btn:hover{
    filter: brightness(1.03);
}

/* ================= SUBMIT ================= */
.nqp-submit-wrap{ margin-top: 20px; }

/* ================= MESSAGE ================= */
.nqp-msg{
    margin: 0 0 15px 0;
    padding: 12px 14px;
    border-radius: 5px;
    border: 1px solid var(--nqt-box-border);
    background: var(--nqt-color-primary);
    color: var(--nqt-color-full-light);
    font-weight: 600;
}

/* ================= MOBILE ================= */
@media (max-width: 768px){
    .nqp-row{ flex-direction: column; gap: 14px; }
    .nqp-col-50,
    .nqp-col-70,
    .nqp-col-30,
    .nqp-col-full{ width:100%; }
    .nqp-upload-box{ width:100%; }
}
