/* ============ ماژول تقویم شمسی - آبنر ============ */

.calendar-module {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 12px 14px !important;
  border-radius: 22px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
}

.cal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  direction: ltr !important;
  flex-shrink: 0 !important;
}

.cal-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.cal-arrow:hover { background: rgba(255, 255, 255, 0.16); }
.cal-arrow:active { transform: scale(0.94); }
.cal-arrow svg { stroke: currentColor; display: block; }

.cal-title-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s;
  direction: rtl !important;
}
.cal-title-btn:hover { background: rgba(255, 255, 255, 0.08); }

.cal-title-btn > span {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.cal-title-chev { opacity: 0.7; }

.cal-subtitle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1px !important;
  padding: 0 !important;
  margin-top: -2px !important;
  flex-shrink: 0 !important;
}
.cal-sub-row,
.cal-sub-row:first-child,
.cal-sub-row:last-child {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  opacity: 1 !important;
  text-align: center !important;
}

.cal-weekdays {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 4px !important;
  text-align: center !important;
  padding: 5px 0 4px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  flex-shrink: 0 !important;
  margin-top: 4px !important;
  width: 100% !important;
}
.cal-weekdays span {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  opacity: 0.75 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

/* ✅ اصلاح شبکه تقویم: اضافه کردن padding-bottom برای فاصله از دکمه‌ها */
.cal-grid-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  align-content: start !important;
  margin-top: 3px !important;
  width: 100% !important;
  margin-bottom: 8px !important; /* 👈 این خط فاصله ایجاد می‌کنه */
  position: relative !important;
  z-index: 1 !important;
}

.cal-bottom-bar {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative !important;
  z-index: 10 !important; /* 👈 این خط دکمه‌ها رو میاره روی دایره */
  background: transparent !important; /* 👈 شفاف می‌مونه */
}

.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  min-width: 0;
}
.cal-day:hover { background: rgba(255, 255, 255, 0.1); }
.cal-day-empty { cursor: default; pointer-events: none; }

.cal-day-num {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.cal-day.is-today::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.55);
  z-index: 1;
}

