﻿body {
    background: white;
}

.logo-header .logo {
    color: #ffffff;
    opacity: 1;
    position: relative;
    height: 100%;
    font-weight: bold;
}
.main-header {
    min-height: 52px;
}

    .main-header .navbar-header {
        min-height: 52px;
    }

.logo-header {
    height: 52px;
}

@media screen and (min-width: 991px) {
    .logo-header {
        line-height: 52px;
    }
}
.custom-template {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: -325px;
    width: 325px;
    height: max-content;
    display: block;
    z-index: 1;
    background: #ffffff;
    transition: all .3s;
    z-index: 1003;
    box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: all .5s;
}

    .custom-template.open {
        right: 0px;
    }

    .custom-template .custom-toggle {
        position: absolute;
        width: 45px;
        height: 45px;
        background: rgb(88, 103, 221);
        top: 50%;
        left: -45px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-right: 1px solid #177dff;
        cursor: pointer;
        color: #ffffff;
        box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
    }

        .custom-template .custom-toggle i {
            font-size: 20px;
            animation: 1.3s spin linear infinite;
        }

    .custom-template .title {
        padding: 15px;
        text-align: left;
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
        border-top-left-radius: 5px;
        border-bottom: 1px solid #ebedf2;
        background: #5867dd;
    }

    .custom-template .custom-content {
        padding: 20px 15px;
        max-height: calc(100vh - 90px);
        overflow: auto;
    }

    .custom-template .switcher {
        padding: 5px 0;
    }

    .custom-template .switch-block h4 {
        font-size: 13px;
        font-weight: 600;
        color: #444;
        line-height: 1.3;
        margin-bottom: 0;
        text-transform: uppercase;
    }

    .custom-template .btnSwitch {
        margin-top: 20px;
        margin-bottom: 25px;
    }

        .custom-template .btnSwitch button {
            border: 0px;
            height: 20px;
            width: 20px;
            outline: 0;
            margin-right: 10px;
            margin-bottom: 10px;
            cursor: pointer;
            padding: 0;
            border-radius: 50%;
            border: 2px solid #eee;
            position: relative;
            transition: all .2s;
        }

            .custom-template .btnSwitch button:hover {
                border-color: #0bf;
            }

            .custom-template .btnSwitch button.selected {
                border-color: #0bf;
            }

    .custom-template .img-pick {
        padding: 4px;
        min-height: 100px;
        border-radius: 5px;
        cursor: pointer;
    }

        .custom-template .img-pick img {
            height: 100%;
            height: 100px;
            width: 100%;
            border-radius: 5px;
            border: 2px solid transparent;
        }

        .custom-template .img-pick:hover img, .custom-template .img-pick.active img {
            border-color: #177dff;
        }
iframe{
    max-width:100% !important;
    height:auto;
    object-fit:contain
}
.demo .btn, .demo .progress {
    margin-bottom: 15px !important;
}

.demo .form-check-label, .demo .form-radio-label {
    margin-right: 15px;
}

.demo .toggle, .demo .btn-group {
    margin-right: 15px;
}

.demo #slider {
    margin-bottom: 15px;
}

.table-typo tbody > tr > td {
    border-color: #fafafa;
}

    .table-typo tbody > tr > td:first-child {
        min-width: 200px;
        vertical-align: bottom;
    }

        .table-typo tbody > tr > td:first-child p {
            font-size: 14px;
            color: #333;
        }

.td-hover tbody tr td:hover {
    cursor: pointer;
    background: #cff8fc
}

.td-hover tfoot tr th:hover {
    cursor: pointer;
    background: #cff8fc
}

.demo-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    transition: all .2s;
}

    .demo-icon:hover {
        background-color: #f4f5f8;
        border-radius: 3px;
    }

    .demo-icon .icon-preview {
        font-size: 1.8rem;
        margin-right: 10px;
        line-height: 1;
        color: #333439;
    }

body[data-background-color="dark"] .demo-icon .icon-preview {
    color: #969696;
}

.demo-icon .icon-class {
    font-weight: 300;
    font-size: 13px;
    color: #777;
}

body[data-background-color="dark"] .demo-icon .icon-class {
    color: #a9a8a8;
}

.form-show-notify .form-control {
    margin-bottom: 15px;
}

.form-show-notify label {
    padding-top: 0.65rem;
}

.map-demo {
    height: 300px;
}

#instructions li {
    padding: 5px 0;
}

.row-demo-grid {
    margin-bottom: 15px;
}

    .row-demo-grid [class^="col"] {
        text-align: center;
    }

        .row-demo-grid [class^="col"] .card-body {
            background: #ddd;
        }

.btnSwitch button[data-color="white"] {
    background-color: #fff;
}

