.hidden {
    display: none;
}

p {
    margin: 0;
}

.quiz-section {
    padding-top: 60px;
    padding-bottom: 50px;
}

#result-table,
.quiz-section .container {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}

.text-area {
    text-align: center;
}

.text-area h1 {
    font-size: 62px;
    font-weight: 700;
}

.text-area p {
    font-size: 24px;
    font-weight: 600;
    margin-top: 10px;
}

.grid-area {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    column-gap: 30px;
    margin-top: 40px;
    padding: 0 15px 40px;
    border-bottom: 1px solid #eee;
}

@media only screen and (max-width: 1199px) {
    .grid-area {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 767px) {
    .grid-area {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.item-quiz {
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.item-quiz.error {
    border-color: #FF2A2A;
    background-color: #FDD;
}

.quiz-test {
    padding: 10px 22px 10px 10px;
    color: #333;
    background-color: #f5f5f5;
    font-size: 13px;
    position: relative;
    flex: 1;
    height: calc(100% - 57.8px);
}

.quiz-test p {
    margin-bottom: 0 !important;
}

.quiz-test .quiz-test-no {
    display: block;
    font-size: 14px;
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: bold;
    color: #515151;
}

.item-quiz.error .quiz-test {
    color: #FF2A2A;
    font-weight: bold;
}

.item-quiz.error .quiz-test p {
    color: #FF2A2A;
}

.radio-group-padding {
    padding: 10px;
    max-height: 57.8px;
}

.radio-group {
    display: flex;   
    border: 1px solid #d65a0d;
    border-radius: 4px;
    overflow: hidden;
}

.radio-item {
    position: relative;
    flex: 1;
}

.radio-item p {
    margin-bottom: 0;
}

.radio-item span {
    display: block;
    margin: 0;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-item label {
    display: block;
    padding: 6px 12px;
    text-align: center;
    background-color: #FF8A3F;
    color: white;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #d65a0d;
    margin-bottom: 0;
}

.radio-item:last-child label {
    border-right: none;
}

.radio-item label:has(input[type="radio"]:checked) {
    background-color: #ff6633;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.radio-item label:hover {
    background-color: #ff7744;
}

.button-container {
    width: 50%;
    margin: 0 auto;
    padding: 0 15px;
}

.message-error {
    color: #a94442;
    background-color: #f2dede;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.message-error span {
    font-weight: bold;
}

.button-first {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #f47920;
    border: 1px solid #f47920;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    gap: 10px;
}

.button-first p {
    margin-bottom: 0;
}


.container-small {
    max-width: 970px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container-small h2 {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    color: #f47920;
    margin-top: 25px;
}

.container-small h3 {
    font-size: 29px;
    font-weight: bold;
    text-align: center;
}

.step-list {
    display: flex;
    padding: 4px;
    margin-top: 25px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.step-item {
    padding: 10px 15px;
    border-radius: 4px;
    flex: 1;
    text-align: center;
}

.step-item.active {
    background-color: #337ab7;
}

.step-item div {
    font-weight: 700;
    font-size: 17px;
    color: #272a2c;
}

.step-item p {
    font-size: 18px;
    color: #444;
}

.step-item.active div,
.step-item.active p {
    color: #fff;
}

.test-guarantee {
    text-align: center;
    font-size: 12px;
    color: #818181;
}

.test-guarantee span {
    font-weight: bold;
}

.test-guarantee i {
    color: #00a651;
}

.title-select {
    font-size: 14px;
    font-weight: bold;
}

#second_form select,
#second_form input[type="email"],
#second_form input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0.4rem 0.9rem;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-checkbox {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    gap: 10px;
}

.input-checkbox label,
.input-checkbox input[type="checkbox"] {
    margin: 0;
}

.result-score {
    display: flex;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.result-video {
    width: 58.333333%;
    padding: 2rem 1rem 3rem;
}

@media only screen and (max-width: 767px) {
    .result-score {
        display: block;
    }

    .result-video {
        width: 100%;
    }
}

.result-summary {
    flex: 1;
    padding: 0 1rem;
}

.result-summary h2 {
    font-size: 1.75rem;
    text-align: center;
    line-height: 1.2em;
    margin-top: 0;
    font-weight: 700;
}

.score-i-v {
    display: flex;
    justify-content: center;
}

.score-v,
.score-i {
    padding-right: 15px;
    padding-left: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.score-v span,
.score-i span {
    display: block;
    font-size: 4rem;
    color: #F58225;
    text-align: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.result-name {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
}

.result-download-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: center;
}

#result-table h2 {
    font-size: 20px;
    color: #424242;
    font-weight: 700;
}

#result-table table tr:nth-of-type(2n),
#result-table table thead {
    background-color: #f9f9f9;
}

#result-table {
    padding-left: 15px;
    padding-right: 15px;
}

#result-table table {
    border: 1px solid #ddd;
}

#result-table table th,
#result-table table td {
    font-size: 14px;
}

.download-btn {
    background-color: #f47920;
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: transparent;
    color: #f47920;
}

.result-list {
    background-color: #E7EAEE;
    padding: 2rem;
    text-align: center;
}

.result-list h2 {
    font-size: 20px;
    color: #424242;
    font-weight: 700;
    text-align: left;
}

.result-list ul {
    font-size: 14px;
    text-align: left;
    line-height: 20px;
    list-style-type: disc;
}

.result-list ul li {
    margin-top: 7px;
}

.result-list-container {
    display: inline-block;
}

.text-center {
    text-align: center;
}

.radio-item .wpcf7-not-valid-tip {
    display: none !important;
}

.submit-btn {
    width: 100% !important;
    color: #fff;
    background-color: #f47920 !important;
    border: 1px solid #f47920 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-size: 24px;
    font-weight: 600 !important;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}