/* Styles for Lịch Tiết Khí Shortcode */

.lvn-lichtietkhi-wrapper {
    background: transparent;
    border: 1px solid #8d82636b;
    overflow: hidden;
    border-radius: 8px;
}

.lvn-lichtietkhi-wrapper .lvn-month-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.lvn-lichtietkhi-wrapper .lvn-month-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap !important;
    width: 100%;
}

.lvn-lichtietkhi-wrapper .lvn-current-time-display {
    font-family: inherit;
    margin: 0 !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.lvn-lichtietkhi-wrapper .text-tiet-khi {
    color: #8d8263;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lvn-lichtietkhi-wrapper .text-year {
    color: #764ba2;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.lvn-lichtietkhi-wrapper .lvn-btn-nav {
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.lvn-lichtietkhi-wrapper .lvn-btn-nav:hover {
    background: rgba(0,0,0,0.05);
    transform: scale(1.1);
}

/* Grid System */
.lvn-tk-header {
    display: grid;
    grid-template-columns: 50px 150px 200px 150px 1fr;
    background: rgba(0,0,0,0.04);
    padding: 12px 15px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.lvn-tk-item {
    display: grid;
    grid-template-columns: 50px 150px 200px 150px 1fr;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    align-items: center;
    transition: background 0.2s;
}

.lvn-tk-item:hover {
    background: rgba(0,0,0,0.01);
}

.lvn-today-item {
    background-color: rgba(240, 208, 128, 0.12) !important;
    border-left: 3px solid #764ba2;
}

/* Component Styles */
.tk-col.name .tk-title {
    color: #8d8263;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
}

.tk-col.name .tk-type {
    font-size: 10px;
    opacity: 0.6;
    font-style: italic;
}

.lvn-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lvn-time svg {
    width: 12px;
    height: 12px;
}

.tk-col.desc {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .lvn-tk-header, .lvn-tk-item {
        grid-template-columns: 50px 130px 180px 130px 1fr;
    }
}

@media (max-width: 768px) {
    .lvn-tk-header {
        display: none;
    }
    .lvn-tk-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 15px;
    }
    .tk-col {
        width: 100% !important;
    }
    .tk-col.name {
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px dashed rgba(0,0,0,0.1);
        padding-bottom: 8px;
    }
    .stt-mobile {
        font-weight: 800;
        color: #764ba2;
    }
    .lvn-label-mobile {
        font-size: 11px;
        font-weight: 700;
        opacity: 0.5;
        text-transform: uppercase;
        margin-bottom: 2px;
    }
    .tk-col.desc {
        background: rgba(0,0,0,0.02);
        padding: 10px;
        border-radius: 4px;
        font-style: italic;
    }
}
