/* ============================================================================
   EdT — Estilos Globales
   Paleta inspirada en Iglesia Bautista Reformada
   ============================================================================ */

:root {
    --primary: #002B3D;
    --primary-light: #589095;
    --primary-lighter: #e8f4f5;
    --secondary: #589095;
    --accent: #8B6914;
    --accent-light: #BF9B30;
    --accent-bg: #faf6eb;
    --success: #3d7a4a;
    --warning: #d69e2e;
    --danger: #a83232;
    --info: #589095;

    --text: #1a2e38;
    --text-light: #3d5a6b;
    --text-muted: #6b8a9b;

    --bg: #fdfcf9;
    --bg-white: #ffffff;
    --bg-warm: #f8f3ea;
    --bg-hover: #f0ebe3;

    --border: #e8e0d4;
    --border-light: #f0ebe3;

    --shadow-sm: 0 1px 2px rgba(0,43,61,0.06);
    --shadow: 0 1px 3px rgba(0,43,61,0.08), 0 1px 2px rgba(0,43,61,0.04);
    --shadow-md: 0 4px 12px rgba(0,43,61,0.08), 0 2px 4px rgba(0,43,61,0.04);
    --shadow-lg: 0 12px 24px rgba(0,43,61,0.1), 0 4px 8px rgba(0,43,61,0.06);

    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;

    --topbar-height: 60px;
    --sidebar-width: 220px;
    --sidebar-collapsed: 0px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-mono: 'Fira Code', monospace;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; }

img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--font-heading); }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border: none; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; font-family: var(--font);
    cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #003a52; color: #fff; }
