:root {
    --color-main: #ea4544;
    --color-second: #4eb24c;
}

.btn-primary {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

.btn-primary:hover {
    background-color: var(--color-second);
    border-color: var(--color-second);
}

.bg-login {
    background-color: var(--color-main) !important;
}

.bg-login img {
    height: 360px;
    object-fit: cover;
}

.form-check-input:checked {
    background-color: var(--color-main);
    border-color: var(--color-main);
}

a {
    color: var(--color-main);
}

.mb-error {
    margin: 10px 0 0;
    font-size: 13px;
}

.sidebar-wrapper .sidebar-header .logo-icon {
    width: 100%;
}

.toggle-icon {
    color: var(--color-main);
}

.sidebar-wrapper .metismenu .mm-active>a,
.sidebar-wrapper .metismenu a:active,
.sidebar-wrapper .metismenu a:focus,
.sidebar-wrapper .metismenu a:hover {
    color: var(--color-main);
    border-left: 4px solid var(--color-main);
}

.apexcharts-bar-series path {
    fill: var(--color-main);
    stroke: var(--color-main);
}

.text-primary {
    color: var(--color-main) !important;
}

.text-primary-2 {
    color: #ff7e32 !important;
}

.back-to-top,
.progress-bar {
    background-color: var(--color-main) !important;
}

.apexcharts-series path {
    stroke: var(--color-main);
}

.btn-microsoft img {
    width: 15px;
    margin-right: 10px;
}

.btn-primary.btn-microsoft {
    background: transparent;
    color: var(--bs-gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 14px;
    border-color: var(--bs-gray-dark);
}

.btn-primary.btn-microsoft:hover {
    background: var(--bs-gray-dark);
    color: #fff;
}

.card-body-login {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dropdown-user-setting .dropdown-menu {
    width: auto;
    min-width: 280px;
}

.card-body-center {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.card-body-center.block-row {
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.table> :not(caption)>*>* {
    padding: 15px 10px;
}

.user-action .table-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
}

.card-header h5 {
    margin-bottom: 0;
}

.hide {
    display: none;
}

.select-item {
    width: 30%;
}

.select-item label {
    width: 140px;
}

.select-item select {
    flex: 1;
}

.cke_editable img {
    max-width: 100%;
}

.card-thumb img {
    width: 100%;
    height: 150px;
    margin-top: 15px;
    object-fit: cover;
}

.thumbnail-image {
    height: 50px;
    border: 1px solid #eee;
    border-radius: 5px;
    object-fit: cover;
    width: 50px;
}

.editor-container {
    border: 1px solid #ccc;

}

.editor.ck.ck-content {
    min-height: 500px;
}

.user-setting-name {
    font-size: 14px;
    margin-left: 15px;
    color: #6c757d;
}

.td-title-link {
    color: #333;
}

.td-title-link:hover {
    color: var(--color-main);
}

.form-choose-action {
    display: flex;
}

.form-choose-action .select-group {
    width: 20%;
}

.bulk-panel {
    margin: 15px 0 30px;
}

.categories-select {
    margin-top: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 1px 2px 3px #ccc;
}

.categories-group {
    display: flex;
    justify-content: space-between;
}

.categories-group .select-group {
    width: 93%;
}

.file-loading {
    display: none;
}

.child.accordion-button::after {
    display: none;
}

.ck.ck-content {
    height: 300px;
    /* Điều này sẽ giới hạn độ cao của CKEditor */
    overflow: auto;
}