.calendar-top {
  margin-bottom: 8px;
}
.top-month {
  text-align: center;
  font-weight: 700;
  margin-bottom: 6px;
}
.top-day {
  text-align: center;
  font-weight: 800;
  font-size: 88px;
  margin: 6px 0;
}
.top-weekday {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: #444;
}
.lunar-info {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.lunar-info .col {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fafafa;
  text-align: center;
}
.lunar-info .am-month {
  font-size: 20px;
  font-weight: 700;
}
.lunar-info .am-day {
  font-size: 48px;
  font-weight: 700;
  margin: 6px 0;
}
.lunar-info .am-year {
  color: #555;
}
.lunar-info .am-month-wrap, .lunar-info .am-day-wrap, .lunar-info .am-year-wrap {
	margin: 10px;
}
.lunar-info span.day-detail{
	font-size: 12px;
}
.calendar {
  width: 100%;
  border-collapse: collapse;
}
.calendar th,
.calendar td {
  border: 1px solid #eee;
  padding: 8px;
  vertical-align: top;
  text-align: center;
  height: 68px;
}
.calendar th {
  background: #f7f7f7;
}
.calendar-day {
  position: relative;
  cursor: pointer;
  background: #fff;
}
.calendar-day .solar {
  font-weight: 700;
  font-size: 20px;
  display: block;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  padding: 4px;
}
.calendar-day .lunar {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
}
.calendar-day.today {
  background: #e6f7ee;
}
.calendar-day.selected {
  background: #f0f0f0;
}
.calendar-day.has-event .solar {
  background: #fff3b0;
  border-radius: 50%;
  display: inline-block;
  padding: 4px;
}
.tiet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  margin: 6px auto 0;
}
.holiday-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: blue;
margin: 6px auto 0;
}

.calendar-arrow {
	display: flex;
    align-items: center;        /* căn theo chiều dọc */
    justify-content: space-between; /* 2 nút prev/next nằm 2 đầu */
    gap: 10px;                  /* khoảng cách giữa các nút */
}
.calendar-prev, .calendar-next {
	font-size: 38px;
	text-decoration: initial;
}
.add-event {
	margin: 0 auto;             /* căn giữa nút trong flex */
	width: 50%;
	height: 29px;
	color: blue;
	font-weight: bold;
	font-size: 19px;
}

.event-wrap {
    padding: 10px;
}
.event-item {
    display: flex;
    justify-content: space-between;
    padding: 6px;
    border-bottom: 1px solid #ccc;
}
.event-actions span {
    cursor: pointer;
    margin-left: 5px;
}
.event-actions span:hover {
    color: red;
}
.no-event {
    color: gray;
    font-style: italic;
}

#hour-select, #minute-select {
    appearance: none;
    overflow-y: scroll;
    height: 120px;
    border-radius: 8px;
}

.event-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-popup-box {
    width: 95%;
    height: 90%;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    overflow-y: auto;
}

.popup-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.popup-field {
    margin-bottom: 14px;
}

.popup-field label {
    display: block;
    text-align: center;
    font-weight: 600;
    margin-bottom: 6px;
}

.popup-field textarea,
.popup-field input,
.popup-field select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.time-field .time-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-select select {
    width: 90px;
    font-size: 18px;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.btn-primary,
.btn-cancel {
    padding: 14px 26px;
    font-size: 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-cancel {
    background: #ccc;
}
.rev-total {
	color: blue;
}
.rev-current {
	color: green;
}
.rev-wait {
	color: orange;
}
.app-skeleton {
    padding: 12px;
}

.skeleton-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 20px;

    display: flex;        
    align-items: center;
    justify-content: center;

    z-index: 9999;
}
.export-revenue {
    display: flex;
    justify-content: center;
}
.export-revenue a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 59px;

    background: #0d6efd;
    color: #fff;
    font-weight: 500;
    font-size: 15px;

    border-radius: 6px;
    text-decoration: none;
}

