/* ========================================================
   LỊCH VẠN NIÊN - PHONG CÁCH CỔ ĐIỂN, TỐI GIẢN (CLASSIC BLOC)
   ======================================================== */

.lvn-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #24302b;
    box-sizing: border-box;
}

.lvn-container * {
    box-sizing: border-box;
}

/* THANH CHUYỂN NGÀY */
.lvn-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e4e9e3;
    padding: 10px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.lvn-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e4e9e3;
    background: #ffffff;
    color: #123b32;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lvn-nav-btn:hover {
    background: #123b32;
    color: #ffffff;
    border-color: #123b32;
}

.lvn-date-picker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e4e9e3;
    border-radius: 10px;
    padding: 7px 16px;
}

.lvn-calendar-icon {
    font-size: 16px;
}

.lvn-date-input {
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #123b32;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.lvn-today-btn {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #123b32;
    background: #123b32;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lvn-today-btn:hover {
    background: #1d5b49;
}

/* LƯỚI BỐ CỤC 2 CỘT */
.lvn-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 22px;
    align-items: stretch;
}

/* CỘT TRÁI: TỜ LỊCH BLOC */
.lvn-col-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lvn-tear-sheet {
    background: #ffffff;
    border: 1px solid #e4e9e3;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
}

.lvn-full-date {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #55625b;
    border-bottom: 1px solid #edf1ed;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.lvn-solar-number-wrap {
    margin: 8px 0 12px;
    position: relative;
}

.lvn-solar-sublabel {
    display: block;
    font-size: 10.5px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #8b9991;
    text-transform: uppercase;
}

.lvn-solar-number {
    font-size: 6.8rem;
    font-weight: 800;
    line-height: 1;
    color: #123b32;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: -2px;
}

.lvn-solar-number.red-day {
    color: #b74b42;
}

.lvn-bg-year {
    display: none;
}

.lvn-quality-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 14px;
}

.lvn-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #e2ddd3;
    background: #fbfaf6;
    color: #33403a;
}

.lvn-badge.good {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.lvn-badge.bad {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

/* THẺ ÂM LỊCH */
.lvn-lunar-banner {
    background: #ffffff;
    border: 1px solid #e4e9e3;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.lvn-lunar-left {
    display: flex;
    flex-direction: column;
}

.lvn-lunar-tag {
    font-size: 11px;
    font-weight: 800;
    color: #8c6418;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lvn-lunar-big {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-top: 2px;
}

.lvn-lunar-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #123b32;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1;
}

.lvn-lunar-slash {
    font-size: 1.4rem;
    color: #a0aba4;
}

.lvn-lunar-month {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8c6418;
}

.lvn-lunar-right {
    text-align: right;
    font-size: 12.5px;
}

.lvn-canchi-text {
    font-weight: 700;
    color: #123b32;
    text-transform: uppercase;
}

.lvn-tietkhi-text {
    color: #68766f;
    margin-top: 2px;
}

.lvn-quote-box {
    background: #ffffff;
    border: 1px solid #e4e9e3;
    border-radius: 14px;
    padding: 14px 18px;
    font-style: italic;
    font-size: 13px;
    color: #55625b;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.lvn-quote-icon {
    display: none;
}

/* CỘT PHẢI: CHI TIẾT CÁT HUNG */
.lvn-col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lvn-card {
    background: #ffffff;
    border: 1px solid #e4e9e3;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.lvn-card-title {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    color: #123b32;
    border-bottom: 1px solid #edf1ed;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lvn-card-title.text-success { color: #166534; }
.lvn-card-title.text-danger { color: #991b1b; }
.lvn-card-title.text-hoangdao { color: #854d0e; }
.lvn-card-title.text-hacdao { color: #475569; }

/* HƯỚNG XUẤT HÀNH */
.lvn-card-direction {
    background: #ffffff;
    border: 1px solid #e4e9e3;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.lvn-direction-text {
    font-size: 14px;
    font-weight: 600;
    color: #123b32;
}

/* VIỆC NÊN LÀM & TRÁNH */
.lvn-todo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lvn-card-todo {
    border: 1px solid #e4e9e3;
}

.lvn-card-notodo {
    border: 1px solid #e4e9e3;
}

.lvn-tag-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lvn-chip {
    font-size: 13.5px;
    color: #2d3b34;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lvn-chip::before {
    content: "•";
    color: #123b32;
    font-weight: bold;
    font-size: 16px;
}

.lvn-chip-todo {
    background: transparent;
    border: none;
    padding: 0;
}

.lvn-chip-notodo {
    background: transparent;
    border: none;
    padding: 0;
}

/* GIỜ HOÀNG ĐẠO & HẮC ĐẠO */
.lvn-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lvn-card-hoangdao {
    border: 1px solid #e4e9e3;
}

.lvn-card-hacdao {
    border: 1px solid #e4e9e3;
}

.lvn-hours-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
}

.lvn-hour-item {
    font-size: 12.5px;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dashed #f0ece3;
}

.lvn-hour-item.hoangdao {
    color: #123b32;
    font-weight: 600;
}

.lvn-hour-item.hacdao {
    color: #64748b;
}

.lvn-holiday-badge {
    display: inline-block;
    background: #fef2f2;
    color: #b74b42;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    border: 1px solid #fecaca;
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .lvn-grid {
        grid-template-columns: 1fr;
    }
    .lvn-col-left {
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .lvn-todo-grid,
    .lvn-hours-grid {
        grid-template-columns: 1fr;
    }
    .lvn-solar-number {
        font-size: 5.5rem;
    }
}