#knd25-quiz-app {
    max-width: 700px;
    padding: 20px;
    margin: auto;
}
#knd25-quiz-app form input {
    border-radius: 35px;
    background: #002391;
    border: none;
    box-shadow: none;
    color: #fff;
    font-size: 14px;
    padding: 0 25px;
    margin-bottom: 10px;
}
#knd25-quiz-app form input::placeholder {
    color: #fff;
}

div#knd25-quiz-app.result {
    max-width: 100%;
    background: #fff;
}
.knd25-btn {
    border: none;
    margin: 0;
    background: #1460F7;
    color: #fff;
    font-size: 16px;
    padding: 5px 30px;
    border-radius: 35px;
    margin-top: 20px;
    text-transform: capitalize;
    font-weight: bold;
    width: 200px;
    border: 2px solid #1460F7;
}

#knd25-info-form input {
    width: 100%;
    background: #08363f;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-size: 16px;
}
#knd25-info-form input::placeholder {
    color: #fff;
}
#knd25-info-form input:valid {
    background: #fff;
    color: #000;
}
#knd25-info-form button {
    display: block;
}

/* Quiz Content */
form#knd25-q-form {
    margin: 0;
    border-radius: 35px;
    padding: 0;
    border: 2px solid rgb(207 164 91);
    overflow: hidden;
}
.knd25-slide-header {
    background: url(/wp-content/plugins/quizz-certificates/assets/images/bg-q.jpg) no-repeat;
    padding: 20px 50px;
    background-size: cover;
    background-position: center;
}

.knd25-progress {
    text-align: left;
    color: #fff;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 5px;
}
.knd25-slide-title {
    text-align: left;
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}
.exam .knd25-opts {
    padding: 50px 10%;
}
.knd25-opts label {
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    position: relative;
    margin-bottom: 15px;
    padding-left: 40px;
}
#knd25-quiz-app.exam {
    max-width: 100%;
    background: #fff;
    padding: 0px 0px;
}

div#knd25-quiz-app.result .knd25-opts label{
pointer-events: none;
}
.knd25-opts input[type="radio"],.knd25-opts input[type="checkbox"] {
    margin-right: 10px;
    position: absolute;
    left: 0;
    cursor: pointer;
    top: 0px;
    width: 18px;
    height: 18px;
    border-radius: 0 !important;
}
.knd25-nav {
    display: flex;
    gap: 50px;
    max-width: 50%;
    margin: auto;
    justify-content: center;
}
button#knd25-next {

}
button#knd25-prev {
    border: 2px solid #1460F7;
    background: #fff;
    color: #1460F7;
}
button#knd25-submit, button#knd25-check-submit {
    text-transform: none;
    font-size: 16px;
    padding: 0;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #BF8736, #FFF8AD, #fff,#EED386,#BF8736);
    color: #BF8736;
    border: 2px solid #BF8736;
}

/* Result Styles */
.knd25-result-box {
    border-radius: 5px;
}
.knd25-result-box .hello_title {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1460F7;
    text-align: center;
}
.knd25-result-box .hello_title span {
    color: #231F20;
}
.knd25-info {
    padding: 30px;
    border-radius: 25px;
    background: linear-gradient(135deg, #BF8736, #FFF8AD, #fff,#EED386,#BF8736);
}
.knd25-info .info_title {
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 15px;
    color: #277b89;
}
.knd25-info .info_contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.knd25-info .info_contact .image {
    max-width: 200px;
}
.knd25-info .info_contact p {
    margin-bottom: 10px;
    font-size: 16px;
}
.knd25-point .point_title{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    font-size: 25px;
    border-bottom: 2px solid #fff;
    color: #277b89;
    padding-bottom: 10px;
}
.comment_title {
    display: block;
    margin-bottom: 20px;
    font-size: 30px;
    border-bottom: 1px solid #fff;
    color: #1460F7;
    line-height: 1.4;
    font-weight: bold;
}
.knd25-score {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 20px;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
    line-height: 1.4;
    color: #1d60f3;
}
.knd25-score span {
    color: #000;
}
.knd25-interpret {
    margin-top: 15px;
}
.knd25-detail .knd25-opts {
    padding: 0;
}
.knd25-detail .knd25-opts label {
    color: #000;
}

span.knd25-review-icon {
    margin-left: 10px;
    top: 2px;
    position: relative;
}

.group-cc {
    position: relative;
}

button#knd25-dl-cert {
    padding: 0;
    max-width: 250px;
    position: absolute;
    right: 30px;
    bottom: 20px;
}

