/* Container Modal Nhiệm vụ */
.hzp-tk-modal-container { 
    display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100%; 
    overflow: auto; background-color: rgba(0, 0, 0, 0.6); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

.hzp-tk-modal-content { 
    background-color: #fff; margin: 20px auto; padding: 20px; border: 1px solid #888; 
    width: 660px; text-align: center; font-size: 16px; border-radius: 7px; position: relative; 
}

.hzp-tk-modal-inner { width: 620px; margin: auto; text-align: left; }

.hzp-tk-close { 
    color: #aaa; position: absolute; right: 15px; top: 5px; font-size: 28px; 
    font-weight: bold; cursor: pointer; 
}
.hzp-tk-close:hover { color: black; }

.hzp-tk-txt-highlight { 
    color: rgb(196, 0, 0); font-size: 15px; text-align: center; 
    display: block; font-weight: 600; margin-bottom: 10px; 
}

.hzp-tk-txt-step { font-weight: 600; }
.hzp-tk-txt-danger, .hzp-tk-keyword-text { color: rgb(196, 0, 0); font-weight: 600; }

.hzp-tk-form-input { 
    display: flex; margin: 15px auto; justify-content: space-evenly; align-items: center; 
}

input.hzp-tk-input { 
    display: block; width: 250px; padding: 0.5rem 0.75rem; font-size: 1rem; 
    border: 1px solid #ced4da; border-radius: 0.25rem; 
}

.hzp-tk-submit-btn { 
    background-color: #5d6cf9; color: #ffffff; font-size: 18px; padding: 8px 36px; 
    border-radius: 8px; width: auto; cursor: pointer; text-align: center; border: none; 
}

.hzp-tk-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.hzp-tk-image-demo-search { text-align: center; position: relative; margin: 10px 0; }
.hzp-tk-image-demo-search img { max-width: 100%; }
.hzp-tk-keyword-overlay { 
    position: absolute; left: 156px; top: 160px; font-size: 15px; color: #000; font-weight: 500;
}

.hzp-tk-box-img-result img { max-width: 100%; }
.hzp-tk-box-img-result .hzp-tk-image { 
    display: inline-block; border: 2px solid red; margin: 10px 0; 
}

.hzp-tk-img-view-more { text-align: center; margin: 10px 0px; }
.hzp-tk-img-view-more img { max-width: 100%; }

.hzp-tk-danger-mask-txt { margin-top: 5px; display: block; text-align: center; }
.hzp-tk-box-danger-mask { 
    background-color: red; border-radius: 7px; display: inline-block; 
    width: 35px; height: 18px; vertical-align: sub; margin-left: -2px; 
}

.hzp-tk-copy-btn, .hzp-tk-change-btn { 
    font-size: 12px; color: #888; cursor: pointer; border: 1px solid #888; 
    padding: 2px 10px; border-radius: 7px; display: inline-block; user-select: none; 
}

.hzp-tk-change-btn { padding: 5px 23px; opacity: .7; }
.hzp-tk-change-task-container { text-align: center; margin-top: 10px; }

.hzp-tk-video { width: 100%; height: 350px; margin-top: 10px; border: none; }

/* Responsive */
@media screen and (max-width: 680px) {
    .hzp-tk-modal-content { width: 95%; padding: 10px; max-height: 90vh; overflow-y: auto; margin: 5vh auto; }
    .hzp-tk-modal-inner { width: 100%; }
    .hzp-tk-keyword-overlay { left: 43px; top: 90px; font-size: 13px; }
    .hzp-tk-form-input { flex-direction: column; }
    input.hzp-tk-input { width: 100%; margin-bottom: 10px; }
    .hzp-tk-submit-btn { width: 100%; }
    .hzp-tk-video { height: calc((100vw - 40px) * 9 / 16); }
}