﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

#undo-button {
    background: url('../lib/img/ic_undo.svg') no-repeat 50% 50%;
}

#redo-button {
    background: url('../lib/img/ic_redo.svg') no-repeat 50% 50%;
}

.left, .left-pane {
    border-right: 1px solid #EDEAEA;
}

.right, .rightt-pane {
    border-left: 1px solid #EDEAEA;
}

.qsgs .form-control {
    padding: .5rem 0.5rem;
    border-radius: 5px !important;
}

.result-table__row {
    display: flex;
}

.result-table__col {
    width: 25%;
    border: 1px solid #bcbcbc8f;
    padding: 5px 5px;
}

.tab-content .nano-content, .nano-content {
    right: 0 !important;
}

.both-font {
    font-weight: 600;
}

.inputtest input, .inputtest select {
    padding: .5rem 0.5rem !important;
    border-radius: 10px !important;
}

.list-notype li {
    margin-bottom: .5rem;
}

.list-notype .form-check {
    padding-left: 0.5em !important;
}

.inputtest {
    width: 100%
}

#question-block .accordion-item {
    border-radius: .25rem !important;
    background: #fff;
    border: none !important;
    margin-bottom: 0px !important;
}

#content0, #content1, #content2, #content3 {
    display: none;
}

.excontent {
    overflow-y: auto; /* Thêm thanh cuộn dọc khi nội dung vượt quá chiều cao */
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa; /* Màu nền tùy chọn */
}

    /* Tùy chỉnh thanh cuộn */
    .excontent::-webkit-scrollbar {
        width: 5px;
    }

    .excontent::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 5px;
    }

        .excontent::-webkit-scrollbar-thumb:hover {
            background-color: #555;
        }

    .excontent::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

.scrollLeft, .scrollRight {
    background: #f1f1f1;
}

.question {
    padding: 5px 11px;
    background: #007fd0;
    color: #fff;
    border-radius: 50%;
}

#article-list .item.hot, .article-other {
    background-color: #ffc1072b;
}

.comment-alert {
    padding: 10px;
    background: #ffc1071c;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
}

#fileitem .video-js {
    width: 100%;
  
}
#videoarea .video-container {
    position: relative;
    width: 100%;
    max-height: 360px;
}

/**==============================**/
/* Hiệu ứng cho ảnh */
.mic-toggle img.recording {
    animation: pulse 1s infinite;
    transform: scale(1.1);
}

/* Nhịp đập (pulse) */
@keyframes pulse {
    0% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px rgba(255, 0, 0, 1));
    }

    100% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
    }
}


.playback {
    margin-bottom: 1rem;
    box-shadow: 0px 0px 1rem rgba(0,0,0,0.2);
    border-radius: 999px;
    width: 100%;
}

.is-hidden {
    display: none;
}
.mic-toggle img{
    max-width:80px
}
.d-flex #mic {
    margin-right: 16px;
}
button.disabled {
    opacity: 0.5;
    pointer-events: none;
}