.knd25-group {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}


.knd25-group-1 {
    flex: 0 1 35%;
}
.knd25-group-2 {
    flex: 0 1 65%;
}

#knd25-dl-cert.knd25-loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

#knd25-dl-cert.knd25-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    margin-left: 6px;
    position: absolute;
    left: 50%;
    top: 17px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.knd25-detail {
    margin-top: 30px;
}
/* Interpret Section */


/* Review Detail */



div#knd25-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.knd25-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}
.knd25-summary-legend {
    margin-bottom: 15px;
    font-size: 0.9em;
}
.knd25-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.knd25-modal-actions .knd25-btn {
    width: auto;
    font-size: 14px;
    margin: 0;
}
.knd25-modal-actions button#knd25-modal-confirm {
    background: linear-gradient(135deg, #BF8736, #FFF8AD, #fff,#EED386,#BF8736);
    color: #BF8736;
    border: 2px solid #BF8736;
}

span.knd25-legend-item {
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
span.knd25-legend-item.done {
    background-color: #1d60f3;
}
span.knd25-legend-item.miss {
    background-color: #dc3545;
}
.knd25-q-status {
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    border-radius: 99%;
    justify-content: center;
    font-size: 11px;
}
.knd25-q-status.miss {
    background-color: #dc3545;
}
.knd25-q-status.done {
    background-color: #1d60f3;
}

div#knd25-summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
div#knd25-modal-prompt-message {
    margin-bottom: 15px;
}


/* Class khóa scroll body */
.knd25-no-scroll {
    overflow: hidden !important;
}

/* Đảm bảo modal đè lên tất cả */
#knd25-confirm-modal {
    z-index: 99999; 
}


/* Hiển thị thời gian và label */
div#knd25-timer-container {
    margin-bottom: 15px;
    font-size: 14px;
}
#knd25-timer-wrap {
    display: flex;
    flex-flow: column;
    align-items: end;
    margin-bottom: 10px;
}

#knd25-timer-label {
    font-size: 16px;
    color: #1460F7;
    font-weight: bold;
}

#knd25-timer-text {
    font-size: 25px;
    font-weight: bold;
    transition: color 0.3s;
}

/* Màu cảnh báo đỏ khi còn ít thời gian */
#knd25-timer-text.warning {
    color: #ff4d4d; 
}

/* Progress Bar */
#knd25-progress-bar-wrap {
    width: 100%;
    height: 10px;
    background-color: #DCE7FF; /* Màu nền của thanh */
    border-radius: 25px;
    overflow: hidden;
}

#knd25-progress-bar {
    height: 100%;
    background-color: #4169e1;
    background-image: linear-gradient(135deg, #BF8736, #FFF8AD, #fff,#EED386,#BF8736);
    transition: width 1s linear;
    border-radius: 25px;
}

/* CSS cho icon loading trong nút (để tiện cho hàm download chứng chỉ) */
.knd25-spin {
    animation: knd25-spin 1s linear infinite;
}

@keyframes knd25-spin {
    100% { transform: rotate(360deg); }
}

div#knd25-quiz-app.result div#knd25-timer-container {
    display: none;
}

/**/
@media (max-width: 549px){
   .knd25-btn {
    padding: 5px 5px;
    font-size: 14px;
}
.knd25-result-box .hello_title {
    font-size: 1rem;
}
.knd25-info .info_title {
    font-size: 1rem;
}
.knd25-info .info_contact p {
    margin-bottom: 10px;
    font-size: 14px;
}

.knd25-level-content,.knd25-warning {
    font-size: 14px;
}
.knd25-detail .knd25-opts label {
    color: #000;
    font-size: 14px;
}
.knd25-opts input[type="radio"]..knd25-opts input[type="checkbox"] {
    top: 1px;
}
.knd25-interpret {
    font-size: 14px;
}
.knd25-result-box{
    padding: 0;
}
.knd25-group {
    flex-flow: column;
    margin-top: 15px;
}
.knd25-info .info_contact {
    gap: 15px;
}
.knd25-info {
    padding: 15px;
}
.knd25-info .info_contact .image {
    max-width: 60px;
}
iframe {
    max-height: 350px;
}
button#knd25-dl-cert {
    padding: 0;
    max-width: 130px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    margin: 0;
}
.knd25-point .point_title, .comment_title {
    font-size: 25px;
}
	#knd25-quiz-app form input{
		font-size:16px;
	}

}