/*
Theme Name: Flatsome Child
Description: Code by CODE-WP.COM
Author: UX Themes
Template: flatsome
Version: 3.1
*/

@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/*************** ADD CUSTOM CSS HERE.   ***************/
h3.section-title.section-title-center span.section-title-main {
    font-size: 40px;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    text-transform: math-auto;
}
h3.section-title.section-title-center b {
    visibility: hidden;
}
ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase li a {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}
.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
.answer-sheet {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
}
.test-content {
    display: flex;
    gap: 30px;
}
.sheet-header {
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.sheet-body {
    max-height: 650px;
    overflow-y: auto;
}
p.question-title {
    margin-top: 30px;
    margin-bottom: 30px;
}
.lesson-test-doing h2 {
    font-size: 20px;
}
.question {
    background: #f6ecec;
    padding: 16px 12px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.question:hover {
    border-color: #f5c2b8;
    box-shadow: 0 10px 24px rgba(126, 58, 58, 0.1);
    transform: translateY(-2px);
}
.question label.answer-item {
    background: #fff;
    padding: 11px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.question label.answer-item:hover {
    background: #fffaf8;
    border-color: #f2b8a8;
    box-shadow: 0 5px 14px rgba(126, 58, 58, 0.08);
    transform: translateX(3px);
}
.test-nav button {
    background: #5fc877;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    padding: 11px 22px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.test-nav button:hover:not(:disabled) {
    background: #35ad61;
    border-color: #23894a;
    box-shadow: 0 7px 16px rgba(35, 137, 74, 0.25);
    transform: translateY(-2px);
}

.test-nav button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(35, 137, 74, 0.18);
}

.test-nav button#submit-test {
    background: #f97316;
}

.test-nav button#submit-test:hover:not(:disabled) {
    background: #ea580c;
    border-color: #c2410c;
    box-shadow: 0 7px 16px rgba(234, 88, 12, 0.28);
}
.sheet-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.q-number {
    width: 26px;
    text-align: right;
    margin-right: 6px;
    font-weight: 600;
}

.sheet-opt {
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin-right: 6px;
    border-radius: 50%;
    background: #eee;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Đã chọn */
.sheet-opt.active {
    background: #2ecc71;
    color: #fff;
    font-weight: 600;
}

/* Chưa chọn */
.sheet-opt.empty {
    background: #eee;
}

/* Click được */
.sheet-opt:hover {
    background: #dbeafe;
    color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.18);
}
.answer-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.answer-item input {
    display: none;
}

/* Vòng tròn A B C D */
.answer-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: 600;
    color: #555;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Nội dung đáp án */
.answer-text {
    font-size: 15px;
    color: #222;
}

/* Khi được chọn */
.answer-item input:checked+.answer-circle {
    background: #2ecc71;
    border-color: #2ecc71;
    color: #fff;
}

/* Hover */
.answer-item:hover .answer-circle {
    border-color: #2ecc71;
    background: #ecfdf5;
    color: #16803c;
    transform: scale(1.06);
    box-shadow: 0 3px 8px rgba(46, 204, 113, 0.18);
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lesson-item.done a {
    color: #27ae60;
    font-weight: 600;
}

.lesson-status {
    font-size: 14px;
    margin-left: 8px;
}

.lesson-status.done {
    color: #27ae60;
}

.lesson-status.pending {
    color: #ccc;
}

/* Course page styles moved to assets/css/course.css */

.ntc-user-menu {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.ntc-user-dropdown {
    display: none;
    position: absolute;
    background: #fff;
    list-style: none;
    padding: 10px;
    border: 1px solid #ddd;
    min-width: 180px;
    z-index: 999;
    right: 0px;
}

.ntc-user-menu:hover .ntc-user-dropdown {
    display: block;
}

.ntc-user-dropdown li {
    margin-bottom: 8px;
    margin-left: 10px;
}

.ntc-user-dropdown li a {
    text-decoration: none;
}
.ntc-user-courses {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.ntc-course-item a {
    display: block;
    text-decoration: none;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.ntc-course-thumb-wrap {
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
    overflow: hidden;
}

.ntc-course-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ntc-course-title {
    font-size: 15px;
    padding: 10px 12px;
    color: #222;
}

.ntc-course-thumb-wrap.no-thumb {
    background: linear-gradient(135deg, #ddd, #f5f5f5);
}
.ntc-user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.ntc-user-avatar img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.ntc-user-display-name {
    font-weight: 500;
}

.ntc-user-info {
    padding: 10px 15px;
    background: #f7f7f7;
}

.ntc-user-info small {
    color: #666;
}

.ntc-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 5px 0;
}
form.ntc-account-form {
    max-width: 600px;
    display: block;
    margin: 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    border: solid 2px #ccc;
}
form.ntc-account-form input {
    border: solid 1px #ccc;
    box-shadow: unset;
    height: 50px;
    border-radius: 5px;
}
button.button.btn-submit {
    border-radius: 5px;
    font-weight: 400;
}
.lesson-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}




/* Course stats styles moved to assets/css/course.css */
.lesson-test-doing {
    padding: 40px;
}
form#lesson-test-form {
    width: 80%;
}
button#submit-test {
    background: #f50;
}
.test-instructions p {
    font-style: italic;
    font-size: 13px;
}
.test-instructions {
    background: #ffffff;
    padding: 10px;
    border-radius: 5px;
}  
form#crm-login-form, form#crm-register-form {
    max-width: 600px;
    margin: 0px auto;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    border: solid 2px #ccc;
}
form#crm-login-form input, form#crm-register-form input {
    height: 50px;
    border-radius: 5px;
    box-shadow: unset;
    background: #fefbf5;
}
form#crm-register-form a, form#crm-login-form a {
    text-decoration: underline;
    color: #f50;
}
.block_margin {
    margin: 100px 0px;
}
.block_margin a {
    text-decoration: underline;
}
.file_mp3 audio {
    width: 100%;
}

.file_mp3 {
    margin-top: 20px;
}