.cal-day.is-holiday .cal-day-num { color: #f87171 !important; }

.cal-day-dot {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
  z-index: 2;
}

/* ✅ اصلاح نوار پایین: بالاتر از دایره قرار می‌گیرد */
.cal-bottom-bar {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative !important;
  z-index: 20 !important; /* 👈 بالاتر از شبکه تقویم */
  background: rgba(0, 0, 0, 0.1); /* پس‌زمینه ملایم برای جلوگیری از دیده شدن دایره از پشت */
  border-radius: 12px;
  padding: 2px;
}
.cal-bottom-bar button {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: inherit;
  padding: 7px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.cal-bottom-bar button:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- پاپ‌آپ انتخاب ماه/سال ---------- */
.cal-picker {
  position: fixed !important;
  z-index: 999999 !important;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15, 25, 45, 0.35) !important;
  backdrop-filter: blur(var(--dash-blur-px, 24px)) saturate(180%) !important;
  -webkit-backdrop-filter: blur(var(--dash-blur-px, 24px)) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: calDrop 0.2s ease;
  color: #f8fafc;
  box-sizing: border-box;
}
.cal-picker.hidden { display: none !important; }

@keyframes calDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cal-picker-cols {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  height: 200px;
}

.cal-picker-col {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.cal-picker-col::-webkit-scrollbar { width: 5px; }
.cal-picker-col::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.cal-picker-item {
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  color: #f8fafc;
  flex-shrink: 0;
}
.cal-picker-item:hover { background: rgba(255, 255, 255, 0.12); }
.cal-picker-item.active {
  background: #3b82f6 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.cal-picker-confirm {
  padding: 10px;
  border-radius: 12px;
  background: #3b82f6;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.cal-picker-confirm:hover { background: #2563eb; transform: translateY(-1px); }

.cal-picker-today {
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.cal-picker-today:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- پاپ‌آپ مناسبت‌ها ---------- */
.cal-events-popup {
  position: fixed !important;
  z-index: 999999 !important;
  max-height: 330px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 25, 45, 0.4) !important;
  backdrop-filter: blur(var(--dash-blur-px, 24px)) saturate(180%) !important;
  -webkit-backdrop-filter: blur(var(--dash-blur-px, 24px)) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: calDrop 0.2s ease;
  color: #f8fafc;
  box-sizing: border-box;
}
.cal-events-popup.hidden { display: none !important; }

.cal-events-close {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cal-events-close:hover { background: rgba(239, 68, 68, 0.6); color: #fff; }

.cal-events-date {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 12px;
}
.ced-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ced-lbl { opacity: 0.6; font-weight: 700; }
.ced-val { font-weight: 800; }

.cal-events-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 180px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.cal-events-list::-webkit-scrollbar { width: 5px; }
.cal-events-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.cal-events-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 700;
}
.cal-events-item.is-holiday {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}
.cei-icon { font-size: 15px; flex-shrink: 0; }
.cei-text { flex: 1; }

.cal-events-empty {
  text-align: center;
  padding: 16px;
  font-size: 12.5px;
  opacity: 0.65;
  font-weight: 600;
}

/* ============ تم لایت ============ */

body.theme-light .cal-weekdays { border-bottom-color: rgba(0, 0, 0, 0.12) !important; }
body.theme-light .cal-day:hover { background: rgba(0, 0, 0, 0.06); }
body.theme-light .cal-arrow {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}
body.theme-light .cal-arrow:hover { background: rgba(0, 0, 0, 0.1); }
body.theme-light .cal-title-btn:hover { background: rgba(0, 0, 0, 0.06); }
body.theme-light .cal-bottom-bar button {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}
body.theme-light .cal-bottom-bar button:hover { background: rgba(0, 0, 0, 0.1); }
body.theme-light .cal-bottom-bar { background: rgba(0,0,0,0.02); }

body.theme-light .cal-picker,
body.theme-light .cal-events-popup {
  background: rgba(255, 252, 245, 0.97) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: rgba(120, 90, 50, 0.22) !important;
  box-shadow: 0 20px 50px rgba(80, 50, 20, 0.25) !important;
  color: #2a1f14 !important;
}
body.theme-light .cal-picker-col { background: rgba(0, 0, 0, 0.05); }
body.theme-light .cal-picker-item { color: #2a1f14; }
body.theme-light .cal-picker-item:hover { background: rgba(0, 0, 0, 0.08); }
body.theme-light .cal-picker-today {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #2a1f14;
}
body.theme-light .cal-picker-today:hover { background: rgba(0, 0, 0, 0.1); }
body.theme-light .cal-events-date { background: rgba(0, 0, 0, 0.06); }
body.theme-light .cal-events-close { background: rgba(0, 0, 0, 0.08); color: #2a1f14; }
body.theme-light .cal-events-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .cal-events-item.is-holiday {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}
body.theme-light .cal-day.is-holiday .cal-day-num { color: #dc2626 !important; }

/* ============ تم دارک ============ */

body.theme-dark .cal-arrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
body.theme-dark .cal-picker,
body.theme-dark .cal-events-popup {
  background: rgba(10, 15, 30, 0.97) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
body.theme-dark .cal-bottom-bar { background: rgba(0,0,0,0.2); }

/* ============ موبایل ============ */

@media (max-width: 1024px) {
  .calendar-module { padding: 10px 12px !important; }
  .cal-title-btn > span { font-size: 15px !important; }
  .cal-sub-row,
  .cal-sub-row:first-child,
  .cal-sub-row:last-child { font-size: 11.5px !important; }
  .cal-weekdays span { font-size: 9.5px !important; }
  .cal-day-num { font-size: 12.5px !important; }
  .cal-picker-cols { height: 170px; }
}

@media (max-width: 480px) {
  .cal-weekdays span { font-size: 8.5px !important; }
  .cal-day-num { font-size: 11.5px !important; }
  .cal-arrow { width: 28px; height: 28px; }
  .cal-day-dot { width: 4px; height: 4px; bottom: 2px; }
}

/* ============================================================
   مبدل تاریخ
============================================================ */

.cal-main-view {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.cal-main-view.hidden { display: none !important; }

/* ---------- نمای مبدل ---------- */
.cal-converter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.cal-converter.hidden { display: none !important; }

.conv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  direction: rtl;
}
.conv-title {
  font-size: 16px;
  font-weight: 900;
}
.conv-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.conv-close:hover { background: rgba(239, 68, 68, 0.6); color: #fff; }

.conv-source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  direction: rtl;
}
.conv-source-label {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.conv-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
}
.conv-tab {
  flex: 1;
  padding: 5px 8px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.conv-tab:hover { background: rgba(255, 255, 255, 0.08); }
.conv-tab.active {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* ---------- سه ستون اسکرول ---------- */
.conv-picker {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr;
  gap: 6px;
  height: 200px;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  padding: 0 2px;
  direction: rtl;
}

.conv-picker::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 32px;
  margin-top: -16px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  pointer-events: none;
  z-index: 2;
}

.conv-col {
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 92px 0;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 3;
}
.conv-col::-webkit-scrollbar { display: none; }

.conv-item {
  scroll-snap-align: center;
  padding: 8px 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: inherit;
  opacity: 0.35;
  transition: opacity 0.15s, color 0.15s, font-size 0.15s;
  flex-shrink: 0;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.conv-item.active {
  opacity: 1;
  font-size: 15.5px;
  font-weight: 900;
}

.conv-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: #3b82f6;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.conv-submit:hover { background: #2563eb; transform: translateY(-1px); }
.conv-submit:active { transform: translateY(0); }

/* ---------- پاپ‌آپ نتیجه ---------- */
.conv-result {
  position: fixed !important;
  z-index: 999999 !important;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 25, 45, 0.4) !important;
  backdrop-filter: blur(var(--dash-blur-px, 24px)) saturate(180%) !important;
  -webkit-backdrop-filter: blur(var(--dash-blur-px, 24px)) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: calDrop 0.2s ease;
  color: #f8fafc;
  box-sizing: border-box;
  direction: rtl;
}
.conv-result.hidden { display: none !important; }

.conv-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.conv-result-header > span {
  font-size: 16px;
  font-weight: 900;
}
.conv-result-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.conv-result-close:hover { background: rgba(239, 68, 68, 0.6); color: #fff; }

.conv-result-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.conv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-size: 14px;
}
.conv-row + .conv-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.conv-row-label {
  font-weight: 700;
  opacity: 0.75;
  font-size: 13px;
}
.conv-row-value {
  font-weight: 900;
  text-align: left;
  direction: rtl;
}

.conv-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  margin: 4px 0;
}

.conv-weekday {
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.85;
}

.conv-diff {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 800;
}

.conv-result-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
.conv-result-new:hover { background: rgba(255, 255, 255, 0.16); }

.conv-new-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 900;
}

/* ============ تم لایت ============ */

body.theme-light .conv-source-row {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}
body.theme-light .conv-close {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}
body.theme-light .conv-tab:hover { background: rgba(0, 0, 0, 0.06); }
body.theme-light .conv-picker::before {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.35);
}
body.theme-light .conv-result {
  background: rgba(255, 252, 245, 0.97) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: rgba(120, 90, 50, 0.22) !important;
  color: #2a1f14 !important;
}
body.theme-light .conv-row + .conv-row { border-top-color: rgba(0, 0, 0, 0.08); }
body.theme-light .conv-result-close { background: rgba(0, 0, 0, 0.08); color: #2a1f14; }
body.theme-light .conv-result-new {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}
body.theme-light .conv-result-new:hover { background: rgba(0, 0, 0, 0.1); }
body.theme-light .conv-new-key { background: rgba(0, 0, 0, 0.08); }
body.theme-light .conv-divider { border-top-color: rgba(0, 0, 0, 0.15); }

/* ============ تم دارک ============ */

body.theme-dark .conv-result {
  background: rgba(10, 15, 30, 0.97) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ============ موبایل ============ */

@media (max-width: 1024px) {
  .conv-picker { height: 180px; }
  .conv-item { font-size: 13.5px; min-height: 30px; }
  .conv-item.active { font-size: 15px; }
  .conv-title { font-size: 15px; }
}