/* flatpickr-time.css — نسخه بهینه‌شده برای فقط-ساعت، گرم و مدرن */
.flatpickr-calendar.hasTime.noCalendar {
  width: auto !important;
  height: auto !important;
  padding: 3px !important;
  background: white !important;
  border: 1px solid #18a405 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  margin-top: 1px !important;
  margin-bottom: 2px !important;
  animation: fpPop 0.5s cubic-bezier(0.1, 0.3, 0.1, 0.5) !important;
}

.flatpickr-time {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3px !important;
  padding-top: 1px !important;
  border: none !important;
  background: transparent !important;
}

.flatpickr-time input {
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #1976d2 !important;
  background: #f0f7ff !important;
  border: none !important;
  border-radius: 12px !important;
  width: 64px !important;
  height: 52px !important;
  text-align: center !important;
  outline: none !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.2s ease !important;
  margin-bottom: 2px !important;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
  background: #e1f0ff !important;
  color: #0d47a1 !important;
  transform: scale(1.03) !important;
  box-shadow: 0 2px 6px rgba(25, 118, 210, 0.25) !important;
}

.flatpickr-time-separator {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0480ba !important;
  opacity: 1 !important;
  margin-right: 2px !important;
}

.flatpickr-am-pm {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #1976d2 !important;
  background: #e3f2fd !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 6px 14px !important;
  margin-top: 3px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.flatpickr-am-pm:hover {
  background: #78ec7f !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(25, 118, 210, 0.3) !important;
}

/* مخفی کردن فلش‌ها و حاشیه‌های اضافه */
.flatpickr-calendar:before,
.flatpickr-calendar:after,
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
  display: none !important;
}

@keyframes fpPop {
  from {
    opacity: 0.8;
    transform: translateY(6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}