/** Chung **/
.bg-hoangdao {
    background-color: #e74c3c;
}
.bg-daicat {
    background-color: #27ae60;
}
.bg-hacdao {
    background-color: #000000;
}
.bg-tamnuong {
    background-color: #500071;
}
.bg-nguyetky {
    background-color: #074f6b;
}
.bg-tuongkhac {
	background-color: #d03023;
}
.bg-tuongsinh {
	background-color: #0e750d;
}
.bg-tuonghop {
	background-color: #0d7570;
}
.score {
    font-weight: bold;
    text-align: center;
}
.score-positive {
    color: #27ae60;
}
.score-negative {
    color: #e74c3c;
}
.lichlhkn-author-api-default {
    font-size: 11px;
    text-align: center;
    color: #bdbdbd;
    margin-top: 15px;
}
.lichlhkn-error-api {
	color: red;
  	text-align: center;
}
/** lichlhkn **/
.lichlhkn-ajax-widget * {
    box-sizing: border-box;
}
.lichlhkn-ajax-widget-default {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    margin: 0 auto 30px auto;
    position: relative;
}
.lichlhkn-ajax-widget {
    max-width: 800px;
}
.lichlhkn-ajax-widget-title,
.lichngaytot-title,
.lichngayxau-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #d32f2f;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 8px;
    text-align: center !important;
    font-size: 17px !important;
    font-weight:700;
    letter-spacing:0.5px;
}
.lichlhkn-form-box-main {
    text-align: center;
}
.lichlhkn-form-box {
    margin-bottom: 15px;
    background: #fffafa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f2e8e8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: balance;
}
.lichlhkn-ajax-widget .lichlhkn_input_date {
    padding: 6px 10px;
    font-size: 14px;
    color: #d32f2f;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: auto;
    height: auto;
}
.lichlhkn-ajax-widget .lichlhkn_btn_today,
.lichlhkn-ajax-widget .lichlhkn_btn_prev,
.lichlhkn-ajax-widget .lichlhkn_btn_next,
.lichngaytot-btn-current,
.lichngayxau-btn-current {
    background-color: #d32f2f;
    color: white;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}
