 .wt-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.4);
    display: none;
    opacity: 0;
    padding: 15px;
    text-align: left;
 }

 .wt-modal a {
   text-decoration: none !important;
   outline: none !important;
 }

 .wt-modal.wt-modal-open {
    display: flex !important;
    opacity: 1 !important;
 }

 .wt-modal .wt-modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    max-height: 1000px;
    background-color: #fefefe;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;
 }

 .wt-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 0;
 }

 .wt-toolbar-title {
    font-weight: 600;
    font-size: 18px;
 }

 .wt-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wt-modal-close:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.wt-modal-close:active {
    background-color: #d1d5db;
    transform: scale(0.95);
}

.wt-modal-close svg {
    width: 20px;
    height: 20px;
}

.wt-modal-body {
   flex: 1;
   width: 100%;
}

.wt-modal-body iframe {
   display: block;
}

#wt-map {
    width: 100%;
    height: 100%;
}

.wt-full-width {
    width: 100% !important;
}

.wt-row {
   display: flex;
   flex-direction: row;
   gap: 20px;
}

.wt-left-column {
   width: 400px;
   flex: 0 0 400px;
}

.wt-right-column {
   width: 100%;
}

@media screen and (max-width: 992px) {
   .wt-left-column {
      width: 100%;
      flex: 0 0 100%;
   }

   .wt-right-column {
     display: none;
   }

   /* Full screen modal on mobile */
   .wt-modal {
      padding: 0;
   }

   .wt-modal .wt-modal-content {
      max-width: 100%;
      max-height: 100%;
      border-radius: 0;
   }
}

.wt-form-group {
   margin-bottom: 10px;
}

.wt-locations-list {
   height: 400px;
   overflow-y: auto;
   border: 1px #eee solid;
   padding: 5px;
}

.wt-location {
   display: flex;
   flex-direction: row;
   align-items: center;
   padding: 5px 0px;
   margin: 5px 0px;
   border-bottom: 1px #f1f1f1 solid;
}

.wt-location-left {
   width: 100%;
}

.wt-location-name {
   font-weight: 600;
   font-size: 15px;
   line-height: 18px;
}

.wt-location-address {
   font-size: 14px;
   line-height: 17px;
   margin-top: 3px;
}

.wt-select-location {
   width: 100%;
   margin-top: 5px;
   line-height: 1;
   font-size: 14px;
   padding: 10px 15px !important;
   margin: 0 !important;
}

.wt-location-popup {
   min-width: 250px;
}

.wt-location-popup-title {
   font-weight: 600;
   font-size: 14px;
}

.wt-location-popup-address {
   margin-top: 5px;
   font-size: 13px;
}

/* Locations Button - extends WooCommerce button styles */
.wt-locations-btn {
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   gap: 8px;
   width: 100%;
   padding-top: 10px !important;
   padding-bottom: 10px !important;
}

.wt-locations-btn svg {
   flex-shrink: 0;
}

.wt-location-details {
   margin-top: 10px;
}

/* Location Card */
.wt-location-card {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 12px;
   padding: 12px 14px;
   background-color: #ffffff;
   border: 1px solid #e5e5e5;
   border-radius: 6px;
}

.wt-location-card-logo {
   flex-shrink: 0;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.wt-location-card-logo img {
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
}

.wt-location-card-info {
   flex: 1;
   min-width: 0;
}

.wt-location-card-name {
   font-weight: 600;
   font-size: 13px;
   line-height: 1.4;
   color: #333;
   margin-bottom: 2px;
}

.wt-location-card-address {
   font-size: 12px;
   line-height: 1.4;
   color: #666;
}

.wt-location-logo {
   padding: 0px 8px;
}

.wt-location-logo img {
   max-width: 35px;
   max-height: 35px;
}

/* Order received page - Delivery point section */
.woocommerce-delivery-point {
   margin-top: 2em;
}

.woocommerce-delivery-point__title {
   font-size: 1.25em;
   margin-bottom: 0.75em;
}