/* ── Qurbana Intentions Display — colour: #1a3a54 ──────────────────────── */
:root {
  --qot-primary:   #1a3a54;
  --qot-primary-d: #122940;
  --qot-gold:      #c9a84c;
  --qot-border:    #c8d8e4;
  --qot-bg:        #f5f8fb;
  --qot-private:   #f5f5f5;
  --qot-radius:    12px;
  --qot-shadow:    0 4px 24px rgba(26,58,84,.12);
}

.qo-today-wrap {
  max-width: 740px; margin: 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  background: #fff;
  border: 1px solid var(--qot-border);
  border-radius: var(--qot-radius);
  box-shadow: var(--qot-shadow);
  overflow: hidden;
}

/* ── Date picker bar ─────────────────────────────────────────────────────── */
.qo-today-date-bar {
  background: #fff;
  border-bottom: 1px solid var(--qot-border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.qo-today-date-bar label {
  font-size: 13px; font-weight: 600; color: var(--qot-primary);
  font-family: 'Segoe UI', sans-serif;
}
.qo-today-date-input {
  padding: 7px 12px;
  border: 1.5px solid var(--qot-border);
  border-radius: 7px;
  font-size: 13px;
  color: var(--qot-primary);
  background: var(--qot-bg);
  cursor: pointer;
  transition: border-color .15s;
}
.qo-today-date-input:focus { outline: none; border-color: var(--qot-primary); }
.qo-today-date-nav {
  display: flex; gap: 4px;
}
.qo-today-date-nav button {
  width: 30px; height: 30px; border-radius: 6px;
  border: 1.5px solid var(--qot-border); background: #fff;
  color: var(--qot-primary); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  font-family: sans-serif;
}
.qo-today-date-nav button:hover { background: var(--qot-bg); border-color: var(--qot-primary); }
.qo-today-date-today-btn {
  font-size: 12px; padding: 5px 12px; border-radius: 6px;
  border: 1.5px solid var(--qot-primary); background: #fff;
  color: var(--qot-primary); cursor: pointer; font-weight: 600;
  font-family: 'Segoe UI', sans-serif; transition: background .15s;
}
.qo-today-date-today-btn:hover { background: var(--qot-primary); color: #fff; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.qo-today-header {
  background: linear-gradient(135deg, #1a3a54, #122940);
  color: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.qo-today-cross {
  font-size: 44px; opacity: .9; flex-shrink: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.qo-today-header-body { flex: 1; }
.qo-today-title  { margin: 0 0 4px; font-size: 22px; font-weight: bold; letter-spacing: .3px; }
.qo-today-father { margin: 2px 0; font-size: 14px; opacity: .9; font-style: italic; }
.qo-today-date   { margin: 4px 0 0; font-size: 13px; opacity: .8; }

/* ── Loading state ───────────────────────────────────────────────────────── */
.qo-today-loading {
  padding: 40px 28px; text-align: center; color: #999;
  font-family: 'Segoe UI', sans-serif;
}
.qo-today-loading-spinner {
  display: inline-block; width: 28px; height: 28px;
  border: 3px solid #e0e8f0; border-top-color: var(--qot-primary);
  border-radius: 50%; animation: qo-spin .7s linear infinite;
  margin-bottom: 10px;
}
@keyframes qo-spin { to { transform: rotate(360deg); } }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.qo-today-empty {
  padding: 48px 28px; text-align: center; color: #999;
}
.qo-today-empty-icon { font-size: 40px; display: block; margin-bottom: 10px; }
.qo-today-empty p    { margin: 0; font-size: 15px; font-family: 'Segoe UI', sans-serif; }

/* ── Intention list ──────────────────────────────────────────────────────── */
.qo-today-list {
  padding: 16px 20px; margin: 0;
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}

.qo-today-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--qot-border);
  background: #fff;
  box-shadow: 0 1px 4px rgba(26,58,84,.06);
  transition: box-shadow .15s;
}
.qo-today-item:hover { box-shadow: 0 3px 12px rgba(26,58,84,.10); }

.qo-today-item-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--qot-primary); color: #fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: 'Segoe UI', sans-serif;
}

.qo-today-item-body { flex: 1; min-width: 0; }

.qo-today-item-service {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--qot-primary);
  font-family: 'Segoe UI', sans-serif; margin-bottom: 4px;
}

.qo-today-item-name {
  font-size: 16px; font-weight: bold; color: #1a1a1a; margin-bottom: 4px;
}

.qo-today-item-intention {
  font-size: 14px; color: #444; line-height: 1.5;
  display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
}

.qo-intention-badge {
  display: inline-block; padding: 2px 9px; border-radius: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .4px; font-family: 'Segoe UI', sans-serif; flex-shrink: 0;
}

/* Intention colours */
.qo-int-thanksgiving .qo-intention-badge,
.qo-intention-badge.thanksgiving { background: #d4edda; color: #155724; }
.qo-int-healing .qo-intention-badge,
.qo-intention-badge.healing      { background: #cce5ff; color: #004085; }
.qo-int-rip .qo-intention-badge,
.qo-intention-badge.rip          { background: #e2e3e5; color: #383d41; }
.qo-int-special .qo-intention-badge,
.qo-intention-badge.special      { background: #fff3cd; color: #856404; }

/* Private items */
.qo-today-private { background: #f8fafc; }
.qo-private-name  { color: #999; font-style: italic; }
.qo-private-intention { color: #aaa; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.qo-today-footer {
  padding: 12px 24px;
  background: #f0f5f9;
  border-top: 1px solid var(--qot-border);
  font-size: 13px; color: #666;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Segoe UI', sans-serif;
}
.qo-today-footer-cross { color: var(--qot-primary); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .qo-today-header    { padding: 18px 16px; gap: 12px; }
  .qo-today-cross     { font-size: 32px; }
  .qo-today-title     { font-size: 18px; }
  .qo-today-list      { padding: 10px 12px; }
  .qo-today-item      { padding: 12px 14px; }
  .qo-today-date-bar  { padding: 10px 14px; }
}
