﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
/* === CSS CHO SIDEBAR ADMIN === */

/* Phần nội dung chính, đẩy sang phải để chừa chỗ cho menu */
.main-content {
    margin-left: 60px; /* Bằng với chiều rộng của menu khi thu gọn */
    padding: 20px;
    transition: margin-left .3s ease-in-out;
}

/* Khung menu sidebar */
.sidebar {
    height: 100%;
    width: 60px; /* Chiều rộng khi thu gọn */
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #343a40; /* Màu nền tối */
    overflow-x: hidden;
    padding-top: 60px; /* Đẩy menu xuống dưới thanh navbar */
    transition: width .3s ease-in-out;
    white-space: nowrap; /* Ngăn text xuống dòng */
}

    /* Các link menu */
    .sidebar a {
        padding: 15px 20px;
        text-decoration: none;
        font-size: 18px;
        color: #adb5bd; /* Màu chữ xám nhạt */
        display: block;
    }

        /* Icon menu */
        .sidebar a i {
            margin-right: 15px;
            width: 20px; /* Đảm bảo các icon thẳng hàng */
            text-align: center;
        }

        /* Phần chữ của menu, mặc định ẩn */
        .sidebar a .menu-text {
            display: none;
            opacity: 0;
            transition: opacity .2s;
        }

    /* --- HIỆU ỨNG KHI HOVER --- */

    /* Khi hover vào sidebar */
    .sidebar:hover {
        width: 250px; /* Mở rộng menu */
    }

        /* Đồng thời đẩy nội dung chính sang phải thêm */
        .sidebar:hover + .main-content {
            margin-left: 250px;
        }

        /* Khi sidebar mở rộng, hiện phần chữ ra */
        .sidebar:hover a .menu-text {
            display: inline;
            opacity: 1;
        }

    /* Đổi màu nền khi hover vào một link menu */
    .sidebar a:hover {
        color: #f8f9fa; /* Màu chữ trắng */
        background-color: #495057;
    }
/* kết thúc css Khung menu sidebar */
footer {
    position: relative !important;
    bottom: unset !important;
}

.ui.table {
    border: none !important;
}

.ui.celled.table tr td {
    border-left: unset !important;
}

#Tbl_Logo tbody {
    border-style: unset !important;
}

    #Tbl_Logo tbody tr {
        border-style: none !important;
    }

tbody, td, tfoot, th, thead, tr {
    border-style: none !important;
}
.paddingleft60px{
    padding-left:65px;
}

.headermenu {
    color: #ffcc00;
    font-weight: 700;
    font-size: 1.2em;
}