.lichlhkn-ajax-widget .lichlhkn_btn_prev,
.lichlhkn-ajax-widget .lichlhkn_btn_next {
    font-weight: bold;
    font-size: 20px;
    padding: 2px 14px;
    background-color: #aaa;
}
.lichlhkn-ajax-widget .lichlhkn_btn_today:hover {
    background-color: #a91717;
}
.lichlhkn-ajax-widget .lichlhkn_btn_prev:hover,
.lichlhkn-ajax-widget .lichlhkn_btn_next:hover {
    background-color: #757575;
}
.lichlhkn-ajax-widget-tags,
.lichlhkn-ajax-widget-sinhkhac {
    padding:2px 6px;
    border-radius:3px;
    color: #fff;
    font-size:11px;
    font-weight:600;
    margin-left:6px;
    display:inline-block;
    vertical-align:middle;
}
.lichlhkn-ajax-widget-sinhkhac {
	opacity: 0.6;
}
.lichlhkn-ajax-widget *:disabled {
     opacity: 0.6;
     cursor: not-allowed;
}
.lichlhkn_result_container {
    position: relative;
    min-height: 120px;
}
.lichlhkn-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d32f2f;
    border-radius: 50%;
    animation: lichlhkn_spin 0.8s linear infinite;
    z-index: 10;
}
.lichlhkn-solar-date {
    text-align:center;
    margin-bottom:15px;
    border-bottom:1px dashed #eee;
    padding-bottom:12px;
}
.lichlhkn-solar-date-sub {
    font-size: 12px;
    color:#757575;
    font-weight:600;
    text-transform: uppercase;
    letter-spacing:0.5px;
}
.lichlhkn-solar-date-title {
    font-size: 22px !important;
    color: #5c88c5;
    margin: 0;
    display: inline-block;
    margin-top: 4px;
    font-weight: bold;
}
.lichlhkn-solar-date.saturday .lichlhkn-solar-date-title {
    color: #d39a2f;
}
.lichlhkn-solar-date.sunday .lichlhkn-solar-date-title {
    color: #d32f2f;
}
.lichlhkn-solar-date-title-highlight,
.lichlhkn-lunar-date-title-highlight {
    font-weight: 800;
}
.lichlhkn-solar-date-today {
    color: #d32f2f;
    font-size: 12px;
    font-weight: 600;
}
.lichlhkn-solar-event,
.lichlhkn-lunar-event {
    font-style: italic;
    color: #ea4335;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 5px;
}
.lichlhkn-ajax-default,
.lichlhkn-lunar-date {
    background: #f4f9f4;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #388e3c;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: left;
}
.lichlhkn-lunar-date-head {
    text-align:center;
    margin-bottom:8px;
}
.lichlhkn-lunar-date-sub {
    font-size: 12px;
    color:#757575;
    font-weight:600;
    text-transform: uppercase;
    letter-spacing:0.5px;
    margin-bottom: 5px;
}
.lichlhkn-lunar-date-title {
    font-size: 19px !important;
    color: #388e3c;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}
.lichlhkn-lunar-date-leap-lunar {
    color:#d32f2f;
    font-size:12px;
    font-weight:bold;
}
.lichlhkn-lunar-battu {
    color: #388e3c;
    font-weight: 600;
}
.lichlhkn-lunar-luangiai {
    color: #798107;
    font-weight: 600;
}
.lichlhkn-lunar-nhithapbattu {
    color: #35a6ea;
    font-weight: 600;
}
.lichlhkn-lunar-trucngay {
    color: #4057b3;
    font-weight: 600;
}
.lichlhkn-lunar-content {
    color:#333;
    line-height: 1.6;
    border-top:1px solid #e2ebe2;
    padding-top:6px;
    margin-top:6px;
    text-align: left;
}
.lichlhkn-lunar-content > div,
.lichlhkn-ajax-ghichu > div,
.lichlhkn-ajax-khac > div {
    margin-bottom: 3px;
}
.lichlhkn-ajax-ghichu {
    background: #f0f0f0;
    border-left-color: #1e1e1e;
    color: #000a33;
}
.lichlhkn-ajax-giohoangdao {
    background: #fff4f7;
    border-left-color: #ff4678;
}
.lichlhkn-ajax-khac {
    background: #fff8ea;
    border-left-color: #f39c12;
}
.lichlhkn-ajax-giohoangdao-title {
    font-size: 12px;
    color: #ff4678;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.lichlhkn-ajax-giohoangdao-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 12px;
    color:#444;
}
.lichlhkn-ajax-giohoangdao-col-sub {
    padding: 2px 0;
}
.lichlhkn-ajax-giohoangdao-empty {
    font-size:12px;
    color:#999;
}
.lichlhkn-author-api {
}
@keyframes lichlhkn_spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/** lichngaytot **/
.lichngaytot-tracuu {
}
.lichngaytot-title {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
.lichngaytot-title-ketqua {
    font-size: 17px !important;
}
.lichngaytot-filter-box-main {
    text-align: center;
}
.lichngaytot-filter-box {
    margin-bottom: 20px;
    background: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #d4e0ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: balance;
}
.lichngaytot-filter-box select {
    padding: 8px 12px;
    font-size: 14px;
    color: #007bff;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: auto;
}
.lichngaytot-btn-current {
    background-color: #007bff;
    color: white;
}
.lichngaytot-btn-current-text {
	color: #007bff;
}
.lichngaytot-tracuu *:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.lichngaytot-btn-current:hover {
    background-color: #0d5caf;
}
.lichngaytot-table-main {
    overflow: auto;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
}
.lichngaytot-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 13px;
    color: initial;
}
.lichngaytot-table th,
.lichngaytot-table td {
    border: 1px solid #e4ceae;
    padding: 6px;
}
.lichngaytot-table th {
    background-color: #fffaf0;
    color: #757575;
    text-align: center;
}
.lichngaytot-table strong {
    font-weight: 600;
}
.lichngaytot-text-center {
    text-align: center;
}
.lichngaytot-tag {
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}
.lichngaytot-loading-ketqua {
    display: none;
    color: #ea4335;
    text-align: center;
    margin-top: 10px;
}
.lichngaytot-author-api {
}
/** lichngayxau **/
.lichngayxau-tracuu {
}
.lichngayxau-title {
    color: #500071;
    border-bottom: 2px solid #500071;
}
.lichngayxau-title-ketqua {
    font-size: 17px !important;
}
.lichngayxau-filter-box-main {
    text-align: center;
}
.lichngayxau-filter-box {
    margin-bottom: 20px;
    background: #f9eaff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddc6e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: balance;
}
.lichngayxau-filter-box select {
    padding: 8px 12px;
    font-size: 14px;
    color: #77169f;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: auto;
}
.lichngayxau-btn-current {
    background-color: #77169f;
    color: white;
}
.lichngayxau-btn-current-text {
    color: #77169f;
}
.lichngayxau-tracuu *:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.lichngayxau-btn-current:hover {
    background-color: #340647;
}
.lichngayxau-table-main {
    overflow: auto;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
}
.lichngayxau-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 13px;
    color: initial;
}
.lichngayxau-table th,
.lichngayxau-table td {
    border: 1px solid #e4ceae;
    padding: 6px;
}
.lichngayxau-table th {
    background-color: #fffaf0;
    color: #757575;
    text-align: center;
}
.lichngayxau-table strong {
    font-weight: 600;
}
.lichngayxau-text-center {
    text-align: center;
}
.lichngayxau-tag {
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}
.lichngayxau-tracuu .score {
    font-weight: bold;
    text-align: center;
}
.lichngayxau-tracuu .score-positive {
    color: #ff9104;
}
.lichngayxau-tracuu .score-negative {
    color: #e74c3c;
}
.lichngayxau-loading-ketqua {
    display: none;
    color: #ea4335;
    text-align: center;
    margin-top: 10px;
}
.lichngayxau-author-api {
}