
.ramadan-page { max-width: 960px; margin: 0 auto; padding: 16px 12px; font-family: 'Outfit', system-ui, -apple-system, sans-serif; }
.ramadan-hero { 
    background: linear-gradient(135deg, #091e3a 0%, #1e3a5f 55%, #104f55 100%); 
    color: #fff; 
    border-radius: 18px; 
    padding: 28px 22px; 
    margin-bottom: 24px; 
    box-shadow: 0 10px 25px -5px rgba(9, 30, 58, 0.25), 0 8px 10px -6px rgba(9, 30, 58, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.ramadan-hero h1 { margin: 0 0 8px 0; font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; gap: 10px; font-family: 'Outfit', 'Amiri', serif; }
.ramadan-hero p { margin: 0 0 16px 0; opacity: 0.9; font-size: 1rem; }

.ramadan-location-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.ramadan-location-bar input { flex: 1; min-width: 200px; padding: 10px 15px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 14px; transition: 0.25s; color: #0f172a; }
.ramadan-location-bar input:focus { outline: none; border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); }
.ramadan-location-bar button { padding: 10px 18px; border-radius: 10px; border: none; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; transition: 0.2s; }
.ramadan-location-bar button.primary { background: #0284c7; color: #fff; }
.ramadan-location-bar button.primary:hover { background: #0369a1; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25); }
.ramadan-location-bar button.secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); }
.ramadan-location-bar button.secondary:hover { background: rgba(255,255,255,0.25); }

.ramadan-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ramadan-pill { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); }
.ramadan-pill i { font-size: 0.85rem; color: #fbbf24; }

.ramadan-grid-wrap { background: #ffffff; border-radius: 16px; padding: 20px 18px; border: 1px solid #e2e8f0; margin-bottom: 24px; overflow-x: auto; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.ramadan-grid-wrap h2 { margin: 0 0 14px 0; font-size: 1.15rem; color: #0f172a; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ramadan-grid-wrap h2 i { color: #d97706; }
.ramadan-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 540px; }
.ramadan-table thead { background: #f8fafc; }
.ramadan-table th, .ramadan-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; text-align: left; white-space: nowrap; }
.ramadan-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; font-weight: 700; }
.ramadan-table tbody tr:hover { background: #f8fafc; }
.ramadan-table tbody tr.ramadan-today { background: #fef3c7; }
.ramadan-table tbody tr.ramadan-today td { font-weight: 700; color: #92400e; }
.ramadan-badge-today { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #4c1d95; color: #fff; font-size: 0.7rem; margin-left: 6px; }

.ramadan-side { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 16px; align-items: flex-start; }
.ramadan-card { background: #fff; border-radius: 16px; padding: 18px 18px; border: 1px solid #e2e8f0; }
.ramadan-card h3 { margin: 0 0 10px 0; font-size: 1rem; color: #0f172a; display: flex; align-items: center; gap: 8px; }
.ramadan-card h3 i { color: #22c55e; }
.ramadan-card p { margin: 0 0 8px 0; font-size: 0.9rem; color: #64748b; }
.ramadan-card ul { margin: 0; padding-left: 18px; font-size: 0.9rem; color: #475569; }
.ramadan-card li { margin-bottom: 4px; }
.ramadan-tagline { font-size: 0.8rem; color: #9ca3af; margin-top: 8px; }

.ramadan-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 0.78rem; color: #6b7280; }
.ramadan-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ramadan-legend-mark { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #4c1d95; background: #ede9fe; }

.ramadan-loading { text-align: center; padding: 24px 0; font-size: 0.9rem; color: #6b7280; }
.ramadan-loading i { font-size: 1.4rem; margin-bottom: 6px; display: block; animation: ramadan-spin 1s linear infinite; }
.ramadan-error { text-align: center; padding: 16px 0; font-size: 0.9rem; color: #b91c1c; }

@keyframes ramadan-spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .ramadan-side { grid-template-columns: minmax(0,1fr); }
  .ramadan-hero { padding: 22px 18px; }
  .ramadan-hero h1 { font-size: 1.4rem; }
}