.btn-secondary { background: var(--bg-warm); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8a2424; color: #fff; }
.btn-info { background: #17a2b8; color: #fff; }
.btn-info:hover { background: #138496; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #2d5e38; color: #fff; }
.btn-warning { background: #f0ad4e; color: #fff; }
.btn-warning:hover { background: #d9973b; color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #6B5010; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px 20px;
    background: #fff; color: #333; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 14px; font-weight: 500;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-google:hover { background: var(--bg-hover); box-shadow: var(--shadow); color: #333; text-decoration: none; }
.btn-google i { color: #4285f4; font-size: 18px; }
.btn-link { background: none; border: none; color: var(--primary-light); cursor: pointer; padding: 8px 0; font-size: 13px; }
.btn-link:hover { text-decoration: underline; }

/* --- Forms --- */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; margin-bottom: 6px;
    font-size: 13px; font-weight: 600; color: var(--text);
}
.form-group label i { width: 16px; text-align: center; color: var(--text-light); margin-right: 4px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 14px; font-family: var(--font);
    color: var(--text); background: var(--bg-white);
    box-sizing: border-box; height: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group select { min-height: 42px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(88,144,149,0.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* --- Alerts --- */
.alert {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; margin-bottom: 16px;
    border-radius: var(--radius); font-size: 14px;
    border-left: 4px solid;
}
.alert-success { background: #f0f9f2; border-color: var(--success); color: #276749; }
.alert-error { background: #fdf2f2; border-color: var(--danger); color: #9b2c2c; }
.alert-warning { background: #fef9ec; border-color: var(--warning); color: #975a16; }
.alert-info { background: #e8f4f5; border-color: var(--info); color: #1a5c63; }
.alert-close { background: none; border: none; font-size: 18px; cursor: pointer; color: inherit; opacity: 0.7; padding: 0 4px; }
.alert-close:hover { opacity: 1; }

/* --- Tables --- */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table th, table td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--border-light);
}
table th {
    background: var(--bg-warm); font-size: 11px;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--text-light);
}
table tr:hover td { background: var(--primary-lighter); }
table .actions { white-space: nowrap; }
table .actions .btn { margin-right: 4px; }

/* --- Cards --- */
.card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden;
    border: 1px solid rgba(232,224,212,0.5);
}
.card-header {
    padding: 16px 20px; border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: space-between;
}
.card-header h2, .card-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.card-body { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border-light); background: var(--bg-warm); }

/* --- Badges --- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
}
.badge-success { background: #d4edda; color: #276749; }
.badge-warning { background: #fff3cd; color: #975a16; }
.badge-danger { background: #f8d7da; color: #9b2c2c; }
.badge-info { background: #d0ecee; color: #1a5c63; }
.badge-gray { background: #e8e0d4; color: #4a4035; }
.badge-primary { background: var(--primary); color: #fff; }

/* --- Stats --- */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px; margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 20px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 16px;
    border: 1px solid rgba(232,224,212,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-icon {
    width: 50px; height: 50px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff;
}
.stat-icon.blue { background: linear-gradient(135deg, #002B3D, #003a52); }
.stat-icon.green { background: linear-gradient(135deg, #3d7a4a, #4a9a5a); }
.stat-icon.orange { background: linear-gradient(135deg, #8B6914, #BF9B30); }
.stat-icon.purple { background: linear-gradient(135deg, #5a3e7a, #7b52a0); }
.stat-icon.red { background: linear-gradient(135deg, #a83232, #c04040); }
.stat-info h3 { font-size: 26px; font-weight: 700; line-height: 1; color: var(--primary); }
.stat-info p { font-size: 13px; color: var(--text-light); margin-top: 4px; font-family: var(--font); }

/* --- Login Page --- */
.login-body {
    background: linear-gradient(135deg, var(--primary) 0%, #003a52 50%, var(--primary-light) 100%);
    min-height: 100vh; display: flex;
}
.login-container { display: flex; align-items: center; justify-content: center; width: 100%; padding: 20px; }
.login-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 40px; width: 100%; max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.login-header { text-align: center; margin-bottom: 24px; }
.login-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 12px; }
.login-header h1 { font-size: 22px; color: var(--primary); margin-bottom: 4px; font-family: var(--font-heading); }
.login-header p { color: var(--text-light); font-size: 14px; }
.login-divider {
    text-align: center; margin: 20px 0; position: relative;
    border-top: 1px solid var(--border);
}
.login-divider span {
    background: var(--bg-white); padding: 0 12px;
    position: relative; top: -10px; color: var(--text-muted); font-size: 13px;
}
.admin-only #login-form { display: none; }
.admin-only #login-form.visible { display: block; }
.toggle-admin { display: block; width: 100%; text-align: center; margin-bottom: 16px; }
.dev-badge {
    background: var(--accent-bg); border: 1px solid var(--accent-light); border-radius: var(--radius);
    padding: 8px 14px; margin-bottom: 16px; text-align: center;
    font-size: 12px; color: var(--accent);
}
.dev-credentials {
    margin-top: 20px; padding: 12px; background: var(--bg-warm); border-radius: var(--radius);
    font-size: 12px; color: var(--text-light);
}
.dev-credentials code { background: #e8e0d4; padding: 1px 5px; border-radius: 3px; font-size: 11px; }
.dev-credentials p { margin-bottom: 6px; }

/* --- Preview banner --- */
.preview-badge {
    background: #f8d7da; color: #9b2c2c;
    padding: 4px 12px; border-radius: 50px;
    font-size: 12px; font-weight: 600;
}

/* --- Pagination --- */
.pagination { display: flex; gap: 4px; margin-top: 20px; justify-content: center; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; color: var(--text);
}
.pagination a:hover { background: var(--bg-hover); text-decoration: none; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- Courses grid --- */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.curso-card {
    transition: box-shadow .3s cubic-bezier(0.4, 0, 0.2, 1), transform .3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}
.curso-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.curso-card .card-body { padding: 20px; }

.curso-card-img {
    width: 100%; height: 180px; object-fit: cover;
    display: block;
}
.curso-card-placeholder {
    width: 100%; height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3); font-size: 48px;
}

/* --- Page header --- */
.page-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-header h1 {
    font-size: 24px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading);
}
.page-header h1 i { color: var(--accent); }

/* --- Dashboard grids --- */
.dashboard-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.dash-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Mini chart (CSS bar chart) --- */
.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 8px; }
.chart-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.chart-bar {
    width: 100%; min-height: 4px;
    background: linear-gradient(to top, var(--primary-light), var(--primary));
    border-radius: 4px 4px 0 0; transition: height 0.4s;
}
.chart-bar-value { font-size: 11px; font-weight: 700; color: var(--primary); }
.chart-bar-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }

/* --- Empty state --- */
.empty-state {
    text-align: center; padding: 40px 20px; color: var(--text-light);
}
.empty-state i { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; color: var(--text-muted); }
.empty-state p { font-size: 15px; }

/* --- Progress bars --- */
.progress-bar-track {
    background: var(--border); border-radius: 50px; height: 8px; overflow: hidden;
}
.progress-bar-fill {
    height: 100%; border-radius: 50px; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-bar-fill.primary { background: linear-gradient(90deg, var(--primary-light), var(--primary)); }
.progress-bar-fill.success { background: linear-gradient(90deg, #4a9a5a, var(--success)); }
.progress-bar-fill.accent { background: linear-gradient(90deg, var(--accent-light), var(--accent)); }

/* --- Image upload preview --- */
.img-upload-area {
    border: 2px dashed var(--border); border-radius: var(--radius);
    padding: 24px; text-align: center; cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--bg-warm);
}
.img-upload-area:hover { border-color: var(--primary-light); background: var(--primary-lighter); }
.img-upload-area i { font-size: 32px; color: var(--text-muted); margin-bottom: 8px; }
.img-upload-area p { font-size: 13px; color: var(--text-light); }
.img-preview { max-width: 100%; border-radius: var(--radius); margin-top: 12px; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .dashboard-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .login-card { padding: 24px; margin: 10px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .user-name { display: none; }
    .brand-text { display: none; }
    .dash-two-col { grid-template-columns: 1fr; }
    .dashboard-grid-3 { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .page-header h1 { font-size: 20px; }
    table { display: block; overflow-x: auto; white-space: nowrap; }
    table th, table td { padding: 10px 12px; font-size: 13px; }

    /* Touch targets mínimo 44px */
    .btn { padding: 12px 20px; font-size: 14px; min-height: 44px; }
    .btn-sm { padding: 10px 16px; font-size: 13px; min-height: 44px; }
    .pagination a, .pagination span { min-width: 44px; height: 44px; font-size: 14px; }

    /* Inputs 16px previene zoom en iOS */
    .form-group input, .form-group select, .form-group textarea { font-size: 16px; padding: 12px 14px; }
    .form-group label { font-size: 14px; }
    .form-group select { min-height: 48px; }

    /* Breadcrumbs: compactos pero visibles */
    .topbar-breadcrumbs { font-size: 11px; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .topbar-breadcrumbs .bc-sep { margin: 0 2px; }

    /* Alertas más legibles */
    .alert { font-size: 14px; padding: 14px 16px; }
}

/* --- Module cards grid --- */
.modulos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 24px; }
.modulo-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
}
a.modulo-card { text-decoration: none; color: inherit; display: block; }
a.modulo-card:hover { text-decoration: none; color: inherit; }
.modulo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.modulo-bloqueado { opacity: .55; pointer-events: none; }
.modulo-card-img {
    width: 100%; height: 140px; object-fit: cover; display: block;
}
.modulo-card-placeholder {
    width: 100%; height: 140px;
    background: linear-gradient(135deg, #8B3A3A 0%, #C25757 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4); font-size: 36px;
}
.modulo-card-body { padding: 14px 16px; }
.modulo-card-titulo { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--text); }
.modulo-card-desc { font-size: 12px; color: var(--text-light); margin: 0 0 8px; line-height: 1.4; }
.modulo-card-stats {
    display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-bottom: 8px;
}
.modulo-card-stats i { margin-right: 3px; }
.modulo-card-progress {
    display: flex; align-items: center; gap: 8px;
}
.modulo-card-progress-bar {
    flex: 1; height: 6px; background: var(--border-light); border-radius: 4px; overflow: hidden;
}
.modulo-card-progress-bar > div {
    height: 100%; border-radius: 4px; transition: width .3s;
}
.modulo-card-progress > span {
    font-size: 11px; font-weight: 700; color: var(--text); min-width: 32px; text-align: right;
}
.modulo-card-lock {
    font-size: 11px; color: var(--text-muted); margin-top: 8px; text-align: center;
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 14px; }
    .stat-icon { width: 42px; height: 42px; font-size: 16px; }
    .stat-info h3 { font-size: 20px; }
    .stat-info p { font-size: 13px; }
    .curso-card-img, .curso-card-placeholder { height: 140px; }
    .modulos-grid { grid-template-columns: 1fr; }
    .modulo-card-img, .modulo-card-placeholder { height: 120px; }
    .topbar-breadcrumbs { display: none; }
}

/* ── Tarjetas de Anuncios (dashboard / curso home) ── */
.anuncio-card {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background .15s;
}
.anuncio-card:last-child { border-bottom: none; }
.anuncio-no-leido { background: #f0f7ff; }
.anuncio-leido { opacity: .65; }
.anuncio-card:hover { background: #e9f1fb; opacity: 1; }
.anuncio-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.anuncio-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.anuncio-titulo { font-size: 14px; flex: 1; }
.anuncio-meta {
    font-size: 11px;
    color: var(--text-muted);
}
.anuncio-chevron {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform .2s;
    flex-shrink: 0;
}
.anuncio-open .anuncio-chevron { transform: rotate(180deg); }
.anuncio-preview {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.anuncio-ver-mas {
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 500;
}
.anuncio-full {
    font-size: 13px;
    color: var(--text);
    margin-top: 8px;
    line-height: 1.6;
    padding-top: 6px;
    border-top: 1px dashed var(--border-light);
}

/* --- Modal global --- */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 2000;
    align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-white, #fff); border-radius: var(--radius-lg, 12px);
    width: 90%; max-width: 500px; max-height: 90vh;
    overflow-y: auto; box-shadow: var(--shadow-lg, 0 8px 32px rgba(0,0,0,0.18));
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border-light, #e5e7eb);
}
.modal-header h3 { font-size: 16px; margin: 0; }
.modal-close {
    background: none; border: none; font-size: 20px;
    cursor: pointer; color: var(--text-light, #6b7280); padding: 4px;
}
.modal-body { padding: 20px; }
.modal-footer {
    padding: 12px 20px; border-top: 1px solid var(--border-light, #e5e7eb);
    display: flex; gap: 8px; justify-content: flex-end;
}
@media (max-width: 768px) {
    .modal { width: 95%; max-width: none; margin: 10px; }
    .modal-body { padding: 14px; }
}

/* ── Touch devices: hover → active ── */
@media (hover: none) and (pointer: coarse) {
    .btn:hover { transform: none; box-shadow: var(--shadow); }
    .btn:active { transform: scale(0.97); }
    .stat-card:hover { transform: none; box-shadow: var(--shadow); }
    .stat-card:active { transform: scale(0.98); box-shadow: var(--shadow-md); }
    .curso-card:hover { box-shadow: var(--shadow); transform: none; }
    .curso-card:active { box-shadow: var(--shadow-md); transform: scale(0.98); }
    .modulo-card:hover { box-shadow: var(--shadow); transform: none; }
    .modulo-card:active { box-shadow: var(--shadow-md); transform: scale(0.98); }
    table tr:hover td { background: transparent; }
    .sidebar-link:hover { background: transparent; color: var(--text-light); }
    .sidebar-link:active { background: var(--bg-warm); color: var(--primary); }
    .anuncio-card:hover { background: transparent; }
    .anuncio-card:active { background: #e9f1fb; }
}

/* ── Calendario mobile ── */
.cal-list-mobile { display: none; }
@media (max-width: 768px) {
    .cal-grid-desktop { display: none; }
    .cal-events-desktop { display: none; }
    .cal-list-mobile { display: block; }
}
.cal-mobile-day { margin-bottom: 12px; }
.cal-mobile-day-header {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 0; border-bottom: 2px solid var(--border);
    margin-bottom: 6px;
}
.cal-mobile-day-num { font-size: 22px; font-weight: 700; color: var(--primary); min-width: 32px; }
.cal-mobile-day-name { font-size: 14px; color: var(--text-light); font-weight: 500; }
.cal-mobile-today .cal-mobile-day-header { border-bottom-color: var(--primary); }
.cal-mobile-event {
    background: var(--bg-white); border-radius: var(--radius-sm);
    padding: 10px 12px; margin-bottom: 6px;
    border-left: 3px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.cal-mobile-event strong { font-size: 14px; flex: 1 1 100%; }
.cal-mobile-event small { font-size: 12px; color: var(--text-muted); flex: 1 1 100%; margin-top: 2px; }
.cal-mobile-time { font-size: 12px; color: var(--text-light); }
.cal-mobile-time i { margin-right: 3px; }
