nav {
  background-color: #CE1110 !important;
}

navbar {
    background-color: darkslateblue !important;
}



/* 02/12/2020 Fix lỗi không hiện  */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
    /* pick your color */
    color: white;
    background: darkslateblue !important;
    /*
    background: #fff;
    */
}

.container.body-content {
    width: 100%;
    max-width: 98%;
    padding-left: 10px;
}

.container.navigator {
    width: 100%;
}

html {
    width: 100%;
    position: relative;
    min-height: 100%;
}

body {
  width: 100%;
  font-family: "Segoe UI", "Inter", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  /*    padding-top: 15px;
*/ padding-bottom: 20px;
  padding-right: 0 !important;
}

.body-content {
    padding-left: 10px;
    padding-right: 10px;
}


/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 600px;
}




.w3-col {
    padding: 3px 3px 3px 3px;
}


.bounder {
    margin: 10px 0px 10px 0px;
}


.header-row {
    background-color: #835050;
    color: beige;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.data-row {
    line-height: 1.4;
    /*padding: 2px 2px 2px 2px;*/
}

    .data-row:nth-child(even) {
        background: white;
    }

    .data-row:nth-child(odd) {
        background: azure;
    }

    .data-row:hover {
        background: beige;
    }

.datagroup {
    font-weight: 600;
    color: #000080;
    line-height: 1.4;
    padding: 5px 5px 5px 15px;
}

.datagroup2 {
    font-size: 14px;
    font-weight: 700;
    color: black;
    line-height: 1.4;
    padding: 5px 5px 5px 15px;
}


.cell-data {
    font-style: normal;
    font-weight: 300;
    display: inline-block;
}

.cell-blue {
    font-weight: 300;
    font-style: italic;
    color: blue;
}

.cell-red {
    font-weight: 300;
    font-style: italic;
    color: red;
}

.cell-viec {
    position: relative;
}


.cell-chidao {
    padding: 5px;
    font-style: normal;
    font-weight: 600;
    color: #783333;
    background-color: lightgray;
    /*position: absolute;
    bottom: 0;*/
    margin-bottom: 10px;
    margin-top: 10px;
}

.cell-chidaotext {
    padding: 5px;
    font-style: normal;
    font-weight: 600;
    color: #783333;
    /*position: absolute;
    bottom: 0;*/
    margin-bottom: 10px;
    margin-top: 10px;
}

.cell-bigblue {
    font-weight: 600;
    font-style: italic;
    color: darkblue;
}

/*
    Link font-face
*/
a.fa {
    /*color: blue;*/
    font-size: 18px;
}

span.fa {
    font-size: 18px;
}

a.far {
    /*color: blue;*/
    font-size: 18px;
}


.wide-text {
    min-width: 200px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transition: none !important;
}

/* Fix for focus/blur size consistency in TraCuu area */
.wide-text:focus,
.form-control.wide-text:focus {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: none !important;
}

.wide-text:focus-visible,
.form-control.wide-text:focus-visible {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
    outline-offset: 0 !important;
}

.btn.btn-primary {
    font-family: inherit;
    font-size: 12px;
    width: 200px;
    margin-top: 5px;
    /* Fix for immediate button response */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.btn.btn-default {
    font-family: inherit;
    font-size: 12px;
    width: 200px;
    margin-top: 5px;
    /* Fix for immediate button response */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.btn.badge-primary.btn-menu {
    font-family: inherit;
    font-size: 13px;
    width: 300px;
    margin-top: 5px;
}

/*
.form-control {
    font-family: Arial;
    font-size: 12px;
}

*/
/*ul.dropdown-menu {
    background-color: #212529;
    color: white;
}*/


.select2 {
    min-width: 300px;
}


/*.wrap {
    overflow: hidden;
    display: table;
    border-collapse: collapse;
}
.table {
    display: table;
    border-collapse: collapse;
    padding: 0px 0px 0px 0px;
    overflow: hidden;
}

.tablerow {
    overflow: hidden;
    display: table-row;
    border-collapse: collapse;
    float: none;
}

.tablecell {
    display: table-cell;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid #000;
    float: none;
    padding: 0px 0px 0px 0px;
}*/


.wide-area-text {
    max-width: 800px;
}


fieldset {
    margin-bottom: 10px !important;
}

legend {
    display: block;
    width: auto !important;
    padding: 5px !important;
    margin-bottom: 0px !important;
    font-size: inherit !important;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 0px solid #e5e5e5 !important;
}

.DMnhanvienPhong {
    float: right;
    font-style: italic;
}

.DMnhanvienEmail {
    float: right;
    font-style: italic;
}

.DMnhanvienUserName {
    color: blue;
    font-weight: bold;
}

.txtsearch {
    width: 100%;
}



button.btn-selected {
    background-color: darkslateblue;
    color: white;
}


button.btn-noneselected {
    background-color: transparent;
    color: black;
}

.text-bold {
    color: #333;
    font-weight: 600;
    text-align: center;
}

button.btn-fa {
    font-family: FontAwesome, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


.dbdata-row:nth-child(even) {
    font-family: inherit;
    font-size: 16px;
    background-color: white;
    color: darkblue;
}

.dbdata-row:nth-child(odd) {
    font-family: inherit;
    font-size: 16px;
    background-color: skyblue;
    color: black;
}

.border-1 {
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    border-collapse: collapse;
    border-width: 1px;
    border-spacing: 0px;
}

.rivcol-container {
    display: table; /* Make the container element behave like a table */
    width: 100%; /* Set full-width to expand the whole page */
}

.rivcol {
    display: table-cell; /* Make elements inside the container behave like table cells */
    border-width: 1px;
    border-style: solid;
    border-collapse: collapse;
    border-spacing: 0px;
    width: 100%; /* Set full-width to expand the whole page */
}

.cc {
    text-align: center;
}


.tdTime {
    min-width: 60px;
    text-align: center;
}

@media screen and (min-width: 1001px) {
    hp_menuColumn {
        width: 50%; /* Set full-width to expand the whole page */
    }
}

@media screen and (max-width: 1000px) {
    hp_menuColumn {
        width: 100%; /* Set full-width to expand the whole page */
    }
}

/* =====================================================
   TraCuu Area Specific Fixes for Input/Button Issues
   ===================================================== */

/* Comprehensive fix for all form controls in TraCuu area */
.searchformVanBan .form-control,
.searchformVanBan .wide-text,
.searchformVanBan input[type="text"],
.searchformVanBan input[type="date"],
.searchformVanBan select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
}

/* Ensure stability during focus/blur events */
.searchformVanBan .form-control:focus,
.searchformVanBan .wide-text:focus,
.searchformVanBan input[type="text"]:focus,
.searchformVanBan input[type="date"]:focus,
.searchformVanBan select:focus,
.searchformVanBan .form-control:blur,
.searchformVanBan .wide-text:blur,
.searchformVanBan input[type="text"]:blur,
.searchformVanBan input[type="date"]:blur,
.searchformVanBan select:blur {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
}

/* Enhanced button responsiveness for TraCuu forms */
.searchform .btn,
.searchformVanBan .btn,
.btn-dnict {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    /* Ensure immediate response */
    touch-action: manipulation !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    /* Prevent any transition delays */
    transition: background-color 0.1s ease !important;
    -webkit-transition: background-color 0.1s ease !important;
    -moz-transition: background-color 0.1s ease !important;
    -ms-transition: background-color 0.1s ease !important;
}

/* Force immediate button activation */
.searchform .btn:active,
.searchformVanBan .btn:active,
.btn-dnict:active {
    transform: scale(0.98) !important;
    transition: transform 0.05s ease !important;
}

/* Additional stability for W3.CSS grid components in TraCuu */
/* .w3-row .w3-col input,
.w3-row .w3-col select,
.w3-row .w3-col .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
} */
