/* Vietnamese Font Support */
body {
    font-family: "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    line-height: 1.6;
}

/* Enforce consistent typography for page body/content area */
.right_col,
.x_panel,
.x_content,
.container.body,
.main_container,
.main-content,
.content-wrapper,
table,
.table,
.form-control,
textarea,
select {
    font-family: "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Vietnamese specific font stack */
.vietnamese-text {
    font-family: "UVN-Banshee", "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Ensure Vietnamese characters display correctly */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
}

/* Specific styles for menu items */
.main-sidebar .nav-link,
.sidebar-menu li a {
    font-family: "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure Vietnamese text in cards is readable */
.card-title,
.card-header,
.info-box-text {
    font-family: "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
}

/* Adjustments for form controls */
.form-control,
.input-group-text {
    font-family: "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

/* Adjustments for buttons */
.btn {
    font-family: "Noto Sans", "Noto Sans Vietnamese", "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    text-transform: none;
}

/* Responsive adjustments for Vietnamese text */
@media (max-width: 768px) {
    .info-box-text {
        font-size: 13px;
    }
    
    .main-header .navbar-nav .nav-link {
        font-size: 13px;
    }
}