.btnSwitch button[data-color="grey"] {
    background-color: #f1f1f1;
}

.btnSwitch button[data-color="black"] {
    background-color: #191919;
}

.btnSwitch button[data-color="dark"] {
    background-color: #1a2035;
}

.btnSwitch button[data-color="blue"] {
    background-color: #1572E8;
}

.btnSwitch button[data-color="purple"] {
    background-color: #6861CE;
}

.btnSwitch button[data-color="light-blue"] {
    background-color: #48ABF7;
}

.btnSwitch button[data-color="green"] {
    background-color: #31CE36;
}

.btnSwitch button[data-color="orange"] {
    background-color: #FFAD46;
}

.btnSwitch button[data-color="red"] {
    background-color: #F25961;
}

.btnSwitch button[data-color="dark2"] {
    background-color: #1f283e;
}

.btnSwitch button[data-color="blue2"] {
    background-color: #1269DB;
}

.btnSwitch button[data-color="purple2"] {
    background-color: #5C55BF;
}

.btnSwitch button[data-color="light-blue2"] {
    background-color: #3697E1;
}

.btnSwitch button[data-color="green2"] {
    background-color: #2BB930;
}

.btnSwitch button[data-color="orange2"] {
    background-color: #FF9E27;
}

.btnSwitch button[data-color="red2"] {
    background-color: #EA4d56;
}

.btnSwitch button[data-color="bg1"] {
    background-color: #fafafa;
}

.btnSwitch button[data-color="bg2"] {
    background-color: #fff;
}

.btnSwitch button[data-color="bg3"] {
    background-color: #f1f1f1;
}

@media screen and (max-width: 550px) {
    .table-typo tr td {
        display: flex;
        align-items: center;
        word-break: break-word;
    }

        .table-typo tr td:first-child p {
            margin-bottom: 0px;
        }
}

@media screen and (max-width: 576px) {
    .custom-template .custom-content {
        overflow: auto;
    }

    .form-show-notify > .text-right, .form-show-validation > .text-right {
        text-align: left !important;
    }
}

@media screen and (max-width: 400px) {
    .custom-template {
        width: 85% !important;
        right: -85%;
    }
}

/*SCROLL BAR*/
/* width */
::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
    cursor: all-scroll
}

/* Track */
::-webkit-scrollbar-track {
    background: #f8f8f8;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #747474;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: red;
    }

.sidebar .nav-collapse, .sidebar[data-background-color=white] .nav-collapse {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
}

.sidebar .nav > .nav-item a p, .sidebar[data-background-color=white] .nav > .nav-item a p {
    font-size: 13px;
    margin-bottom: 0;
    margin-right: 5px;
    white-space: nowrap;
    color: #0f5abc;
    font-weight: bold
}

.sidebar.sidebar-style-2 .nav .nav-item .active a {
   
}

.sidebar .nav-collapse li a .sub-item, .sidebar[data-background-color=white] .nav-collapse li a .sub-item {
    margin-left: 5px;
}

.menu-icon ul li a:hover i {
    color: #03448b
}

.menu-icon ul li a i {
    -webkit-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    margin: 0px;
    font-size: 13px;
    color: #aeb3cf;
}

.menu-icon ul li.active {
    color: #000000
}

    .menu-icon ul li.active i {
        color: #03448b
    }

.menu-icon ul li.li-div a {
    border-radius: 0px;
    padding: 10px 0px;
    width: 0px;
}

.menu-icon ul li button {
    font-size: 13px;
}

.menu-icon ul li .dropdown-menu {
    padding: 0px;
}

    .menu-icon ul li .dropdown-menu .dropdown-item:hover {
        background: #00CED1;
        border: none;
        border-radius: unset;
    }

/*Filter*/
.filter {
    width: 100%;
    height: auto;
    background: rgba(240, 240, 240, 0.39);
}

    .filter .filter-item {
        width: 200px;
        padding: 5px;
        /*float: left;
        display: inline-block*/
    }

        .filter .filter-item label {
            font-size: 11px;
            padding: 0px;
            margin: 0px;
        }

        .filter .filter-item input, .filter .filter-item select {
            width: 100%;
            height: 30px;
            padding: 5px;
            font-size: 12px;
            color: #636363;
            border: 1px solid #e0e0e0;
            outline: none;
            border-radius: 1px;
        }

            .filter .filter-item input:hover {
                border: 1px solid #5161ce;
            }

@media(max-width: 992px) {
    .wm50 {
        width: 50% !important;
    }

    .wm100 {
        width: 100% !important;
    }
}
/*Custom table*/
.table td, .table th {
    padding: unset;
    height: unset
}

