@charset "UTF-8";
/* =========================================================================
   Date-range picker (jquery-date-range-picker 0.21.1)
   Extracted 2026-05-12 from rebuilt/css/style-black.css. The picker ships
   no companion stylesheet — every selector here is what the JS-generated
   DOM actually emits.

   Loaded conditionally from the two pages that mount the picker:
     - rebuilt/pages/home.php           (#dpSummary on the home summary band)
     - rebuilt/pages/martyrs/year.php   (the /martyrs/year date filter)
   ========================================================================= */

/* ─── Date-range picker (jquery-date-range-picker 0.21.1) ───────────────────
   Bare baseline (direction + z-index) plus a polished visual layer matching
   the site palette. The picker has no companion stylesheet — every selector
   here is what the JS-generated DOM actually emits. RTL pages keep the
   picker in LTR (calendars are universally LTR; the wrapper itself just
   gets repositioned by the picker's auto-flip logic).
   ─────────────────────────────────────────────────────────────────────── */
.date-picker-wrapper {
    position: absolute;
    direction: ltr !important;  /* override body[dir="rtl"] — calendar grid + float order must stay LTR */
    z-index: 20 !important;
    background: #efefef;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(20, 20, 30, 0.18), 0 2px 4px rgba(20, 20, 30, 0.06);
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #394645;
    font-family: inherit;
    box-sizing: content-box;
}
.date-picker-wrapper.inline-wrapper {
    position: relative;
    box-shadow: none;
    display: inline-block;
}
.date-picker-wrapper.single-date { width: auto; }
.date-picker-wrapper.no-shortcuts { padding-bottom: 14px; }
.date-picker-wrapper.no-topbar    { padding-top: 14px; }
.date-picker-wrapper b { color: #394645; font-weight: 700; }
.date-picker-wrapper a { color: #b82d44; text-decoration: none; }
.date-picker-wrapper a:hover { text-decoration: underline; }
.date-picker-wrapper .footer { font-size: 11px; padding-top: 6px; color: #888; }

/* Top bar (selected-range summary + Apply button) */
.date-picker-wrapper .drp_top-bar {
    line-height: 1.4;
    position: relative;
    padding: 4px 2px 6px;
    padding-inline-end: 90px;  /* room for apply button */
    margin-bottom: 6px;
    border-bottom: 1px solid #d8d8d8;
}
/* Topbar follows the page direction (calendar grid stays LTR via wrapper). */
html[dir="rtl"] .date-picker-wrapper .drp_top-bar,
body[dir="rtl"] .date-picker-wrapper .drp_top-bar { direction: rtl; }
.date-picker-wrapper .drp_top-bar .error-top,
.date-picker-wrapper .drp_top-bar .normal-top { display: none; }
.date-picker-wrapper .drp_top-bar .default-top { display: block; color: #888; }
.date-picker-wrapper .drp_top-bar.error .default-top { display: none; }
.date-picker-wrapper .drp_top-bar.error .error-top  { display: block; color: #c0392b; }
.date-picker-wrapper .drp_top-bar.normal .default-top { display: none; }
.date-picker-wrapper .drp_top-bar.normal .normal-top  { display: block; }
.date-picker-wrapper .drp_top-bar.normal .selection-top { color: #394645; font-weight: 600; }
.date-picker-wrapper .drp_top-bar .start-day,
.date-picker-wrapper .drp_top-bar .end-day {
    display: inline-block;
    padding: 1px 6px;
    background: #fce7eb;
    color: #b82d44;
    border-radius: 4px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.date-picker-wrapper .drp_top-bar .separator-day { color: #aaa; padding: 0 2px; }
.date-picker-wrapper .drp_top-bar .selected-days-num { font-weight: 700; }
.date-picker-wrapper .drp_top-bar .apply-btn {
    position: absolute;
    inset-inline-end: 0;
    top: 4px;
    padding: 6px 14px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #e94560 0%, #b82d44 100%);
    box-shadow: 0 2px 6px rgba(184, 45, 68, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    line-height: initial;
    font-family: inherit;
}
.date-picker-wrapper .drp_top-bar .apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(184, 45, 68, 0.4);
}
.date-picker-wrapper .drp_top-bar .apply-btn.disabled {
    cursor: not-allowed;
    color: #999;
    background: #ededed;
    box-shadow: none;
    transform: none;
}

/* Month grid container — white card inside the gray frame */
.date-picker-wrapper .month-wrapper {
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 5px;
    cursor: default;
    position: relative;
}
.date-picker-wrapper .month-wrapper table {
    width: 170px;
    float: left;
    border-collapse: separate;
    border-spacing: 1px;
}
.date-picker-wrapper .month-wrapper table.month2 {
    width: 170px;
    float: left;
}
.date-picker-wrapper .month-wrapper table th,
.date-picker-wrapper .month-wrapper table td {
    vertical-align: middle;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}
/* Fixed column width on day cells — empty cells (lastMonth/nextMonth via
   display:none on .day) would otherwise collapse to 0 and shift the grid.
   Same width on week-name <th>s so header and body columns align. */
.date-picker-wrapper .month-wrapper table tbody td,
.date-picker-wrapper .month-wrapper table tr.week-name th { width: 24px; }
/* RTL pages use full Arabic weekday names (اثنين, ثلاثاء, أربعاء…), so the
   columns need to be a touch wider than the EN abbrevs (mo, tu, we…). */
html[dir="rtl"] .date-picker-wrapper .month-wrapper table tbody td,
body[dir="rtl"] .date-picker-wrapper .month-wrapper table tbody td,
html[dir="rtl"] .date-picker-wrapper .month-wrapper table tr.week-name th,
body[dir="rtl"] .date-picker-wrapper .month-wrapper table tr.week-name th { width: 32px; }
html[dir="rtl"] .date-picker-wrapper .month-wrapper table,
html[dir="rtl"] .date-picker-wrapper .month-wrapper table.month2,
body[dir="rtl"] .date-picker-wrapper .month-wrapper table,
body[dir="rtl"] .date-picker-wrapper .month-wrapper table.month2 { width: 200px; }
/* Smaller header font on RTL so full names ("اثنين", "ثلاثاء"…) still
   fit in the narrower 32px columns. */
html[dir="rtl"] .date-picker-wrapper .week-name,
body[dir="rtl"] .date-picker-wrapper .week-name { font-size: 9px; letter-spacing: 0; }

/* Caption row (month name + prev/next arrows) */
.date-picker-wrapper table .caption { height: 30px; }
.date-picker-wrapper table .caption > th:first-of-type,
.date-picker-wrapper table .caption > th:last-of-type { width: 24px; }
.date-picker-wrapper .month-name {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    color: #394645;
    letter-spacing: 0.04em;
}
.date-picker-wrapper table .caption .next,
.date-picker-wrapper table .caption .prev {
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 4px;
    cursor: pointer;
    color: #888;
    font-size: 12px;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
}
.date-picker-wrapper table .caption .next:hover,
.date-picker-wrapper table .caption .prev:hover {
    background-color: #fce7eb;
    color: #b82d44;
}

/* Year/month select wrapper */
.date-picker-wrapper .select-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}
.date-picker-wrapper .select-wrapper:hover { background-color: #fce7eb; }
.date-picker-wrapper .month-element { display: inline-block; vertical-align: middle; }
.date-picker-wrapper .select-wrapper select {
    position: absolute;
    margin: 0; padding: 0;
    left: 0; top: -1px;
    font-size: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    outline: 0;
    opacity: 0.01;
    width: 100%;
    height: 100%;
}

/* Week-name row (Mo Tu We …) */
.date-picker-wrapper .week-name {
    height: 18px;
    line-height: 18px;
    font-weight: 600;
    font-size: 9px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.04em;
}

/* Day cells — fill the parent TD so range fills look continuous (cell
   width is set on the TD itself: 24px LTR, 40px RTL). */
.date-picker-wrapper .day {
    padding: 0;
    display: block;
    width: 100%;
    height: 22px;
    line-height: 22px;
    font-size: 11px;
    margin: 0;
    color: #ccc;
    cursor: default;
    border-radius: 4px;
    transition: background-color 0.12s ease, color 0.12s ease;
}
.date-picker-wrapper div.day.lastMonth,
.date-picker-wrapper div.day.nextMonth { display: none; }
.date-picker-wrapper .month-wrapper table .day.toMonth.valid {
    color: #394645;
    cursor: pointer;
}
.date-picker-wrapper .month-wrapper table .day.toMonth.valid:hover,
.date-picker-wrapper .month-wrapper table .day.toMonth.hovering {
    background-color: #fce7eb;
    color: #b82d44;
}

/* In-range (between start and end of selection) */
.date-picker-wrapper .day.checked {
    background-color: #fdd7df;
    color: #b82d44;
    border-radius: 0;
}

/* Today */
.date-picker-wrapper .month-wrapper table .day.real-today {
    background-color: transparent;
    box-shadow: inset 0 0 0 2px #ffd42e;
    color: #394645;
    font-weight: 700;
}
.date-picker-wrapper .month-wrapper table .day.real-today.checked,
.date-picker-wrapper .month-wrapper table .day.real-today.hovering {
    background-color: #fce7eb;
    box-shadow: inset 0 0 0 2px #ffd42e;
    color: #b82d44;
}

/* Range endpoints — solid red gradient with white text */
.date-picker-wrapper .first-date-selected,
.date-picker-wrapper .last-date-selected {
    background: linear-gradient(135deg, #e94560 0%, #b82d44 100%) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(184, 45, 68, 0.35);
}
.date-picker-wrapper .first-date-selected { border-radius: 4px 0 0 4px !important; }
.date-picker-wrapper .last-date-selected  { border-radius: 0 4px 4px 0 !important; }
/* Single-day selection (start === end): both classes co-apply on one cell */
.date-picker-wrapper .first-date-selected.last-date-selected { border-radius: 4px !important; }

/* Range-length tooltip (shown while dragging) */
.date-picker-wrapper .date-range-length-tip {
    position: absolute;
    margin-top: -4px;
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    display: none;
    background-color: #394645;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
}
.date-picker-wrapper .date-range-length-tip:after {
    content: '';
    position: absolute;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #394645;
    left: 50%;
    margin-left: -4px;
    bottom: -4px;
}

/* Two-months no-gap mode (hide redundant arrows between panels) */
.date-picker-wrapper.two-months.no-gap .month1 .next,
.date-picker-wrapper.two-months.no-gap .month2 .prev { display: none; }

/* Gap between month1 and month2 — torn-edge effect using stacked triangles
   (the JS emits 20× .gap-line, each rendering one tear notch). The wrapper
   gray (#efefef) shows through the cuts; the white triangles sit on the
   month-wrapper's white background. */
.date-picker-wrapper .gap {
    position: relative;
    z-index: 1;
    width: 15px;
    height: 100%;
    font-size: 0;
    line-height: 0;
    float: left;
    top: -5px;
    margin: 0 8px -10px;
    visibility: visible;
}
.date-picker-wrapper .gap .gap-lines { height: 100%; overflow: hidden; }
.date-picker-wrapper .gap .gap-line { height: 15px; width: 15px; position: relative; }
.date-picker-wrapper .gap .gap-1 {
    z-index: 1;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid #efefef;
    border-bottom: 8px solid #efefef;
}
.date-picker-wrapper .gap .gap-2 {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    height: 0;
    border-left: 8px solid transparent;
    border-top: 8px solid #fff;
}
.date-picker-wrapper .gap .gap-3 {
    position: absolute;
    right: 0;
    top: 8px;
    z-index: 2;
    height: 0;
    border-left: 8px solid transparent;
    border-bottom: 8px solid #fff;
}
.date-picker-wrapper .gap .gap-top-mask {
    width: 6px;
    height: 1px;
    position: absolute;
    top: -1px;
    left: 1px;
    background-color: #efefef;
    z-index: 3;
}
.date-picker-wrapper .gap .gap-bottom-mask {
    width: 6px;
    height: 1px;
    position: absolute;
    bottom: -1px;
    left: 7px;
    background-color: #efefef;
    z-index: 3;
}

/* Footer shortcuts — preset buttons (Today, Last 7 days, etc.) */
.date-picker-wrapper .shortcuts {
    padding: 6px 0 2px;
    line-height: 1.9;
    color: #888;
    font-size: 11px;
}
/* Footer + shortcuts also follow page direction (matches topbar) */
html[dir="rtl"] .date-picker-wrapper .footer,
body[dir="rtl"] .date-picker-wrapper .footer,
html[dir="rtl"] .date-picker-wrapper .shortcuts,
body[dir="rtl"] .date-picker-wrapper .shortcuts,
html[dir="rtl"] .date-picker-wrapper .customValues,
body[dir="rtl"] .date-picker-wrapper .customValues { direction: rtl; }
.date-picker-wrapper .shortcuts b { color: #888; font-weight: 700; margin-inline-end: 4px; }
.date-picker-wrapper .shortcuts a {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px 3px 2px 0;
    color: #b82d44;
    background: #fce7eb;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    transition: background-color 0.12s ease, color 0.12s ease;
}
.date-picker-wrapper .shortcuts a:hover {
    background: #b82d44;
    color: #fff;
    text-decoration: none;
}
.date-picker-wrapper .shortcuts .prev-days,
.date-picker-wrapper .shortcuts .next-days,
.date-picker-wrapper .shortcuts .prev-buttons,
.date-picker-wrapper .shortcuts .next-buttons,
.date-picker-wrapper .shortcuts .custom-shortcut { display: inline-block; }

/* Custom-values block (only emitted when showCustomValues option set) */
.date-picker-wrapper .customValues {
    padding: 4px 0;
    font-size: 11px;
    color: #888;
}
.date-picker-wrapper .customValues b { color: #888; font-weight: 700; margin-inline-end: 4px; }
.date-picker-wrapper .customValues .custom-value a {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px 3px 2px 0;
    color: #b82d44;
    background: #fce7eb;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
}
.date-picker-wrapper .customValues .custom-value a:hover {
    background: #b82d44;
    color: #fff;
}

/* Week-number column */
.date-picker-wrapper .week-number {
    padding: 5px 0;
    line-height: 1;
    font-size: 11px;
    color: #aaa;
    cursor: pointer;
}
.date-picker-wrapper .week-number.week-number-selected {
    color: #b82d44;
    font-weight: 700;
}

/* Has-tooltip day cells */
.date-picker-wrapper .day.has-tooltip { cursor: help !important; }
.date-picker-wrapper .day.has-tooltip .tooltip { white-space: nowrap; }

/* Time-pickers (only shown on single-month or with showTime opt) */
.date-picker-wrapper .time1, .date-picker-wrapper .time2 {
    width: 180px;
    padding: 0 5px;
    text-align: center;
}
.date-picker-wrapper .time1 { float: left; }
.date-picker-wrapper .time2 { float: right; }
.date-picker-wrapper .hour, .date-picker-wrapper .minute { text-align: right; }
.date-picker-wrapper .time label { white-space: nowrap; }
.date-picker-wrapper .time input[type=range] {
    vertical-align: middle;
    width: 129px;
    padding: 0;
    margin: 0;
    height: 20px;
}

/* Utility */
.date-picker-wrapper .hide { display: none; }
.date-picker-wrapper .selected-days { display: none; }
.dp-clearfix { clear: both; height: 0; font-size: 0; }
