

.uh-fp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  z-index: 299;
}

.uh-fp {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.uh-fp--open {
  transform: translateX(0);
}

.uh-fp__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.uh-fp__title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.uh-fp__close {
  width: 30px;
  height: 30px;
  border: none;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uh-fp__close:hover {
  background: #e5e7eb;
}

.uh-fp__body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
}

.uh-fp__body::-webkit-scrollbar {
  width: 5px;
}

.uh-fp__body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.uh-fp-section {
  border-bottom: 1px solid #f1f5f9;
}

.uh-fp-section--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.uh-fp-section__label {
  padding: 16px 18px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.uh-fp-field {
  position: relative;
  padding: 0 18px 16px;
  overflow: visible;
}

.uh-fp-select {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.uh-fp-select:hover:not(:disabled) {
  border-color: #9ca3af;
}

.uh-fp-select:focus {
  outline: none;
  border-color: #4154f1;
  box-shadow: 0 0 0 3px rgba(65, 84, 241, 0.12);
}

.uh-fp-select:disabled {
  background: #f8fafc;
  cursor: not-allowed;
}

.uh-fp-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uh-fp-select__value--placeholder {
  color: #94a3b8;
}


.uh-fp-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 18px;
  right: 18px;
  z-index: 999;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow:
    0 8px 24px rgba(16, 24, 40, 0.1),
    0 2px 6px rgba(16, 24, 40, 0.06);
  padding: 6px;
  margin: 0;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  animation: fadeIn 0.16s ease;
}

.uh-fp-dropdown::-webkit-scrollbar {
  width: 5px;
}

.uh-fp-dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.uh-fp-dropdown li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #111827;
  cursor: pointer;
  transition: background 0.14s ease;
}

.uh-fp-dropdown li:hover {
  background: #f3f4f6;
}

.uh-fp-dropdown__item--selected {
  background: #eef2ff;
  color: #4154f1;
  font-weight: 600;
}

.uh-fp-dropdown__empty {
  color: #94a3b8;
  font-size: 12px;
  cursor: default;
  padding: 10px 12px;
}

.uh-fp-custom-range {
  padding: 0 18px 18px;
}

.uh-fp-date-row {
  display: flex;
  gap: 10px;
}

.uh-fp-date-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uh-fp-date-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
}

.uh-fp-date-input {
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 13px;
  transition: all 0.18s ease;
}

.uh-fp-date-input:focus {
  outline: none;
  border-color: #4154f1;
  box-shadow: 0 0 0 3px rgba(65, 84, 241, 0.12);
}
.uh-fp__footer {
  display: flex;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid #e5e7eb;
}

.uh-fp__btn-clear,
.uh-fp__btn-apply {
  flex: 1;
  height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.uh-fp__btn-clear {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.uh-fp__btn-clear:hover {
  background: #f9fafb;
}

.uh-fp__btn-apply {
  border: none;
  background: #4154f1;
  color: #fff;
}

.uh-fp__btn-apply:hover {
  background: #3344d0;
}
