/* =========================================================
   LỊCH CÔNG TÁC - Trang chi tiết (single-lich_cong_tac.php)
   ========================================================= */

.lct-single {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 24px;
}

.lct-single__header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
}

.lct-single__heading {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #1e293b;
    text-transform: uppercase;
}

.lct-single__body {
    padding: 16px 20px 20px;
}

/* ---------- Bảng thông tin (4 cột: nhãn | giá trị | nhãn | giá trị) ---------- */
.lct-info {
    display: grid;
    grid-template-columns: 160px 1fr 160px 1fr;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.55;
}

.lct-info__label,
.lct-info__value {
    padding: 9px 12px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    word-break: break-word;
}

.lct-info__label {
    background: #ecfdf5;
    color: #065f46;
    font-weight: 600;
}

.lct-info__value {
    background: #ffffff;
    color: #334155;
}

.lct-info__value--wide {
    grid-column: span 3;
}

.lct-info__value--title {
    color: #008751;
    font-weight: 700;
    text-transform: uppercase;
}

.lct-info__file {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    color: #008751;
    text-decoration: none;
}

.lct-info__file:hover {
    color: #059669;
    text-decoration: underline;
}

.lct-info__file .material-icons {
    font-size: 17px;
    margin-top: 2px;
}

/* ---------- Xem chi tiết toàn văn ---------- */
.lct-fulltext {
    margin-top: 0;
}

.lct-fulltext__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #008751;
    color: #ffffff;
    padding: 11px 16px;
}

.lct-fulltext__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
}

.lct-fulltext__title .material-icons {
    font-size: 20px;
}

.lct-fulltext__download {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.lct-fulltext__download:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
}

.lct-fulltext__download .material-icons {
    font-size: 18px;
}

.lct-fulltext__viewer {
    border: 1px solid #e2e8f0;
    border-top: 0;
    padding: 12px;
    background: #f8fafc;
}

.lct-fulltext__viewer iframe {
    display: block;
    width: 100%;
    height: 900px;
    max-height: 85vh;
    border: 0;
    background: #525659;
}

.lct-fulltext__content {
    border: 1px solid #e2e8f0;
    border-top: 0;
    padding: 16px;
}

.lct-fulltext__empty {
    border: 1px solid #e2e8f0;
    border-top: 0;
    margin: 0;
    padding: 16px;
    color: #64748b;
    font-style: italic;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .lct-single__body {
        padding: 12px;
    }

    .lct-info {
        grid-template-columns: 120px 1fr;
    }

    .lct-info__value--wide {
        grid-column: span 1;
    }

    .lct-fulltext__viewer {
        padding: 6px;
    }

    .lct-fulltext__viewer iframe {
        height: 70vh;
    }
}

