/* Department Meetings - Frontend Styles */

.dmt-wrap { max-width: 1000px; margin: 20px auto; }

.dmt-live-banner {
    background: linear-gradient(90deg, #ffebee, #fff3e0);
    border-left: 4px solid #c00;
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    animation: dmtPulse 2s infinite;
}
.dmt-live-banner a { margin-left: 10px; color: #c00; font-weight: 600; }
@keyframes dmtPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.3); }
    50%      { box-shadow: 0 0 0 6px rgba(204,0,0,0); }
}

.dmt-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid #e3e3e3;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.dmt-tab {
    padding: 12px 18px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
}
.dmt-tab:hover { color: #2271b1; }
.dmt-tab.active { color: #2271b1; border-bottom-color: #2271b1; }

.dmt-empty {
    padding: 50px 20px;
    text-align: center;
    color: #888;
    background: #fafafa;
    border-radius: 8px;
    font-size: 15px;
}

.dmt-meetings { display: grid; gap: 20px; }

.dmt-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow .15s, transform .15s;
}
.dmt-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.dmt-card-live {
    border-left: 5px solid #c00;
    background: linear-gradient(90deg, #fff5f5 0%, #ffffff 15%);
}
.dmt-card-upcoming { border-left: 5px solid #2271b1; }
.dmt-card-past { border-left: 5px solid #999; opacity: 0.92; }

.dmt-thumb { flex: 0 0 200px; }
.dmt-thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.dmt-body { flex: 1; min-width: 0; }

.dmt-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.dmt-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    border-radius: 4px;
}
.dmt-badge-live {
    background: #c00;
    color: #fff;
    animation: dmtBlink 1.5s infinite;
}
@keyframes dmtBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.65; }
}
.dmt-badge-upcoming { background: #e3f2fd; color: #0d47a1; }
.dmt-badge-past { background: #eee; color: #666; }
.dmt-badge-platform { background: #fff3e0; color: #e65100; }

.dmt-title { margin: 6px 0 10px 0; font-size: 21px; color: #1a1a1a; line-height: 1.3; }
.dmt-speaker { font-size: 14px; color: #444; margin-bottom: 10px; font-weight: 500; }
.dmt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}
.dmt-content { font-size: 14px; line-height: 1.6; color: #333; margin-bottom: 14px; }
.dmt-content p { margin: 0 0 8px; }

.dmt-credentials {
    background: #f7f9fc;
    border: 1px dashed #c8d4e0;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #333;
    font-family: monospace;
}
.dmt-credentials div { margin: 2px 0; }

.dmt-actions { margin-top: 10px; }
.dmt-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
}
.dmt-btn-live {
    background: #c00;
    color: #fff;
    box-shadow: 0 3px 10px rgba(204,0,0,0.25);
    animation: dmtPulse 2s infinite;
}
.dmt-btn-live:hover { background: #a00; color: #fff; transform: translateY(-1px); }
.dmt-btn-recording { background: #2271b1; color: #fff; }
.dmt-btn-recording:hover { background: #185a8f; color: #fff; }
.dmt-btn-disabled { background: #e8e8e8; color: #888; cursor: not-allowed; }
.dmt-note { font-size: 12px; color: #888; margin-top: 6px; }

.dmt-pagination { margin-top: 24px; text-align: center; }
.dmt-pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.dmt-pagination a.current { background: #2271b1; color: #fff; border-color: #2271b1; }

@media (max-width: 680px) {
    .dmt-card { flex-direction: column; }
    .dmt-thumb { flex: 0 0 auto; }
    .dmt-thumb img { height: 180px; }
    .dmt-btn { width: 100%; text-align: center; }
}
