/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Margin All */
.ma-5 {
    margin: 5px;
}

.ma-10 {
    margin: 10px;
}

.ma-15 {
    margin: 15px;
}

.ma-20 {
    margin: 20px;
}

.ma-25 {
    margin: 25px;
}

.ma-30 {
    margin: 30px;
}

.ma-35 {
    margin: 35px;
}

.ma-40 {
    margin: 40px;
}

/* Margin Top */
.mt-5 {
    margin-top: 5px;
}

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

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

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

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

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

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

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

/* Margin Bottom */
.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-35 {
    margin-bottom: 35px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Margin Left */
.ml-5 {
    margin-left: 5px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-15 {
    margin-left: 15px;
}

.ml-20 {
    margin-left: 20px;
}

.ml-25 {
    margin-left: 25px;
}

.ml-30 {
    margin-left: 30px;
}

.ml-35 {
    margin-left: 35px;
}

.ml-40 {
    margin-left: 40px;
}

/* Margin Right */
.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-15 {
    margin-right: 15px;
}

.mr-20 {
    margin-right: 20px;
}

.mr-25 {
    margin-right: 25px;
}

.mr-30 {
    margin-right: 30px;
}

.mr-35 {
    margin-right: 35px;
}

.mr-40 {
    margin-right: 40px;
}

/* Margin X (Left + Right) */
.mx-5 {
    margin-left: 5px;
    margin-right: 5px;
}

.mx-10 {
    margin-left: 10px;
    margin-right: 10px;
}

.mx-15 {
    margin-left: 15px;
    margin-right: 15px;
}

.mx-20 {
    margin-left: 20px;
    margin-right: 20px;
}

.mx-25 {
    margin-left: 25px;
    margin-right: 25px;
}

.mx-30 {
    margin-left: 30px;
    margin-right: 30px;
}

.mx-35 {
    margin-left: 35px;
    margin-right: 35px;
}

.mx-40 {
    margin-left: 40px;
    margin-right: 40px;
}

/* Margin Y (Top + Bottom) */
.my-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.my-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.my-15 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.my-20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.my-25 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.my-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.my-35 {
    margin-top: 35px;
    margin-bottom: 35px;
}

.my-40 {
    margin-top: 40px;
    margin-bottom: 40px;
}




.gtv-game-btns {
    text-align: center;
}

.gtv-game-btns span {
    background-color: #3b6ea5;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.gtv-button-1.active {
    border: 2px solid #2872fa;
}

.gtv-game-btns span:hover {
    background-color: #2a5b90;
}

.vocab-grid.desktop {
    display: grid;
    row-gap: 10px;
}

.desktop .vocab-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 100px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.vocab-grid.mobile .vocab-row {
    display: flex;
    row-gap: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.mobile .vocab-row>div:nth-child(1) {
    flex-grow: 1;
}

.sound-button {
    width: 38px;
    height: 38px;
    padding: 10px;
    background: #cad4eb;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 5px
}

.sound-button img {
    width: 100%;
}

.desktop .vc-ipa {
    position: relative;
    top: -5px
}

.vc2-word {
    font-weight: 500;
    cursor: pointer;
}

.vc-ipa {
    color: #666
}

/* .vc-status {
    background: #cad4eb;
    color: #333;
    width: 100px;
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
} */

.vc-status.da-nho {
    /* background-color: #E5F6E9; */
    color: #13A62E;
    font-size: 24px;
}

.vc-status.dang-hoc {
    color: #ff9215;
    font-size: 24px;
}
.vc-status.chua-hoc {
    color: #c6c6c6;
    font-size: 24px;
}

.vg-guide .vc-status {
    font-size: 20px;
}

.vg-guide {
    text-align: right;
}

.gtv-progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.gtv-progress-bar-left {
    flex-grow: 1;
}

.gtv-progress-bar-right {
    margin-left: 10px;
}

.progress-total {
    padding: 4px 10px;
    border-radius: 40px;
    background: #d9dde8;
    font-weight: 500;
}

.progress-b {
    width: 100%;
    height: 12px;
    background: #ffb237;
    border-radius: 8px;
    position: relative;

}

.progress-b-succ {
    position: absolute;
    left: 0;
    top: 0;
    height: 12px;
    border-radius: 8px 0 0 8px;
    background: #00a9ff;
    transition: width 0.4s cubic-bezier(.4, 0, .2, 1);
}

.gtv-question-block {
    margin-bottom: 34px;
    padding: 20px 30px;
    border: 2px solid #ddd;
    border-radius: 20px;
    border-bottom: 7px solid #ddd;
}

.gtv-question-label-2 {
    text-align: center;
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 15px;
}

.audio-static,
.audio-active {
    width: 30px;
    cursor: pointer;
    display: none;
}

.tts-button-2:not(.is-playing) .audio-static {
    display: inline-block;
}

.tts-button-2.is-playing .audio-active {
    display: inline-block;
}

.progress-b-number {
    position: absolute;
    width: 30px;
    height: 30px;
    display: inline-block;
    background: #12815a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: left 0.4s cubic-bezier(.4, 0, .2, 1), background 0.3s;
    top: -9px;
}

.gtv-question-label {
    color: #6b7280;
    font-size: 0.95em;
    margin-bottom: 6px;
}

.gtv-question-text {
    font-size: 1.2em;
    font-weight: 500;
}

.gtv-question-type {
    color: #22c55e;
    font-weight: bold;
    margin-right: 6px;
}

.gtv-answers {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.gtv-answer {
    flex: 1 1 45%;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    /* transition: background 0.2s, border 0.2s; */
    text-align: left;
}

.cc-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    border-radius: 0 0 1rem 1rem;
}

.autoplay-mode-on {
    text-align: center;
    line-height: 40px;
    color: #333;
    background-color: #dbdfff;
}

/* .ap-notplay,
.ap-play {
    display: none;
}

#autoPlayFC:not(.is-playing) .ap-notplay {
    display: block;
}

#autoPlayFC.is-playing .ap-play {
    display: block;
} */

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}


.gtv-answer:hover {
    background: #f3f3f3;
    border-color: #c5c5c5;
}

.gtv-answer-wrong {
    border: 2px solid red !important;
    animation: shake 0.4s;
}

.gtv-answer-wrong .gtv-answer-index {
    color: #fff;
    background: red !important;
}

.gtv-answer-correct {
    border-color: #22c55e !important;
    animation: shake 0.4s;

}

.gtv-answer-correct .gtv-answer-index {
    color: #fff;
    background: #22c55e !important;
}

.gtv-answer-wrong .state-icon {
    color: #e43a45;
}

.gtv-answer-correct .state-icon {
    color: #3cb46e;
}

.gtv-answer .state-icon {
    font-size: 24px;
    position: relative;
    top: 2px;
}

.gtv-highlight {
    color: #fd307a
}

.gtv-dont-know {
    text-align: right;
}

.gtv-dont-know a {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.98em;
}

.gtv-dont-know a:hover {
    text-decoration: underline;
}

.gtv-answer .gtv-answer-index {
    width: 30px;
    height: 30px;
    background: #edeff4;
    display: inline-flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.hidden {
    display: none !important;
}

.tts-button {
    cursor: pointer;
}

.fc-word {
    display: flex;
    align-items: center;
}

.fc-word .speaker-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 5px;
    position: relative;
    top: 4px;
}

.gtv-game-btns-new {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 5px;

}

.gtv-game-btns-new>* {
    width: 24%;
    background-color: #f6f7fb;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    flex-direction: column;
    font-weight: 500;
    cursor: pointer;
}

.gtv-h {
    display: flex;
    justify-content: space-between;
}

.gtv-h-right {
    display: flex;
    gap: 7px;
}

.gtv-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
}

.gtv-btn-2 img {
    width: 20px;
}

.gtv-btn-2 {
    background-color: #FFFFFF;
    font-weight: 500;
    fill: #FF9600;
    color: #FF9600;
    border-style: solid;
    border-width: 2px 2px 5px 2px;
    border-color: #E5E5E5;
    border-radius: 11px 11px 11px 11px;
    text-decoration: none;
    padding: 8px 22px;
    font-size: 17px;
    cursor: pointer;
    height: 44px;
}

.share-link-btn {
    background-color: #0367DA;
    border-color: #18579F;
    fill: #FFFFFF;
    color: #FFFFFF;
     border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

.danh-sach-tu-btn{
    background-color: #58cc02 !important;
    color:#fff !important;
    border-color: #58a700 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;

}
.gtv-breadcrumb{
    font-size: 14px;
}
.gtv-breadcrumb a{
    text-decoration: none;
    color:#888;
}
.gtv-progress-info {
    display: flex;
    gap: 30px;
}

.btn-album-prev, .btn-album-next{
    color: #00a9ff;
}
.progress-dot-1 {
    width: 12px;
    height: 12px;
    background-color: #00a9ff;
    border-radius: 50%;
    display: inline-block;
}

.progress-dot-2 {
    width: 12px;
    height: 12px;
    background-color: #ffb237;
    border-radius: 50%;
    display: inline-block;
}

.gtv-progress-info strong {
    font-weight: 500;
    color: #333
}

.vc-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.l-word {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gtv-learn-container {
    font-size: 20px;
}

.l-word img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    top: 5px;
}

.gtv-dictation-wrapper .tts-button-2 img {
    width: 44px;
    height: 44px;
    position: relative;
    top: 4px;
}

.l-ipa {
    color: #666;
}

.l-meaning,
.d-meaning {
    display: flex;
    align-items: center;
    gap: 10px;
}

.l-word-type,
.d-word-type,
.l-word-type-2 {
    display: inline-block;
    background: #136dfb;
    padding: 0px 14px;
    border-radius: 20px;
    color: #fff
}

.l-exam-1 {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.l-exam-1-index {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #5cb1fb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.le1c-2 {
    color: #7d7d7d;
}

.l-exam-2 {
    display: flex;
    align-items: center;
    gap: 2px;
    padding-left: 10px;
}

.l-exam-2-index {
    color: #ffb237;
    font-weight: 500;
}

.l-exam-2-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.le2c-1 {
    font-weight: 500;
}

.l-exam-2-content svg {
    width: 20px;
    height: 20px;
}

.l-navi {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.l-prev-btn,
.l-next-btn {
    border: 1px solid #ddd;
    padding: 4px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.l-prev-btn svg,
.l-next-btn svg {
    width: 26px;
    height: 26px;
}

.l-prev-btn svg {
    transform: rotate(180deg);
}

.gtv-dictation-input {
    background: #f6f7fb;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 19px;
    line-height: 30px;
    text-align: left;
    padding-left: 15px !important;
}

.suggest-w {
    font-size: 20px;
    text-align: center;
    color: #58cc03;
    font-weight: bold;
    margin-top: 10px;
}

.gtv-dictation-container {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gtv-dictation-wrapper {
    width: 600px;
    border: 2px solid #ddd;
    border-radius: 20px;
    border-bottom: 7px solid #ddd;
    padding: 30px;
}

.gtv-dictation-wrapper .tts-button {
    width: 44px;
    height: 44px;

}

.dictation-correct {
    background-color: #E5F6E9;
    color: #13A62E;
    border-color: #13A62E
}

.dictation-wrong {
    background-color: #fff0f0;
    color: #EF5350;
    border-color: #EF5350
}

.gtv-dictation-input.dictation-correct:focus {
    outline: 2px solid #13A62E;
    box-shadow: 0 0 0 2px #E5F6E9;
    background-color: #E5F6E9;
    color: #13A62E;
    border-color: #13A62E;
}

.gtv-dictation-input.dictation-wrong:focus {
    outline: 2px solid #EF5350;
    box-shadow: 0 0 0 2px #fff0f0;
    background-color: #fff0f0;
    color: #EF5350;
    border-color: #EF5350;
}

.vr-1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vr-index {
    color: #777;
    font-size: 16px;
}

.fc-word .tts-button-2 {
    margin-right: 5px;
    position: relative;
    top: 4px;
}

.ui-button {
    width: 125px;
    height: 43px;
    display: inline-block;
    line-height: 43px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border-bottom: 2px solid;
}

.ui-button:hover,
.ui-button:focus {
    text-decoration: none;
}

.gtv-bottom {
    position: fixed;
    width: 100%;
    height: 80px;
    background: #fff;
    padding: 0px 10px;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 2px solid #E5E5E5;
}

.gtv-bottom-cover {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 950px;
    margin: auto;
}

.gtv-bottom-cover .gtv-bottom-button {
    display: inline-block;
    text-decoration: none;
    outline: 0px;
    text-transform: uppercase;
    font-family: balootammabold;
    font-size: 20px;
    color: #DDDDDD;
    text-align: center;
    margin: auto;
    height: 69px;
    padding: 0;
    width: 160px;
    border: 0;
}

.gtv-bottom-cover .gtv-bottom-button svg {
    margin-right: 7px;
}

.gtv-bottom-cover .gtv-bottom-button.button-back {
    margin-left: 0px;
}

.gtv-bottom-cover .gtv-bottom-button.button-next {
    margin-right: 0px;
}

.gtv-bottom-cover .gtv-bottom-button.button-next svg {
    margin-right: 0px;
    margin-left: 7px;
}

.gtv-bottom-list-button {
    margin: auto;
    display: flex;
}

.button-item {
    text-align: center;
    margin-right: 13px;
    background: #fff;
    color: #444;
    border: 2px solid #e5e5e5;
    border-bottom: 5px solid #e5e5e5;
    margin-left: 0;
    width: auto;
    height: 41px;
    line-height: 41px;
    text-transform: uppercase;
    font-size: 15px;
    font-family: 'balootammabold';
    border-radius: 11px;
    display: inline-block;
    text-decoration: none;
    padding: 0 10px;
    white-space: nowrap;
    display: flex;
}

.button-green {
    background: #58CC02;
    border-color: #38B000;
    color: #fff;
    margin-left: 13px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.button-red {
    background: #FF4B4B;
    border-color: #EA2B2B;
    color: #fff;
    margin-left: 13px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.button-item img {
    width: 20px;
    margin-right: 7px
}

.card-turn {
    display: inline-block;
    position: absolute;
    right: 25px;
    bottom: 30px;
    cursor: pointer;
    text-align: right;
    width: 94px;
    height: 50px;
    border: 2px solid #e5e5e5;
    border-bottom: 6px solid #e5e5e5;
    border-radius: 16px;
}

.card-turn .turn-icon {
    display: inline-block;
    width: 23px;
    height: 23px;
    background: url('https://www.voca.vn/assets/images/learning-rotate-icon.svg');
    margin-top: 9px;
    float: left;
    margin-left: 10px;
    background-size: 100%;

}

.card-turn em {
    font-style: normal;
    float: left;
    margin-left: 10px;
    display: inline-block;
    color: #1CB0F6;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'balootammabold';
    margin-top: 12px;
}


@media (max-width: 767px) {
    .card-turn {
        display: none;
    }
}

.gtv-flashcard-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

#cardBox {
    width: 932px;
    height: 350px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.gtv-dw-1 {
    font-size: 20px;
    font-weight: 500;
}

.card-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    transform-origin: center center;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 2rem 0 #282e3e1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    padding: 1rem;
    box-sizing: border-box;
    border: 2px solid #e5e5e5;
    border-bottom: 7px solid #e5e5e5
}

.card-back {
    transform: rotateX(180deg);
    font-size: 18px;
    display: block;
    padding: 33px;
}

.controls {
    display: flex;
    gap: 5px;
}



@keyframes rotateYInSlideNext {
    0% {
        transform: perspective(1000px) rotateY(-20deg) translateX(40px);
        opacity: 0.8;
    }

    100% {
        transform: perspective(1000px) rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

@keyframes rotateYInSlideBack {
    0% {
        transform: perspective(1000px) rotateY(20deg) translateX(-40px);
        opacity: 0.8;
    }

    100% {
        transform: perspective(1000px) rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

.card-container.shimmy-next {
    animation: rotateYInSlideNext 0.4s ease;
}

.card-container.shimmy-back {
    animation: rotateYInSlideBack 0.4s ease;
}

#autoPlayFC,
#prevBtn,
#nextBtn {
    display: flex;
    align-items: center;
}

.controls svg {
    width: 50px;
    height: auto;
    cursor: pointer;
}

#prevBtn svg {
    transform: rotate(180deg);
}

#autoPlayFC svg {
    height: 37px;
}

.controls-btns {
    display: flex;
    justify-content: center;
}

/* .fc-btn-ok {
        cursor: pointer;
        background: #fff;
        color: #5fc62f;
        display: inline-block;
        height: 36px;
        padding: 0 20px;
        line-height: 36px;
        border-radius: 7px;
        font-weight: 500;
        font-size: 20px;
        border: 1px solid;
    } */

.fc-word-type span {
    background: #0066fc;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
}
.fc-word-type a{
    text-decoration: none;
}

.fc-word span {
    font-size: 34px;
    font-weight: 500;
}

.fc-meaning {
    font-size: 30px;
    color: #555;
}

.fc-ipa {
    color: #777;
}

.fc-exam {
    font-size: 24px;
    line-height: 30px;
}

.card-front.has-image,
.card-back.has-image {
    flex-direction: row;
    justify-content: flex-start;
    display: flex;
}

.card-front.has-image .fs-img img,
.card-back.has-image .fs-img img {
    width: 200px;
    min-width: 200px;
    border: 1px solid #ddd;
}

.card-back.has-image .fsgtv-dictation-wrapper-right {
    padding-left: 20px;
}

.card-front.has-image .fs-right,
.card-back.has-image .fs-right {
    flex-grow: 1;
    padding-left: 20px;
}

.card-front {
    padding: 33px;
}

.l-word-text {
    font-weight: bold;
    color: #136dfb;
}

.card-front:not(.has-image) .fs-img,
.card-back:not(.has-image) .fs-img {
    display: none
}

.le2c-1 .gtv-highlight {
    color: #000 !important;
}

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

#cardBox .le1c-1 .gtv-highlight {
    color: #136dfb;
    font-weight: 500;
}

.wrap-gtv-lc.has-image {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.wrap-gtv-lc.has-image .gtv-lc-left img {
    width: 220px;
    min-width: 220px;
}

.wrap-gtv-lc:not(.has-image) .gtv-lc-left {
    display: none;
}

.collocations-modal-item svg {
    width: 20px;
    height: auto;
    margin: 0 5px 0 7px;
    position: relative;
    top: 4px
}

.collocations-modal-item {
    margin-bottom: 5px;
}

.wrap-sd-flex:not(.has-image) .sd-left {
    display: none
}

.wrap-sd-flex.has-image {
    display: flex;
    gap: 20px;
}

.wrap-sd-flex .sd-left img {
    width: 200px;
    min-width: 200px;
}

.sd-guide {
    font-size: 24px;
    font-weight: bold;
    color: #444;

}

.sd-word span {
    display: inline-block;
    font-size: 28px;
    padding: 4px 10px 7px 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    color: #1cb0f6;
    font-weight: 700;
}

.sd-ipa-flex {
    display: flex;
    align-items: center;
    gap: 10px
}

.sd-ipa-flex .audio-static,
.sd-ipa-flex .audio-active {
    width: 60px;
}

.sd-button-record {
    width: 300px;
    height: 70px;
    background-color: #1cb0f6;
    border-radius: 20px;
    border-bottom: 6px solid #1899d6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sd-button-record i {
    font-size: 40px;
    transition: transform 0.3s ease;
}

.sd-s-0,
.sd-s-1 {
    display: none !important
}

.sd-button-record:not(.recording) .sd-s-1 {
    display: block !important;
}

.sd-button-record.recording .sd-s-0 {
    display: block !important;
}

.sd-button-record.recording {
    background-color: #e53935;
    border-bottom: 3px solid #b71c1c;
    animation: pulse 1.5s infinite;
}

.gtv-shadow-container {
    padding: 15px;
    border-radius: 20px;
    border: 2px solid #ddd;
    border-bottom: 7px solid #ddd;
}


/* Hiệu ứng nhịp tim */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(229, 57, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
    }
}

.gtv-shadow-container {
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    max-width: 80%;
    padding: 18px 40px;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 9999;
}

.toast.show {
    bottom: 100px;
    opacity: 1;
}

.toast.success {
    background: #28a745;
    /* xanh */
}

.toast.error {
    background: #dc3545;
    /* đỏ */
}

.FlagCardGameStyle_run {
    animation: FlagCardGameStyle_slow__a22wz 1.5s;
}
.slow-tts-img{
    cursor: pointer;
    position: relative;
    transition: 0.15s;
    top: 3px;
}
.gtv-button-1 > div{
    height: 100px;
    align-items: center;
    justify-content: center;
}
@keyframes FlagCardGameStyle_slow__a22wz {
    0% {
        left: 0px;
    }

    70% {
        left: 10px;
    }

    100% {
        left: 0px;
    }
}

.slow-tts {
    transition: all .15s;
}


.l-ipa img, .fc-ipa img{
    width: 23px;
    position: relative;
    top:6px;
    margin-right: 6px;
}
.l-hinhthaitu{
    display: flex;
    gap: 7px;
    margin-bottom: 15px;
}
.l-hinhthaitu > span{
        display: inline-block;
    padding: 0px 14px;
    border-radius: 6px;
    background-color: #efefef;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}
.l-word-families b{
    font-weight: 500;
    color: #333;
    font-size: 17px;
}
.l-word-families span{
    font-size: 17px;
}
@media only screen and (max-width: 767px) {
    .button-item img{
        margin-right: 0;
    }
    .toast{
        width: 94%;
        max-width: 94%;
        padding: 15px;
        font-size: 18px;
    }
    .toast.show{
        bottom: 70px;
    }
    .gtv-dictation-wrapper {
        width: 100%;
    }

    .l-meaning,
    .d-meaning {
        display: block;
    }

    .gtv-hide-mobile {
        display: none;
    }

    .gtv-dictation-input {
        font-size: 14px;
    }

    .fc-word .tts-button-2 {
        margin-right: 8px;
        top: -4px;
    }

    .gtv-h-right {
        justify-content: center;
    }

    .gtv-container {
        width: 100% !important;
        padding: 0 15px !important;
    }

    #cardBox {
        width: 100%;
        height: 550px;
    }

    .card-front.has-image,
    .card-back.has-image {
        flex-direction: column;
    }

    .card-back {
        padding: 1rem;
    }

    .card-front.has-image .fs-img img,
    .card-back.has-image .fs-img img {
        margin: 0;
    }

    .vc-ipa {
        display: block;
    }

    .gtv-answers {
        gap: 10px;
    }

    .gtv-answer {
        flex: 1 1 100%;
        padding: 10px;
    }

    .gtv-question-block {
        margin-bottom: 15px;
    }

    .gtv-game-btns-new {
        flex-wrap: wrap;
        gap: 10px;
    }

    .gtv-game-btns-new>* {
        width: calc(50% - 5px);
        background-color: #f6f7fb;
        padding: 20px 15px;

    }

    .gtv-h {
        flex-direction: column;
    }

    .gtv-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .gtv-btn-2 {
        height: 34px;
        border-width: 1px;
        font-size: 13px;
    }

    /* .vc-status {
        font-size: 14px;
        width: 80px;
    } */

    .gtv-progress-info {
        flex-direction: column;
        gap: 0px;
        font-size: 14px;
    }

    .vocab-grid.mobile .vocab-row {
        font-size: 15px;
    }

    .l-exam-2 {
        display: block;
    }

    .l-exam-2-content svg {
        position: relative;
        top: 5px;
    }

    .l-exam-2 * {
        display: inline;
    }

    .gtv-learn-container {
        font-size: 17px;
    }

    .gtv-bottom-cover {
        display: block;
        text-align: left;
        padding-top: 0;
    }

    .gtv-bottom-list-button {
        left: 0;
        transform: unset;
        top: 0;
        bottom: unset;
        position: relative;
        float: left;
        text-align: center;
        width: calc(100% - 126px);

    }

    .gtv-bottom {
        height: 90px;
        border: 0;
        padding: 0 15px;
    }

    .gtv-bottom-cover .gtv-bottom-button.button-back {
        float: left;
        margin: 0;
        width: 63px;
        height: 69px;
    }

    .gtv-bottom-cover .gtv-bottom-button.button-next {
        float: right;
        margin: 0;
        width: 63px;
        height: 69px;
    }

    .gtv-modal-content {
        width: 100% !important;
        min-width: 92% !important;
    }

    .gtv-bottom {
        height: 70px;
        padding: 0;
    }

    .button-back svg,
    .button-next svg {
        width: 40px !important;
    }

    .gtv-bottom-list-button {
        display: flex;
        gap: 5px;
        margin-top: 14px;
        justify-content: center;
    }

    .gtv-bottom-list-button>* {
        margin: 0;
        font-size: 14px;
    }

    .gtv-lc-left {
        display: none !important;
    }

    .card-front.has-image .fs-right,
    .card-back.has-image .fs-right {
        padding-left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gtv-shadow-container {
        width: 100%;
    }

    .sd-guide {
        font-size: 16px;
    }

    .wrap-sd-flex.has-image {
        flex-direction: column;
    }

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

    .sd-ipa-flex {
        justify-content: center;
    }
}