.drp-wrap *,
.drp-wrap *::before,
.drp-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.drp-wrap {
  margin: 0 auto;
}

.drp-field .ti {
  font-size: 18px;
  color: #666666;
  flex-shrink: 0;
}

.drp-wrap { padding: 1rem 0; font-family: system-ui, sans-serif; max-width: 680px; }
.drp-inputs { display: flex; gap: 12px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.drp-field { flex: 1; min-width: 160px; background: #1e1e1e; border: 0.5px solid #333333; border-radius: 8px; padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color 0.15s; user-select: none; }
.drp-field:hover { border-color: #555555; }
.drp-field.active { border-color: #378ADD; box-shadow: 0 0 0 2px rgba(55,138,221,0.15); }
.drp-field-label { font-size: 11px; color: #666666; text-transform: uppercase; letter-spacing: 0.06em; display: block; }
.drp-field-value { font-size: 14px; font-weight: 500; color: #f0f0f0; }
.drp-field-value.ph { color: #666666; font-weight: 400; }
.drp-cal-wrap { background: #1e1e1e; border: 0.5px solid #2c2c2c; border-radius: 12px; overflow: hidden; display: none; }
.drp-cal-wrap.open { display: block; }
.drp-months { display: grid; grid-template-columns: 1fr 1fr; }
.drp-month { padding: 1.25rem; }
.drp-month:first-child { border-right: 0.5px solid #2c2c2c; }
.drp-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drp-nav-btn { background: none; border: 0.5px solid #2c2c2c; border-radius: 8px; padding: 4px 8px; cursor: pointer; color: #aaaaaa; font-size: 16px; line-height: 1; }
.drp-nav-btn:hover { background: #2a2a2a; }
.drp-month-title { font-size: 14px; font-weight: 500; color: #f0f0f0; }
.drp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.drp-dow { font-size: 11px; color: #666666; text-align: center; padding: 4px 0; font-weight: 500; }
.drp-day { font-size: 13px; text-align: center; padding: 7px 2px; border-radius: 6px; cursor: pointer; color: #f0f0f0; position: relative; user-select: none; }
.drp-day:hover { background: #2a2a2a; }
.drp-day.in-range { background: #1a3a5c; color: #7ab8f5; border-radius: 0; }
.drp-day.rs { background: #378ADD; color: #fff; border-radius: 6px 0 0 6px; }
.drp-day.re { background: #378ADD; color: #fff; border-radius: 0 6px 6px 0; }
.drp-day.rs.re { border-radius: 6px; }
.drp-day.rs:hover, .drp-day.re:hover { background: #185FA5; }
.drp-day.today:not(.rs):not(.re)::after { content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #378ADD; }
.drp-footer { border-top: 0.5px solid #2c2c2c; padding: 12px 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.drp-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.drp-preset { font-size: 12px; padding: 4px 10px; border: 0.5px solid #2c2c2c; border-radius: 20px; background: none; cursor: pointer; color: #aaaaaa; }
.drp-preset:hover { background: #2a2a2a; color: #f0f0f0; }
.drp-actions { display: flex; gap: 8px; }
.drp-btn-clear { font-size: 13px; padding: 6px 14px; border: 0.5px solid #2c2c2c; border-radius: 8px; background: none; cursor: pointer; color: #aaaaaa; }
.drp-btn-clear:hover { background: #2a2a2a; }
.drp-btn-apply { font-size: 13px; padding: 6px 14px; border: 0.5px solid #378ADD; border-radius: 8px; background: #378ADD; color: #fff; cursor: pointer; font-weight: 500; }
.drp-btn-apply:hover { background: #185FA5; }
.drp-result { margin-top: 1rem; font-size: 13px; color: #aaaaaa; min-height: 20px; }
.drp-result b { color: #f0f0f0; font-weight: 500; }

@media (max-width: 520px) {
  .drp-months { grid-template-columns: 1fr; }
  .drp-month:first-child { border-right: none; border-bottom: 0.5px solid #2c2c2c; }
}