.bootstrap-table .fixed-table-container .table thead th .th-inner {
    padding: 7px 5px;
    font-size: 13px;
}

.table td, .table th {
    padding: 7px 5px !important;
    font-size: 13px;
    word-break: break-all;
}

.bootstrap-table .fixed-table-toolbar .bs-bars, .bootstrap-table .fixed-table-toolbar .columns, .bootstrap-table .fixed-table-toolbar .search {
    margin-top: 5px;
    margin-bottom: 5px;
}

    .bootstrap-table .fixed-table-toolbar .search input {
        font-size: 13px;
        padding: 0.375rem 0.75rem;
    }

.bootstrap-table .fixed-table-toolbar button {
    font-size: 13px;
    padding: 0.375rem 0.75rem;
}

.bootstrap-table .fixed-table-toolbar .columns label {
    padding: 3px 10px;
    line-height: 18px;
    font-size: 13px;
}

.page-inner {
    padding: 10px;
}

.main-panel .page-header {
    margin-bottom: 10px;
}

.page-title {
    font-size: 18px;
}

.btn-success, .btn-info {
    color: white !important
}

.table-borderless th, .table-borderless td {
    border: none
}

/*modal*/
.modal-header {
    display: initial
}

.form-group {
    padding: 10px 0px;
}


/*select2*/
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    height: 32px;
    font-size: 1.3rem;
    padding: 0px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

    .select2-container--default .select2-selection--single:hover {
        /*border: 1px solid #5161ce;*/
    }

.select2-selection .select2-selection--single {
    border: 1px solid #5161ce;
}

.select2-results__option {
    font-size: 12px;
    padding: 7px;
    margin-left: 0px;
}

.select2-search--dropdown .select2-search__field {
    font-size: 12px;
}

.select2-search--dropdown {
    padding: 2px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 13px;
}
/*noty*/
.alert-info {
    width: 400px;
    max-width: 100vw;
}

.align-center {
    text-align: center
}


/*History*/
.cart-item {
    width: 100%
}

.history-item {
    font-size: 12px;
    padding: 3px;
    width: 100%;
}

    .history-item .info {
        font-weight: bold;
        display: flex;
        align-items: center;
    }

        .history-item .info .date {
            margin-right: 15px;
            flex: 1;
        }

        .history-item .info .user {
            margin-right: 15px;
        }

            .history-item .info .user span {
                display: block;
                padding: 5px 10px;
                border-radius: 10px;
                width: 150px;
                margin: 3px;
            }

    .history-item .title {
    }


.TableSportName {
    height: 500px;
    overflow-y: scroll;
}


.table-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
}

    .table-container thead th, .table-container tbody td {
        white-space: nowrap;
    }

.fixed-column {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 1;
}


.email-group {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.group-header {
    background: #e9ecef;
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 7px 7px 0 0;
    cursor: pointer;
    transition: background 0.2s;
}

    .group-header:hover {
        background: #dae0e5;
    }

.group-content {
    padding: 10px 15px;
}

.email-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.2s;
}

    .email-item:last-child {
        border-bottom: none;
    }

    .email-item:hover {
        background: #f8f9fa;
    }

.email-checkbox {
    margin-right: 10px;
}

.nav-tabs .nav-link.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.nav-tabs .nav-link {
    color: #007bff;
}

    .nav-tabs .nav-link:hover {
        border-color: #007bff;
    }
.selected-emails {
    background: #fff;
    max-height: 700px;
    overflow-y: auto;
}

.selected-email-item {
    padding: 5px 10px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .selected-email-item:last-child {
        border-bottom: none;
    }

.remove-btn {
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
}

    .remove-btn:hover {
        color: #c82333;
    }

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-input {
    padding-left: 35px;
}

.group-toggle {
    color: #6c757d;
    transition: transform 0.2s;
}

    .group-toggle.collapsed {
        transform: rotate(-90deg);
    }

.stats {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

.modal-scrollable-y {
    max-height: 80vh;
    overflow-y: auto;
}

/*Giảng viên*/
.avatar-upload-container {
    text-align: center;
}

.avatar-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto 15px;
}

    .avatar-preview:hover {
        border-color: #007bff;
        transform: scale(1.05);
    }

.avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 3px dashed #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto 15px;
}

    .avatar-placeholder:hover {
        border-color: #007bff;
        background: #e3f2fd;
    }

.avatar-upload-input {
    display: none;
}

.avatar-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.preview-modal .modal-body {
    text-align: center;
    padding: 30px;
}

.preview-modal .avatar-large {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ddd;
}

.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
}

.dragover {
    background-color: #e3f2fd !important;
    border-color: #007bff !important;
}

.avatar-upload-container {
    transition: all 0.3s ease;
}