/* Tema 2 · ortak takvim (tasarım site.css .dp*) — ön yüz, partner paneli ve admin. Kapsamsız (her sayfada çalışır). */
.dp { position: relative; display: block; width: 100%; min-width: 0; }
.dp__btn { display: flex; align-items: center; width: 100%; min-height: 48px; margin: 0; padding: 10px 14px; border: 1px solid #e7eaf3; border-radius: 6px; background: #fff; color: #1e2a3a; font: inherit; font-size: 15px; line-height: 1.3; text-align: start; cursor: pointer; box-sizing: border-box; }
.dp__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp__btn:hover:not(:disabled), .dp__btn[aria-expanded="true"] { border-color: #232f68 !important; }
.dp__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgb(35 47 104 / .15) !important; }
.dp__btn:disabled, .dp__btn.is-ro { opacity: .6; cursor: not-allowed; }
.dp__btn--bare { min-height: 0; padding: 0; border: 0; background: transparent; font-size: 15.5px; font-weight: 500; }
.dp__ph { color: #77838f; font-weight: 400; }
.dp__panel { position: absolute; z-index: 1060; top: calc(100% + 8px); inset-inline-start: 0; width: 320px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 24px 60px rgb(30 42 58 / .18); border: 1px solid #e7eaf3; color: #1e2a3a; font-family: inherit; font-size: 14px; line-height: 1.3; text-align: start; }
.dp__panel[hidden] { display: none !important; }
.dp__panel.is-end { inset-inline-start: auto; inset-inline-end: 0; }
.dp__panel.is-up { top: auto; bottom: calc(100% + 8px); }
.sfield .dp__panel { inset-inline-start: -40px; top: calc(100% + 20px); }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.dp__head b { font-size: 16px; font-weight: 700; color: #1e2a3a; text-transform: capitalize; }
.dp__nav { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #232f68; font-size: 24px; line-height: 1; cursor: pointer; }
.dp__nav:hover:not(:disabled) { background: #eceef7; }
.dp__nav:disabled { color: #d7dbe6; cursor: default; }
.dp__wk, .dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp__wk span { text-align: center; font-size: 12px; color: #77838f; padding: 4px 0; text-transform: capitalize; }
.dp__d { aspect-ratio: 1; min-width: 0; margin: 0; padding: 0; border: 1px solid #e7eaf3; border-radius: 8px; background: #fff; color: #1e2a3a; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.dp__d:hover:not(:disabled) { border-color: #232f68; color: #232f68; }
.dp__d.is-other { color: #77838f; }
.dp__d:disabled { color: #c3c9d4; background: #edf0f6; border-color: transparent; cursor: default; }
.dp__d.is-today { color: #f0a920; font-weight: 800; border-color: #f0a920; }
.dp__d.is-range { background: #eceef7; border-color: #eceef7; color: #232f68; }
.dp__d.is-edge { background: #dfe4f3; border-color: #232f68; color: #232f68; font-weight: 700; }
.dp__d.is-sel { background: #232f68; border-color: #232f68; color: #fff; font-weight: 700; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #232f68; }
.dp__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e7eaf3; min-height: 20px; }
.dp__nights { font-size: 13.5px; font-weight: 700; color: #232f68; }
.dp__clear { margin-inline-start: auto; padding: 0; border: 0; background: none; color: #77838f; font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .dp__panel, .sfield .dp__panel { position: fixed; inset-inline: 12px; top: auto !important; bottom: 12px; width: auto; } }
/* Açık takvim üstteki bölümlerin altında kalmasın */
section:has(.dp__panel:not([hidden])), .card:has(.dp__panel:not([hidden])), .box:has(.dp__panel:not([hidden])), .widget:has(.dp__panel:not([hidden])) { position: relative; z-index: 60; overflow: visible !important; }
