#hpp_open_modal {
    margin: 15px 0;
}

#hpp24_location_selector {
    position: relative;
}

.hpp-location-selector {
    display: none;
    margin: 10px 0;
}

.hpp-location-selector.is-active {
    display: block;
}

body.hpp-modal-open {
    overflow: hidden;
}

#hpp_box_type_field.hidden,
#hpp_box_number_field.hidden {
    display: none !important;
}

.hpp-selected-location {
    background: #f6f6f6;
    border-left: 4px solid #fed000;
    padding: 12px 16px;
    margin: 15px 0;
    font-weight: 600;
    font-size: 14px;
    display: none;
}

.hpp-selected-location.is-visible {
    display: block;
}

.hpp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hpp-modal-overlay.is-open {
    display: flex;
}

.hpp-modal {
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hpp-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    color: #333333;
}

.hpp-modal__content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.hpp-modal__column {
    display: flex;
    flex-direction: column;
}

.hpp-modal__column--list {
    width: 38%;
    min-width: 320px;
    border-right: 1px solid #e6e6e6;
    background: #ffffff;
}

.hpp-modal__column--map {
    flex: 1;
    position: relative;
    min-width: 0;
}

#hpp_map {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.hpp-filter-block {
    padding: 18px;
    border-bottom: 1px solid #ededed;
    background: #fafafa;
}

.hpp-filter-block label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222222;
}

#hpp-filter {
    width: 100%;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 15px;
}

#hpp-filter:focus {
    outline: none;
    border-color: #fed000;
    box-shadow: 0 0 0 1px #fed000;
}

.hpp-filter-type {
    display: none;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.hpp-type-button {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hpp-type-button:hover {
    border-color: #b5b5b5;
}

.hpp-type-button.active {
    background: #fed000;
    border-color: #d9b200;
}

.hpp-checkout-select {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    background: #ffffff;
}

.hpp-checkout-select-item {
    cursor: pointer;
    padding: 12px;
    border: 1px solid transparent;
    position: relative;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hpp-checkout-select-item-payment-methods {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 10px;
    top: 10px;
}

.hpp-checkout-select-item-payment-methods span {
    font-size: 12px;
    color: #aaa;
    border: 1px solid #aaa;
    border-radius: 20px;
    white-space: nowrap;
    padding: 5px 15px;
    text-align: center;
}

.hpp-checkout-select-item-payment-methods span:nth-child(2) {
    margin-top: 5px;
}

.hpp-checkout-select-item:hover {
    border-color: #fed000;
    background: #fffdf3;
}

.hpp-checkout-select-item.active {
    border-color: #e21a3b;
    background: #fff4f6;
}

.hpp-checkout-select-item .pull-left {
    padding: 0 12px 0 0;
}

.hpp-checkout-select-item img {
    width: 42px;
    height: auto;
}

.hpp-checkout-select-item .cloud {
    font-size: 14px;
    line-height: 1.4;
}

.hpp-checkout-select-item .cloud b {
    display: block;
    margin-bottom: 6px;
}

.hpp-checkout-select-item:last-child {
    margin-bottom: 0;
}

img.leaflet-marker-icon {
    width: auto !important;
    height: auto !important;
}

.marker-cluster {
  background: rgba(226, 26, 59, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.marker-cluster {
    box-shadow: none;
    background-color: transparent;
    color: #fff;
}

.marker-cluster div {
  background: #e21a3b;
}

.hpp-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hpp-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  background: #f6f6f6;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hpp-action-btn.is-hidden {
    display: none !important;
}

.hpp-action-btn img {
  max-width: 20px;
  height: auto;
  display: block;
}

.hpp-print-label {
  background: #ffd200;
  border-color: #d1a800;
}

.hpp-print-label:hover {
  background: #ffe066;
}

.hpp-cancel-label {
  background: #d7263d;
  border-color: #a71a2a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.hpp-cancel-label.is-hidden {
    display: none;
}

.hpp-cancel-label span[aria-hidden="true"] {
  color: #fff;
}

.hpp-action-btn.updating,
#hpp-bulk-print.updating,
#hpp-bulk-cancel.updating {
  opacity: 0.6;
  pointer-events: none;
}

.hpp-open-modal {
    background-color: #fed000;
    color: #222222;
    border: none;
    box-shadow: none;
    height: 30px;
    padding: 0 20px;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    cursor: pointer;
}
