@font-face {
    font-family: 'Butlong'; 
    src: url(../font/Vbutlong.ttf); 
    font-weight: normal; 
}
@font-face {
    font-family: 'VNI-Thufap3'; 
    src: url(../font/VNI-Thufap3.ttf); 
    font-weight: normal; 
}
@font-face {
    font-family: 'Davida'; 
    src: url(../font/UTM-Davida.ttf); 
    font-weight: normal; 
}

.xemPT-simsom{
    width: 100% !important;
}
.xemPT-simso{
    width: auto !important;
}
table.table-lvn{
    border-color: #ececec;
    border-spacing: 0;
    width: 100%;
    border: none;
}
table.table-lvn tr td{
    width: 50% !important;
    padding-right: 0;
    color: #000;
    border: none;
}
.goup-row-radio{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.goup-row-lich ,.goup-row-sim,.goup-row-sex{
    display: flex;
    width: 100% !important;
}
.goup-row-sim{
    justify-content: center;
    align-items: center;
}
.goup-row-date{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
.goup-row-radio{
    padding: 0px;
}
.background-vang{
    background: #e8e8cc52;
}
.background-xanh{
    background: #c8e1df45;
}
.col-radio-50 ,.col-radio-50r{
    width: 50% !important;
    padding: 10px 0px;
    line-height: 1.6em;
    margin-left: 20px;
}
.col-50-lvn ,.col-50-lvnr{
    width: 50% !important;
}
.col-lvn-50 ,.col-lvn-50r{
    width: 50% !important;
}
.xemPT-simso h1, h2, h3, h4, h5, h6{
    padding: 10px 0 5px!important;
    margin: 0 !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}


.xemPT-simso h3{
    color: #fff !important;
}
.xemPT-simso h1, h2, h4, h5, h6{
    color: #2204bb !important;
}
.title-block-bground{
    background: linear-gradient(to right, #d30f02 10%, #f70101c9 40%, #aba9a6 65%);
}
.padding-25{
    padding: 25px !important;
}
.padding-20{
    padding: 20px !important;
}
.padding-15{
    padding: 15px !important;
}
.padding-10{
    padding: 10px !important;
}
.padding-5{
    padding: 5px !important;
}

.content-simso table td{
margin: 5px 0px 5px 0px !important;
padding: 5px 0 5px 10px !important;
}
.xemPT-simso h3, h4{
    font-family: "Davida","Arial", "sans-serif";
}
.xemPT-simso h1, h2, h5, h6{
    font-family:"Arial", "sans-serif" !important;
}
.color-red-bold{
    font-weight: bold;
    color: #b90000;
}
.color-blue-bold{
    font-weight: bold;
    color: #2204bb ;
}
.bg-color-blue {
    background-color: #303089;
}
.color-white{
    color: #ffffff;
}
.bg-color-gold{
    background-color: #fdcc7d;
}
.color-blue-vs-gold{
    font-weight: bold;
    color: #303089 ;
}
.xemPT-simso h2{
    font-size: 24px;
}
.xemPT-simso h3{
    font-size: 22px;
    text-align: center;
    padding: 10px !important;
    margin: 15px 0 !important;
}
.xemPT-simso h4{
    font-size: 20px;
}
.xemPT-simso h5{
    font-size: 19px;
}
.xemPT-simso h6{
    font-size: 18px;
}
.content-menhchu ul{
    margin: 0 1.2em 0 0 !important;
    padding: 0 !important;
}
.content-menhchu ul ul{
    margin: 0  !important;
    padding: 0 !important;
    list-style: square !important;
}
.content-menhchu li{
    margin: 5px 5px 5px 20px !important;
    line-height: 1.5em !important;
}
.content-simso ul{
    margin: 0 0 0 1em !important;
    padding: 0 !important;
}
.content-simso ul ul{
    margin: 0  !important;
    padding: 0 !important;
    list-style: square !important;
}
.content-simso li{
    margin: 5px 5px 5px 20px !important;
    line-height: 1.6em !important;
    font-size: 1em;
}
.error {
    outline: 2px solid rgb(255, 0, 0);
}
.col-lvn-35l{
    width: 35% !important;
}
.col-lvn-65r{
    width: 64% !important;
    display: flex;
    gap: 20px;
    justify-content: center;
}
.col-lvn-70r{
    width: 70% !important;
}
.col-label-number{
    font-size: 14px;
    font-weight: bold;
    padding: 7px 0px 15px;
}
.xem-sim-som{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;align-content: center;
}
.xem-sim-so{
    width: 600px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2), 0 5px 5px 0 rgba(0, 0, 0, .24);
    padding: 20px 40px;
}
.form-simso input[type=text], input[type=tel]{
    font-size: 18px;
    color: #0119c5;
    font-weight: 500;
}
.form-simso select{
    font-size: 16px;
    color: #0119c5;
    font-weight: 500;
}
.border-right{
    /*border-right: 2px solid #ab5252;*/
    position: relative;
}
.border-right::after{
    content: '';
    height: 60%; 
    width: 1px;
    position: absolute;
    right: 0;
    top: 20%;
    background-color: #ab5252; 
}
.border-p{
    border: 1px solid #c3c3c7;
}
.col-date-30{
    width: 30%;
    padding: 0 10px;
}
.col-sim-30{
    width: 30%;
    margin-right: 10px;
}
.col-date-40r{
    width: 40%;
    padding: 0 10px;
}
.col-sim-40r{
    width: 40%;
}
.text-center{
    text-align: center;
}
.daynow-danhngon1{
    display: none;
}
.head-text{
    font-size: 11px;
    font-weight: bold;
    border: none;
    width: 100px;
    padding: 5px;
    background: #f69e2aa1;
}
.head-text-new{
    font-size: 14px;
    font-weight: bold;
    border: none;
    width: 100px;
    padding: 10px;
    background: #f57b01;
}
.head-ngaythang{
    font-size: 16px;
}
.am-lich-new span{
font-size: 30px;
font-weight: 700;
}
.ct-ngay{
    font-size: 70px;
    font-weight: 700;
    font-family: sans-serif;
    color: #000098; 
    line-height: 1.6em;
}
.chitiet-lich{
    font-size: 18px;
    padding: 10px 5px;
    line-height: 1.5em;
}
.center-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.ngayhoangdao {
    padding: 15px 0px;
    background: #e3e3e3;
    font-size: 18px;
    text-align:center;
}
.ngay-home-new{
    text-align: left !important;
}
.danhgia-lvn{
    font-size: 16px !important;
    border: 2px solid #f2b20052;
    border-radius: 6px;
    margin: 30px 0px;
    background-color: #fbd4a7;
    width: fit-content;
    padding: 5px 20px;
    text-align: center;
}
.margin-bottom-25{
    margin-bottom: 25px;
}
.backgroud-img{
    background: url(../img/anhnenlt.jpg);
}
 button.xemchitiettotxau {
    margin: 0px;
    padding: 8px 20px;
    font-size: 16px;
    text-align:center;
    background: #048a6d;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
}
 button.xemchitiettotxau :hover{
    background: #e10602;
}
.chonngay-nhuan{
    display: none;
    width: 100%;
    margin-bottom: 10px;
}
.chitiettotxau{
    width: 100% !important;
    line-height: 1.5em;
    text-align: left;
}
.chitiettotxau ul{
    margin:0px !important;
    line-height: 1.6em;
}
.btn-l-Calendar{
    left: 40px;
}
.btn-r-Calendar{
    right: 22px;
}
.btn-Calendar {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 50px;
    width: 50px;
    position: absolute;
    top: 10%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.btn-icon-l{
    border-left: 2.5px solid #7f7f7f;
    border-radius: 1px;
    border-top: 2.5px solid #7f7f7f;
    display: inline-block;
    height: 12px;
    width: 12px;
    -webkit-transform: rotate(-45deg) translateX(10%) translateY(10%);
    transform: rotate(-45deg) translateX(10%) translateY(10%);
}
.btn-icon-r{
    border-bottom: 2.5px solid #7f7f7f;
    border-radius: 1px;
    border-right: 2.5px solid #7f7f7f;
    display: inline-block;
    height: 12px;
    width: 12px;
    -webkit-transform: rotate(-45deg) translateX(-10%) translateY(-10%);
    transform: rotate(-45deg) translateX(-10%) translateY(-10%);
}
.chonngay-main-hide{
    display: none;
    z-index: 9999 !important;
    background: #fff;
    border: 0 none;
    margin:auto;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    justify-content: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2), 0 5px 5px 0 rgba(0, 0, 0, .24);
    }
.chonngay-Calendarm{
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    align-content: center;
    justify-content: center;
}
.chonngay-Calendar{
    width: 450px;
    padding: 30px 15px 15px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.chonngay-Calendar input[type=radio]  {
    display: inline-block;
    height: 15px !important;
    width: 15px !important;
    font-size: 12px;
    margin-right: 5px;
}
.chonngay-Calendar  input[type=radio]+label  {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}
.icon-Calendar{
    background: url('../img/calender.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 16px;
    margin-left: 5px;
    width: 16px;
}
button.chon-ngaythang,button.dong-ngaythang {
    text-align: center;
    border-radius: 5px;
    width: 90px;
    color: #fff;
    margin: 15px 0 0 0;
    font-size: 16px;
    font-weight: 700;
    padding: 5px 20px;
    }
button.chon-ngaythang{
border: 1px solid #818181;
background: #0c86e4;
}
button.dong-ngaythang{
    border: 1px solid #818181;
    background: #828282;
    margin-right: 15px;
    }
    button.chon-ngaythang:hover,button.dong-ngaythang:hover {
        background: #f64d1e;
        }

.lunar-year table {
    table-layout: unset;
}

.year-name {
    text-align: center;
    font-size: 150%;
    line-height: 120%;
    font-weight: bold;
    color: #000000;
    background-color: #CCCCCC
}

table.month {
    width: 100%;
    font-size: 13px;
    padding: 1px;
    line-height: 100%;
    table-layout: unset;
}

.month .navi-left,
.month .month-name,
.month .navi-right {
    text-align: -webkit-center;
    vertical-align: middle;
}

.month,
table.month tbody tr th,
table.month tbody tr td {
    padding: 5px;
    border: 1px solid #dedede;
    font-weight: bold;
}

.month td {
    cursor: pointer;
}

.month td:hover {
    background: #dedede;
}

.month td .date-lunar {
    font-weight: normal;
    padding-top: 3px;
}

.month-name {
    text-align: center;
    font-size: 125%;
    line-height: 100%;
    font-weight: bold;
    color: #330033;
    background-color: #CCFFCC
}

.navi-left {
    text-align: center;
    font-size: 75%;
    line-height: 100%;
    font-weight: bold;
    color: red;
    background-color: #CCFFCC
}

.navi-right {
    text-align: center;
    font-size: 75%;
    line-height: 100%;
    font-weight: bold;
    color: #330033;
    background-color: #CCFFCC
}

.day-of-week {
    text-align: center;
    font-size: 125%;
    line-height: 100%;
    color: #fff;
    background-color: #13a923
}

.day-of-month {
    background-color: #FDFDF0
}

.today {
    background-color: #FFF000
}

.new-year {
    background-color: #FFCC99
}

.date-lunar {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: blue
}

.am2 {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: #004080
}

.day-working {
    text-align: left;
    font-size: 125%;
    color: black
}

.saturday {
    text-align: left;
    font-size: 125%;
    line-height: 100%;
    color: green
}

.sunday {
    text-align: left;
    font-size: 125%;
    line-height: 100%;
    color: red
}

.lunar-search {
    display: flex;
    justify-items: center;
    margin: 10px 0px;
}

.lunar-search .lunar-search-item {
    height: 35px;
}

.lunar-search select.lunar-search-item {
    width: 20%;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    padding: 0px 8px;
    height: 37px;

}

.lunar-search input {
    width: 45%;
    padding: 0px 10px;
    margin: 0px 10px;
}

.lunar-search button.lunar-search-item {
    width: 35%;
    font-weight: bold;
    cursor: pointer;
    height: 37px;
}

td a.btn-next {
    border-bottom: 0px;
    display: block;
    width: 20px;
    height: 20px;
    background: url('/assets/img/right-arrow.png');
    -webkit-background-size: cover;
    background-size: cover;
}

td a.btn-prev {
    border-bottom: 0px;
    display: block;
    width: 20px;
    height: 20px;
    background: url('/assets/img/left-arrow.png');
    -webkit-background-size: cover;
    background-size: cover;
}

.lunar-year > table > tbody > tr > td {
    padding: 5px;
}

.ui-datepicker {
    background-color: #fff;
    border: 1px solid #dedede;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: none;
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    cursor: pointer;
    position: absolute;
    top: 8px;
    width: 1em;
    height: 1em;
}

.ui-datepicker .ui-datepicker-prev {
    background: url('../images/left-arrow.png');
    -webkit-background-size: cover;
    background-size: cover;
    left: 2px;
}

.ui-datepicker .ui-datepicker-next {
    background: url('../images/right-arrow.png');
    -webkit-background-size: cover;
    background-size: cover;
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 49%;
}

.ui-datepicker table {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em;
}

.ui-datepicker th {
    background: #dedede;
    padding: .5em .3em;
    text-align: center;
    font-weight: bold;
    border: 0;
}

.ui-datepicker td {
    border: 1px solid #dfdfdf;
    padding: 1px;
}

.ui-datepicker td:hover {
    background: #13a923;
}

.ui-datepicker td:hover a {
    color: #fff;
}

.ui-datepicker-current-day {
    background: #13a923;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    color: #454545;
    padding: 8px;
    text-align: center;
    text-decoration: none;
}

.ui-datepicker-current-day a.ui-state-active {
    color: #fff;
}

.ui-datepicker .ui-datepicker-buttonpane {
    background-image: none;
    margin: .7em 0 0 0;
    padding: 0 .2em;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    float: right;
    margin: .5em .2em .4em;
    cursor: pointer;
    padding: .2em .6em .3em .6em;
    width: auto;
    overflow: visible;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: left;
}

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
    width: auto;
}

.ui-datepicker-multi .ui-datepicker-group {
    float: left;
}

.ui-datepicker-multi .ui-datepicker-group table {
    width: 95%;
    margin: 0 auto .4em;
}

.ui-datepicker-multi-2 .ui-datepicker-group {
    width: 50%;
}

.ui-datepicker-multi-3 .ui-datepicker-group {
    width: 33.3%;
}

.ui-datepicker-multi-4 .ui-datepicker-group {
    width: 25%;
}

.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
    border-left-width: 0;
}

.ui-datepicker-multi .ui-datepicker-buttonpane {
    clear: left;
}

.ui-datepicker-row-break {
    clear: both;
    width: 100%;
    font-size: 0;
}

/* RTL support */
.ui-datepicker-rtl {
    direction: rtl;
}

.ui-datepicker-rtl .ui-datepicker-prev {
    right: 2px;
    left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next {
    left: 2px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-prev:hover {
    right: 1px;
    left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next:hover {
    left: 1px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane {
    clear: right;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button {
    float: left;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
    float: right;
}

.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
    border-right-width: 0;
    border-left-width: 1px;
}
.xemct-hide{
    display: none;
}
.day-top {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c3c3c7;
    padding: 5px;
    text-align: center;
}
.next-prev-mid{
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-top .btn-prev,.next-prev-mid .btn-prev,
.day-top .btn-next,.next-prev-mid .btn-next {
    margin-top: 4px;
    cursor: pointer;
    width: 1.8em;
    height: 1.8em;
}

.day-top .btn-prev,.next-prev-mid .btn-prev {
    background: url('../images/left-arrow.png');
    background-size: cover;
}
.margin-right-20 {
    margin-right: 20px;
}
.margin-left-20 {
    margin-left: 15px;
}
.day-top .btn-next,.next-prev-mid .btn-next {
    float: right;
    background: url('../images/right-arrow.png');
    background-size: cover;
}

.day-top input {
    background:#fff;
    width: 120px;
    height: 35px;
    text-align: center;
    border:1px solid #dedede;
    margin: 0px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.day-content {
    line-height: 1.2;
    padding: 0px;
    text-align: center;
}

.day-content h5.month-of-year {
    font-size: 13px;
    color: #e62470;
}

.day-content .day {
    padding: 10px 0px;
    font-size: 60px;
    font-weight: bold;
    color: #a9134e;
}

.day-content .hoangdao {
    font-size: 12px;
    line-height: 16px;
    color: #828883;
}
.day-content .calendar-lunar{
    display: flex;
    margin-top:10px;
}
.day-content .calendar-lunar .col-left,
.day-content .calendar-lunar .col-right {
    width:50%;
}
.day-content .calendar-lunar h5.title{
    font-size:16px;
    font-weight: bold;
    margin-bottom:10px;
}
.day-content .calendar-lunar .description{
    font-size:13px;
    color: #555;
    line-height: 16px;
}
.day-content .calendar-lunar .day{
    font-size:30px;
    padding:0px;
}
.Calendar-arrow{
    display: none;
}


/* Xem sim số*/

.check-empty-xemss{
    display: none;
    font-size:16px ;
    font-style: italic;
    
} 
  #check-empty-ss{
font-size: 16px;
font-style: italic;
color: red;
text-align: center;
display: none;
  }
  

  .row-group-number{
    display: flex;
  }
  
  .col-sim-10{
    width: 10%;
    text-align: center;
  }
  .col-label-hide{
    display: none;
}

.col-lvn-30{
    width: 30%;
    margin-right: 10px;
}
.goup-row-sim input[type=radio]  {
    display: inline-block;
    height: 18px !important;
    width: 18px !important;
    font-size: 16px;
    margin-right: 6px;
}
.goup-row-sim input[type=radio]+label  {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
}
button.xem-sim-so{
    padding: 0px 15px;
    width: 150px;
    height: 40px;
    margin: 30px 10px 10px;
    font-weight: bold;
    color: white;
    border: none;
    background: #006fd0;
    border-radius: 8px;
}
button.xem-sim-so:hover{
    background: #de3907;
}
.content-menhchu{
    width: 100%;
    border: 2px solid red;
    padding: 0 20px;
}
.head-top h3 {
    font-family: sans-serif;
    font-size: 21px;
    text-align: center;
    background: #2a74ae !important;
    color: #fff !important;
    margin-bottom: -0px !important;
}
.vkcontent-main{
    width: 100%;
    padding: 0 100px;
}
.vkcontent-html h1,h2,h3,h4,h5,h6 {
    color: #2204bb !important;
}
.vkcontent-html h2 {
    padding: 30px 0 20px 0 !important;
    font-size: 23px;
    text-align: left !important;
}
.vkcontent-html h3 {
    padding: 20px 0 !important;
    font-size: 22px;
    text-align: left !important;
}
.text-align-center{
    text-align: center !important;
}
.gio-hac-dao{
    display: block;
}
  @media only screen and (max-width: 1000px) {
    .xemPT-simso{
        width: 100% !important;
    }
    .vkcontent-html{
        width: 100%;
    }
    .Calendar-arrow{
        display: none !important;
    }
    .col-50-lvn ,.col-50-lvnr{
        width: 100% !important;
        }

        .border-right::after{
            display: none;
        }
    .goup-row-lich{
        display: block;
    }
}
@media only screen and (max-width: 768px) {
    .ngaythang-label {
        display: none;}
    .col-label-hide{
        display: block;
    }
    .col-lvn-50,.col-lvn-50r{
        width: 100% !important;
        }
    .col-lvn-70r{
        width: 100% !important;
    }
    .col-lvn-30{
        width: 100%;
        margin-right: 0px;
    }
    .col-radio-50 ,.col-radio-50r{
        margin-left: 0px;
    }
    .goup-row-sim{
        display: block;
    }
    .xem-sim-so{
        width: 100%;
        padding: 20px;
    }
    .xemPT-simso h1, h2, h3, h4, h5, h6{
        padding: 10px 0px!important;
    }
    .xemPT-simso h2{
        font-size: 22px;
    }
    .xemPT-simso h3{
        font-size: 21px;
        padding: 10px !important;
        margin: 15px 0 !important;
    }
    .xemPT-simso h4{
        font-size: 19px;
    }
    .xemPT-simso h5{
        font-size: 18px;
    }
    .xemPT-simso h6{
        font-size: 17px;
    }
    .calendar-day, .lvn-calendar-wrapper {
    padding: 0px;
}
}
@media only screen and (max-width: 600px) {
    .chonngay-Calendar{
        width: 350px;
        padding: 15px;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .section-content-lvn{
        text-align: left !important;
        padding-left: 15px !important;
    }
    .section-content-lvn .section-content ul li {
        padding-left: 15px !important;
    }
    .ct-ngay{
        font-size: 40px;
        line-height: 1.4em;
    }
    .day-content{
        padding:0px !important
    }
    .gio-hac-dao{
        display: none;
    }
    .chitiet-lich{
        padding: 5px;
        font-size: 16px !important;
    }
    .xemPT-simso h3{
        font-size: 20px;
        padding: 10px !important;
        margin: 15px 0 !important;
        line-height: 1.6em;
    }
    .diem_danh_gia ,.diem_danh_gia2{
        margin: 10px 10px;
    }
    .title-block-bground{
        background:  #0d058b;
        border-radius: 10px;
    }
    .mobile-hide{
        }
        .danhgia-lvn{
            margin: 5px 0px 20px;
            padding: 5px 10px;
        }
}
@media only screen and (max-width: 450px) {
    .col-date-30{
        padding: 0 5px;
    }
    .col-date-40r{
        padding: 0 5px;
    }
    .ngayhoangdao {
        padding: 10px 0px;
        font-size: 16px !important;
    }
    .col-sim-10{
        font-size: 8px;
      }
      .color-thuy ,.color-moc ,.color-hoa, .color-kim, .color-tho{
        border-radius: 0px !important;
      }
}
@media only screen and (max-width: 350px) {
    .chonngay-Calendarm{
        width: 100%;
    }
    .chonngay-Calendar{
        width: 100%;
        padding: 30px 15px 15px;
    }
    .diem_danh_gia, .diem_danh_gia2{
        margin: 10px 0px;
    }
}
/* ==========================================================================
   CSS BỔ SUNG CHO LỊCH VẠN NIÊN (KHÔNG ẢNH HƯỞNG TỚI CÁC PHẦN KHÁC)
   ========================================================================== */
.lvn-pro-form__checkbox-label{
    z-index: 99999999;
}
/* --- Layout chung cho các khối lịch --- */
.calendar-day, .lvn-calendar-wrapper {
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box; /* Thêm để tránh lỗi padding */
}
.calendar-day *, .lvn-calendar-wrapper * {
    box-sizing: border-box; /* Đảm bảo các thành phần bên trong cũng đúng */
}

.head-top h3, .lvn-header h3.lvn-title {
    text-align: center;
    color: #c00;
    margin: 0 15px;
    font-size: 22px;
    line-height: 1.2;
    flex-grow: 1;
}

/* --- Giao diện các nút bấm và ô nhập liệu --- */
.day-top, .lvn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.show-find-day {
    flex-grow: 1;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

.btn-prev, .btn-next, .lvn-nav-btn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Giữ kích thước nút ổn định */
    transition: background-color 0.2s;
    padding: 0;
}
.btn-prev:hover, .btn-next:hover, .lvn-nav-btn:hover {
    background-color: #e0e0e0;
}

/* ==========================================================================
   LỊCH THÁNG VÀ LỊCH NĂM
   ========================================================================== */
.lvn-calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.lvn-calendar-table th {
    padding: 10px 5px;
    background-color: #f8f8f8;
    color: #0058b5;
    font-weight: bold;
    font-size: 14px;
}
.lvn-calendar-table td {
    border: 1px solid #eee;
    height: 65px;
    vertical-align: top;
    padding: 4px;
}
.lvn-calendar-table td.day {
    cursor: pointer;
    transition: background-color 0.2s;
}
.lvn-calendar-table td.day:hover {
    background-color: #f5f5f5;
}
.lvn-calendar-table td.today {
    background-color: #fffde7;
    border: 1px solid #ffc107;
}
.lvn-calendar-table td.empty {
    background-color: #fafafa;
    cursor: default;
}
.lvn-calendar-table .solar-day {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}
.lvn-calendar-table .lunar-day {
    font-size: 12px;
    color: #757575;
}
.lvn-year-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.lvn-month-wrapper h4 {
    text-align: center;
    margin: 10px 0;
    color: #555;
}


/* ==========================================================================
   CHI TIẾT NGÀY VÀ FORM CHỌN NGÀY
   ========================================================================== */
.chitiettotxau {
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.chitiettotxau h2 {
    font-size: 22px; color: #c00; text-align: center;
}
.box-detail {
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}
.box-title {
    background-color: #005771;
    padding: 10px 15px;
    margin: 0;
    color: white !important;
    padding: 8px 10px !important;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
}
.box-content {
    padding: 15px;
}
.box-content ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
.box-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* --- Form chọn ngày (popup) --- */
.chonngay-main-hide {
    position: relative;
}
.chonngay-Calendarm {
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.goup-row-radio, .goup-row-date {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    align-items: center;
}
.col-radio-50, .col-radio-50r { flex: 1; }
.col-date-30 { flex: 3; }
.col-date-40r { flex: 4; }
.text-input-lich {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.chon-ngaythang, .dong-ngaythang {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.chon-ngaythang {
    background-color: #c00;
    color: white;
}
.dong-ngaythang {
    background-color: #f0f0f0;
    color: #333;
}
.xemchitiet-main {
    margin-top: 20px;
}
.xemchitiet-main button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #c00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.xemchitiet-main button:hover {
    background-color: #a00;
}
/* ==========================================================================
   CSS BỔ SUNG CHO DẤU HIỆU HOÀNG ĐẠO VÀ POPUP CHI TIẾT
   ========================================================================== */

/* --- Đánh dấu ngày Hoàng Đạo / Hắc Đạo --- */
.hoang-dao-marker, .hac-dao-marker {
    font-size: 18px;
    font-weight: bold;
    margin-left: 4px;
    line-height: 1;
}
.hoang-dao-marker {
    color: #ff4136; /* Màu đỏ */
}
.hac-dao-marker {
    color: #111111; /* Màu đen */
}

/* --- Giao diện Popup chi tiết ngày --- */
#lvn-day-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lvn-day-popup-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 750px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.lvn-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    background-color: #f8f8f8;
}
.lvn-popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #c00;
}
#lvn-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.lvn-popup-body {
    padding: 20px;
    overflow-y: auto; /* Cho phép cuộn nếu nội dung quá dài */
}
/* Ghi đè một số style để popup hiển thị đẹp hơn */
.lvn-popup-body .calendar-day {
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    max-width: 100%;
}
/* ==========================================================================
   CSS BỔ SUNG CHO NGÀY LỄ VÀ DANH NGÔN
   ========================================================================== */

/* --- Tô đỏ ngày lễ và Chủ Nhật trong lịch tháng --- */
.lvn-calendar-table .is-holiday .solar-day {
    color: #ff4136; /* Màu đỏ */
}

/* --- Khối Sự kiện & Danh ngôn --- */
.lvn-holiday-quote {
    text-align: center;
    margin-top: 15px;
}
.lvn-holiday-title {
    font-size: 16px;
    font-weight: bold;
    color: #c00;
    margin-bottom: 5px;
}
.lvn-holiday-content {
    font-size: 18px;
    font-weight: bold;
}
.lvn-quote-content {
    font-size: 16px;
    font-style: italic;
    color: #333;
    padding: 0 50px;
    line-height: 1.6;
}
.lvn-quote-author {
    margin-top: 10px;
    font-weight: bold;
    color: #555;
    font-size: 13pt;
}
/* ==========================================================================
   CSS MỚI CHO GIAO DIỆN NGÀY TỔNG QUÁT (SUMMARY CARD V2.0)
   ========================================================================== */

.summary-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.sc-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sc-date-col {
    padding: 20px;
    text-align: center;
}

.sc-solar {
    border-right: 1px solid #dee2e6;
}

.sc-header {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.sc-day {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.sc-solar .sc-day { color: #0d6efd; }
.sc-lunar .sc-day { color: #d63384; }

.sc-my {
    font-size: 18px;
    font-weight: 600;
    margin: 5px 0;
    color: #212529;
}

.sc-weekday, .sc-canchi {
    font-size: 14px;
    font-weight: bold;
    color: #495057;
}

.sc-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid #dee2e6;
    font-size: 15px;
    background: #f8f9fa;
}

.sc-hour-info {
    justify-content: center;
    gap: 30px;
    font-size: 14px;
}

.sc-red { color: #dc3545; }
.sc-blue { color: #0d6efd; }
.sc-rating { font-size: 22px; }

.sc-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #dee2e6;
}

.sc-hours-col {
    padding: 15px;
    text-align: center;
}

.sc-hours-col:first-child {
    border-right: 1px solid #dee2e6;
}

.sc-hours-header {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

.sc-hours-col p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

/* --- Responsive cho điện thoại --- */
@media (max-width: 600px) {
    .sc-main-grid, .sc-hours-grid {
        grid-template-columns: 1fr;
    }
    .sc-solar, .sc-hours-col:first-child {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    .sc-day { font-size: 56px; }
    .sc-my { font-size: 16px; }
    .sc-info-row { flex-direction: column; text-align: center; gap: 8px; }
    .lvn-quote-content {
    padding: 0 15px;
}
}
/* ==========================================================================
   CSS MỚI CHO GIAO DIỆN NGÀY CHI TIẾT
   ========================================================================== */

.lvn-details-page {
    max-width: 900px;
    margin: 20px auto;
}

.lvn-detail-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mặc định 1 cột cho mobile */
    gap: 20px;
    margin-top: 20px;
}

.section-content-lvn {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
}
.section-content-lvn  {
    padding: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.section-content-lvn .section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-content-lvn .section-content li {
    margin-bottom: 5px;
    padding-left: 8px;
    position: relative;
}

.section-content-lvn .section-content li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: #c00;
}

.section-content-lvn strong {
    color: #343a40;
}
.section-content-lvn .section-content ul li {
    list-style-type: none !important;
    padding-left: 10px !important; /* Tùy chọn: Xóa cả khoảng đệm bên trái */
}
.section-content-lvn .section-content ul {
   padding-left: 0 !important;
}
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #c00;
    padding: 12px 15px;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}



.sao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.sao-col h4 {
    margin: 0 0 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.sao-col p {
    margin: 5px 0 0;
    font-style: italic;
    color: #6c757d;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}
.dot.tot { background-color: #28a745; }
.dot.xau { background-color: #dc3545; }

/* Responsive cho màn hình lớn hơn */
@media (min-width: 768px) {
    .lvn-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sao-grid {
         grid-template-columns: 1fr 1fr;
    }
}
/* --- Yêu cầu 1: Làm cho 2 cột cao bằng nhau --- */
@media (min-width: 768px) {
    
    .lvn-detail-col {
        flex: 1; /* Chia đều không gian */
        min-width: 0; /* Sửa lỗi tràn nội dung của flexbox */
    }
}

/* --- Yêu cầu 2: Giao diện khối chấm điểm theo chủ đề --- */
.lvn-full-width {
    grid-column: 1 / -1; /* Trải dài toàn bộ chiều rộng nếu dùng grid */
}

.thematic-scoring .score-item {
    display: grid;
    grid-template-columns: 100px 1fr 60px 80px; /* Nhãn | Thanh điểm | Điểm số | Đánh giá */
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.score-label {
    font-weight: bold;
    text-align: right;
}

.score-bar-container {
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.score-bar {
    height: 100%;
    border-radius: 6px;
    background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    transition: width 0.5s ease-in-out;
}

/* Dải màu cho thanh điểm */
.score-bar[style*="width: 0%"], .score-bar[style*="width: 1%"], /* ... và các % thấp khác */
.score-bar[style*="width: 3"] { background-color: #dc3545; } /* Rất Xấu / Xấu (0-45) */
.score-bar[style*="width: 4"] { background-color: #dc3545; }
.score-bar[style*="width: 5"] { background-color: #ffc107; } /* Trung Bình (46-69) */
.score-bar[style*="width: 6"] { background-color: #ffc107; }
.score-bar[style*="width: 7"] { background-color: #28a745; } /* Tốt / Rất Tốt (70-100) */
.score-bar[style*="width: 8"] { background-color: #28a745; }
.score-bar[style*="width: 9"] { background-color: #28a745; }
.score-bar[style*="width: 100"] { background-color: #28a745; }


.score-value {
    font-weight: bold;
}

.score-desc {
    text-align: center;
}

/* Responsive cho khối chấm điểm */
@media (max-width: 600px) {
    .thematic-scoring .score-item {
        grid-template-columns: 80px 1fr 70px; /* Ẩn điểm số, chỉ giữ lại thanh và đánh giá */
        grid-template-areas: 
            "label bar desc"
            "label value desc";
        gap: 5px 10px;
        align-items: center;
    }
    .lvn-detail-grid{
        text-align: left !important;
    }
    .score-label { grid-area: label; text-align: left;}
    .score-bar-container { grid-area: bar; }
    .score-value { grid-area: value; font-size: 12px; color: #6c757d; }
    .score-desc { grid-area: desc; }
}
/* --- Cân bằng cột & Giao diện khối chấm điểm --- */
@media (min-width: 768px) {
    .lvn-detail-col { flex: 1; min-width: 0; }

}
.lvn-full-width { flex-basis: 100%; }
.thematic-scoring .score-item { display: grid; grid-template-columns: 120px 1fr 60px 80px; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.score-label { font-weight: bold; text-align: right; }
.score-bar-container { height: 12px; background-color: #e9ecef; border-radius: 6px; overflow: hidden; }
.score-bar { height: 100%; border-radius: 6px; transition: width 0.5s ease-in-out; background-color: #ffc107; }
.score-bar[style*="width: 0%"],.score-bar[style*="width: 1%"],.score-bar[style*="width: 2%"],.score-bar[style*="width: 3%"],.score-bar[style*="width: 4%"] { background-color: #dc3545; }
.score-bar[style*="width: 7%"],.score-bar[style*="width: 8%"],.score-bar[style*="width: 9%"],.score-bar[style*="width: 100"] { background-color: #28a745; }
.score-value { font-weight: bold; }
.score-desc { text-align: center; }
@media (max-width: 600px) {
    .thematic-scoring .score-item { grid-template-columns: 90px 1fr 70px; grid-template-areas: "label bar desc" "label value desc"; gap: 5px 10px; }
    .score-label { grid-area: label; text-align: left;} .score-bar-container { grid-area: bar; } .score-value { grid-area: value; font-size: 12px; color: #6c757d; } .score-desc { grid-area: desc; }
}

/* --- CSS CHO XEM SIM PHONG THỦY --- */


/* Các màu sắc chung */
.color-red-bold { color: red; font-weight: 700; }
.color-blue-bold { color: #0073aa; font-weight: 700; }

/* Bố cục chính */
.xemPT-simso .content-main-simso {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.xemPT-simso .content-menhchu,
.xemPT-simso .content-simso {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #e9e9e9;
    background: #fff;
    border-radius: 4px;
}

/* Tiêu đề các mục */
.xemPT-simso .title-block-bground {
    background: #00416f;
    color: white;
    border-radius: 10px 10px 0 0;
}

.xemPT-simso .title-block-bground h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

/* Lưới hiển thị các con số của sim */
.row-group-number {
    display: flex;
    width: 100%;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    text-align: center;
}
.col-sim-10 {
    width: 10%;
    padding: 8px 0;
    border-left: 1px solid #ccc;
    background-color: #fff;
}
.col-sim-10:first-child {
    border-left: none;
}

/* Bảng Kinh Dịch */
.table-kinhdich {
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    border: none;
}
.table-kinhdich td {
    vertical-align: middle;
    padding: 10px;
}

/* Hộp điểm đánh giá */
.diem_danh_gia, .diem_danh_gia2 {
    padding: 15px;
    text-align: center;
    position: relative;
    background-color: #fafffa;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 2px solid #28326b;
    margin: 10px 100px;
    border-radius: 10px 10px 0 0;
}

.diem_danh_gia p, .diem_danh_gia2 p {
    margin: 0;
    font-size: 18px;
}
.font-on-top{
    font-size: 16px !important;
    color: #ffffff  !important;
    text-align: center;
    font-weight: bold;
    margin: -33px 0 0 0;
    padding: 8px 15px;
    background: #1b3a6d;
    border-radius: 8px 8px 0 0;
    z-index: 9;
}
.diem_danh_gia p{
    text-align: center !important;
    font-size: 18px;
    margin: 15px 0;
    border-radius: 10px;
    width: fit-content;
    padding: 5px 15px;
    background: #f6c05d !important;
}
.diem_danh_gia2 p{
    text-align: center !important;
    font-size: 24px;
    margin: 15px 0;
    color: #494747;
    font-weight: 700;
    border-radius: 10px;
    width: fit-content;
    padding: 5px 15px;
    background: #f6c05d !important;
}
/* ==========================================================================
   CHUẨN HÓA MÀU SẮC NGŨ HÀNH V3.0 (Bản cuối)
   ========================================================================== */


/* 2. MÀU NỀN VÀ CHỮ TRONG LƯỚI SỐ SIM */
.color-moc{
    color: #03db7a;
    background: #443434;
  }
  .color-thuy{
    color: #244783;
    background: #e9e9e9;
  }
  .color-hoa{
    color: #ff0000;
    background: #443434;
  }
  .color-tho{
    color: #ffd803;
    background: #443434;
  }
  .color-kim ,.color-moc,.color-thuy,.color-hoa,.color-tho{
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 8px;
  }
  .color-kim{
    color: #ffffff;
    background: #443434;
  }
/* Style màu nền riêng cho từng mệnh */
.xemPT-simso .row-group-number .col-sim-10 .color-kim  { background-color: #443434; color: #adadad;font-weight: bold;}
.xemPT-simso .row-group-number .col-sim-10 .color-moc  { background-color: #443434;  color: #03db7a;font-weight: bold;}
.xemPT-simso .row-group-number .col-sim-10 .color-thuy { background-color: #e9e9e9;  color: #012563;font-weight: bold;}
.xemPT-simso .row-group-number .col-sim-10 .color-hoa  { background-color: #443434; color: #ff0000 !important;font-weight: bold;}
.xemPT-simso .row-group-number .col-sim-10 .color-tho  { background-color: #443434; color: #ffd803;font-weight: bold;}
/* Màu sắc Ngũ Hành */

img.kinh-dich-hinh-que{
max-width: 100%;
}


/* ==========================================================================
   GIAO DIỆN LỊCH V3.0 - DỰA TRÊN ẢNH MẪU
   ========================================================================== */
body {
    background-color: #f0f2f5; /* Màu nền xám nhạt cho đẹp hơn */
}

.lvn-widget-new {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 25px auto;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lvn-main-title {
    background-color: #004a43;
    color: white;
    padding: 12px;
    margin: 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.lvn-body-content {
    padding: 15px;
}

/* --- Lưới Âm / Dương Lịch --- */
.lvn-dates-grid {
    display: flex;
    gap: 15px; /* Khoảng cách giữa 2 cột */
    margin-bottom: 20px;
}

.lvn-date-col-new {
    flex: 1; /* Chia 2 cột đều nhau */
    border: 1px solid #e0e0e0;
    text-align: center;
}

.lvn-col-header {
    background-color: #f5f5f5;
    padding: 8px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.lvn-col-content {
    padding: 15px;
    line-height: 1.6;
}

.lvn-col-content p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.lvn-day-num {
    font-size: 60px;
    font-weight: bold;
    margin: 10px 0;
}

.lvn-day-num.solar { color: #d90429; } /* Màu đỏ */
.lvn-day-num.lunar { color: #2a9d8f; } /* Màu xanh lá */

.lvn-quality-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 5px;
}
/* --- CSS cho màu sắc Tốt/Xấu của Lịch Vạn Niên (có tiền tố lvn-) --- */

/* --- CSS CHO MÀU SẮC TỐT/XẤU (PHIÊN BẢN TĂNG ĐỘ ƯU TIÊN) --- */

/* Bằng cách thêm .lvn-details-page, chúng ta làm cho quy tắc mạnh hơn */
.lvn-details-page .lvn-text-good {
    color: #dc3545 !important; /* Màu đỏ cho mục Tốt */
    font-weight: bold !important;
}

.lvn-details-page .lvn-text-bad {
    color: #007bff !important; /* Màu xanh dương cho mục Xấu */
    font-weight: bold !important;
}

.lvn-details-page .lvn-text-neutral {
    font-weight: bold !important;
}

/* Áp dụng riêng cho các mục không nằm trong .lvn-details-page nếu cần */
.lvn-text-good {
    color: #dc3545 !important;
    font-weight: bold !important;
}
.lvn-text-bad {
    color: #007bff !important;
    font-weight: bold !important;
}
.lvn-tag-good { background-color: #d90429; } /* Thẻ Tốt màu đỏ */
.lvn-tag-bad { background-color: #6c757d; } /* Thẻ Xấu màu xám */

/* --- Lưới các khung giờ --- */
.lvn-hours-section-new {
    margin-bottom: 15px;
}

.lvn-hours-title {
    background-color: #f5f5f5;
    padding: 10px;
    margin: 0;
    font-size: 16px;
    border: 1px solid #e0e0e0;
}

.lvn-hours-grid {
    display: grid;
    /* Mặc định 3 cột trên màn hình lớn */
    grid-template-columns: repeat(3, 1fr); 
    border: 1px solid #e0e0e0;
    border-top: none;
}

.lvn-hour-item {
    padding: 12px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}
/* Loại bỏ đường viền trái cho item đầu tiên mỗi hàng */
.lvn-hours-grid .lvn-hour-item:nth-child(3n + 1) {
    border-left: none;
}


/* --- CSS CHO ĐIỆN THOẠI (RESPONSIVE) --- */
@media (max-width: 768px) {
    .lvn-widget-new {
        margin: 0px;
    }
    .lvn-date-col-new {
        border: none;
    }
    .lvn-body-content {
        padding: 0px;
        border: none;
    }

    /* Chuyển 2 cột Âm/Dương thành xếp chồng */
    .lvn-dates-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Chuyển lưới giờ thành 2 cột cho gọn */
    .lvn-hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Bỏ và đặt lại viền cho phù hợp 2 cột */
    .lvn-hours-grid .lvn-hour-item:nth-child(3n + 1) {
        border-left: 1px solid #e0e0e0;
    }
    .lvn-hours-grid .lvn-hour-item:nth-child(2n + 1) {
        border-left: none;
    }
    .calendar-day, .lvn-calendar-wrapper {
    border: none;
    padding: 15px 0;
    box-shadow: none;
}
}
/* ==========================================================================
   CẬP NHẬT CSS NGÀY 09/08/2025
   ========================================================================== */

/* 1. CSS cho chữ "Thứ Bảy" to, đậm và có màu */
.lvn-weekday-display {
    font-size: 32px !important;  /* To hơn */
    font-weight: 700 !important; /* Đậm */
    margin-top: -20px;
}

.lvn-weekday-display.weekday-normal {
    color: #007bff; /* Màu xanh cho ngày thường */
}

.lvn-weekday-display.weekday-holiday {
    color: #dc3545; /* Màu đỏ cho ngày lễ */
}


/* 2. CSS cho chữ trong khung giờ nhỏ và nghiêng */
.lvn-hour-item {
    font-size: 13px;  /* Nhỏ hơn */
    font-style: italic; /* In nghiêng */
}
/* ==========================================================================
   BỔ SUNG CSS CHO KHỐI DANH NGÔN
   ========================================================================== */
.lvn-quote-section {
    text-align: center;
    padding: 15px;
    margin-top: 15px;      /* Tạo khoảng cách với khối lịch ở trên */
    margin-bottom: 20px;   /* Tạo khoảng cách với khối giờ ở dưới */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.lvn-quote-text {
    margin: 0;
    font-size: 15px;
    color: #333;
    font-style: italic;
    line-height: 1.6;
}

.lvn-quote-author {
    display: block; /* Cho tên tác giả xuống dòng */
    margin-top: 10px;
    font-weight: bold;
    font-style: normal;
    color: #555;
}
/* CSS CHO THÔNG BÁO NGÀY MÙNG 1, RẰM */
.lvn-lunar-special-day {
    color: #c00; /* Màu đỏ nổi bật */
    margin-top: 10px;
    font-size: 15px;
    margin: 0;
    font-style: italic !important; /* Đảm bảo chữ không bị nghiêng */
}
/* CSS CHO MÀU SẮC TÊN NGÀY TỐT/XẤU */
.lvn-day-name-good {
    color: #d90429; /* Màu đỏ cho ngày tốt */
    font-weight: bold;
}

.lvn-day-name-bad {
    color: #007bff; /* Màu xanh cho ngày xấu */
    font-weight: bold;
}
.lvn-quote-section p{
    margin: 0 !important;
}
