@charset "UTF-8";

/*New style of color*/
:root {
    --text: #e7e0c4; /*Tone màu nhạt, nhẹ nhàng*/
    --text2: #174D51; /*Tone màu đậm, nổi bật*/
    --footer: #2D4443; /*Tone màu nhạt, vừa đủ nhìn*/
    --title: #5D1D2E; /*Tone màu đậm*/
    --stline: #D48931; /*Tone màu nhẹ, sáng*/
    --ndline: #c15937; /*Tone đậm hơn stline*/
    --button: #8EAD7C; /*Tone màu tương ứng với nav*/
    --nav: #a4c3a2; /*Tone màu nhạt, nhẹ nhàng*/
    --shadow: #0C2521; /*Tone màu sậm*/
    --background: #eae7d6; /*Màu nền chung*/
    --highlight: #407f3e; /*đậm nét, bên trái*/
    --transition: all 0.3s ease;
}

/*class - đặc tính bên ngoài*/
.body {
    display: flex;
    align-items: center;
    justify-items: center;
    line-height: 1.6;
    min-height: 100vh;
    margin-left: 12px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    backdrop-filter: blur(12px);
}

footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    color: var(--footer);
}
        
.noidung {
    display: inline-block;
    position: relative;
    border: 0.5px solid transparent;
    border-radius: 12px;
    box-shadow: var(--shadow) 0 2px 5px 0;
    background-color: var(--text);
    width: 99%;
    text-align: center;
}

.table {
    display: table;
    width: 100%;
}
.table-hang {
    display: table-row;
}
.table-cot {
    display: table-column;
}
.table-cell {
    display: table-cell;
    padding: 5px;
    background: linear-gradient(to bottom, var(--text) 75%, var(--nav) 100%);
    border: 0.1px dashed var(--shadow);
    border-radius: 12px;
    overflow-x:auto;
}

.column2 {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    border: 0.1px solid var(--footer);
    border-radius: 12px;
    text-align: justify;
    padding: 12px;
}

.menu {
    text-align: center;
    height: 23px;
}
#menu {
    font-size: smaller;
    text-align: center;
}
#colorbox {
    border-radius: 12px; text-align: center; 
    background: var(--nav);
    box-shadow: var(--shadow) 0 2px 5px 0;
    backdrop-filter: blur(12px);
}
.schedule {
    column-count: 7;
    column-fill: auto;
    height: 23px;
    text-align: center;
}
#round {
    border-radius: 12px; 
    text-align: center; 
    border: 0.1px dashed var(--footer);
    vertical-align: middle;
    height: 32px;
}
.center-box {
    margin: 0 auto;
    border: 0.1px dashed var(--footer);
    border-radius: 12px;
}

.button {
    font-size: 13px;
    line-height: 29px;
    padding: 0 10px 0 11px;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    background-color: var(--nav);
    border: 1px solid transparent;
    box-shadow: var(--shadow) 0 2px 5px 0;
}
.button:hover {
    background-color: var(--stline);
    font-weight: bolder;
}

/*id - đặc tính bên trong*/
#content {
    text-wrap: wrap;
    text-align: justify;
}
.highlight {
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--highlight);
    margin: 20px 0;
}

#ghichu {
    font-size: smaller;
    text-align: justify;
}

#tieude {
    font-weight: bold;
    text-shadow: var(--shadow) 0 2px 5px 0;;
    text-align: center;
}

#tieudetrang {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
}



/*Định dạng cây thư mục - deepseek*/
        .tree {
            padding-left: 20px;
            line-height: 2;
            text-align: left;
        }

        /* Tùy chỉnh summary */
        details > summary {
            list-style-type: none;
            cursor: pointer;
            position: relative;
            padding-left: 24px;
        }

        /* Biểu tượng thư mục */
        details > summary::before {
            content: '📁 ';
            position: absolute;
            left: 0;
        }

        /* Biểu tượng khi mở */
        details[open] > summary::before {
            content: '📂 ';
        }

        /* Tùy chỉnh file */
        .file {
            padding-left: 24px;
            position: relative;
        }

        .file::before {
            content: '📄 ';
            position: absolute;
            left: 0;
        }

        /* Đường kẻ dẫn */
        .tree .children {
            position: relative;
            padding-left: 20px;
            border-left: 1px dashed var(--button);
            margin-left: 4px;
        }

        /* Đường ngang trước mỗi mục */
        .children > *:not(:last-child)::before {
            content: "";
            position: absolute;
            left: -20px;
            width: 20px;
            height: 50%;
            border-bottom: 1px dashed var(--shadow);
        }

        /* Chỉnh vị trí cho summary */
        .children > details > summary::before,
        .children > .file::before {
            left: -20px;
        }

/*Định dạng văn bản word*/
   /* Danh sách */
        ul, ol {
            margin: 12pt 0;
            padding-left: 1.5cm;
        }

        li {
            margin-bottom: 6pt;
            list-style-type: decimal;
            list-style-position: inside;
        }

        /* Chữ in đậm */
        strong {
            font-weight: bold;
        }

        /* Chữ nghiêng */
        em {
            font-style: italic;
        }

        /* Chữ gạch chân */
        u {
            text-decoration: underline;
        }

        /* Blockquote - trích dẫn */
        blockquote {
            font-style: italic;
            border-left: 3px solid var(--ndline);
            padding-left: 6pt;
            margin: 12pt 0 12pt 1cm;
        }


pre {
    text-wrap-mode: wrap;
    text-align: justify;
}

#solieu {
    text-align: center;
    vertical-align: middle;
    font-size: smaller;
}

#center {
    text-align: center;
    vertical-align: middle;
}

/*Định dạng theo kiểu bảng lồng bảng*/
        .matrix-container {
            overflow-x: auto;
            margin: 30px 0;
            border: 2px solid var(--footer);
            border-radius: 8px;
            box-shadow: 0 5px 15px var(--shadow);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            background-color: transparent;
        }
        
        th {
            background: var(--title);
            color: var(--text);
            font-weight: 600;
            padding: 15px;
            text-align: center;
            position: sticky;
            top: 0;
        }
        
        td {
            padding: 12px 15px;
            border-bottom: 1px solid var(--footer);
            vertical-align: middle;
        }
        
        tr:nth-child(even) {
            background-color: var(--nav);
        }
        tr:nth-child(odd) {
            background-color: var(--button);
        }
       
        /* Styling for nested tables */
        .nested-table-container {
            background-color: transparent;
            border-left: 4px solid var(--title);
            padding: 10px;
            border-radius: 4px;
            margin: 7px 0;
        }
        
        .nested-table {
            width: 100%;
            margin: 7px 0;
            border-collapse: collapse;
            background-color: var(--text);
        }
        
        .nested-table th {
            background: var(--stline);
            padding: 10px 12px;
        }
        
        .nested-table td {
            padding: 8px 10px;
        }
        
        .deep-nested {
            background-color: transparent;
            border: 1.5px solid var(--ndline);
        }
        
        .deep-nested th {
            background: var(--ndline);
        }

/*Menu và button*/

        .nav-menu {
            gap: 25px;
        }
        
        .nav-item {
            color: var(--text2);
            text-decoration: none;
            position: relative;
            padding-bottom: 5px;
            border: transparent;
            transition: var(--transition);
        }
        
        .nav-item:hover {
            color: var(--footer);
            font-weight: bold;
        }
        
        .nav-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            transition: var(--transition);
        }
        
        .nav-item:hover::after {
            width: 100%;
        }

        a {
            text-decoration: none;
            transition: var(--transition);
        }
        
        a:hover {
            text-decoration: underline;
        }        
