/* Make jQuery-confirm box smaller and cleaner */
.jconfirm .jconfirm-box {
  width: 390px !important;     /* default is around 500px+ */
  max-width: 90vw;
  padding: 20px 22px;
  border-radius: 10px;
  
  height: auto;        /* <-- set your preferred max height */
}

/* Reduce title spacing */
.jconfirm-title-c {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Make buttons smaller and tighter */
.jconfirm-buttons button {
  padding: 6px 14px;
  font-size: 14px;
}

/* Form and spacing adjustments */
.jconfirm-content {
  font-size: 14px;
  line-height: 1.4;
}

.jconfirm .form-group {
  margin-bottom: 10px;
}

/* Inline elements */
.zip-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Optional: shrink input heights */
.jconfirm .form-control {
  height: 32px;
  font-size: 13px;
  
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Compact shipping note */
.shipping-note {
  font-size: 12.5px;
  color: #555;
  margin-top: 8px;
}

.jconfirm .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

@media (max-width: 600px) {
  .jconfirm .jconfirm-box {
    width: 95vw !important;
    max-width: 95vw;
    margin: 0 auto;
  }
}










.signin-section {
    text-align: center;
    margin-bottom: 16px;
}
.signin-btn {
    background-color: #e7e9ec;
    border: 1px solid #adb1b8;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #111;
    cursor: pointer;
}
.signin-btn:hover {
    background-color: #d6d9dc;
}

.shipping-note {
    margin-top: 12px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}
.result-info {
    margin-top: 8px;
    color: #111;
    font-size: 14px;
    font-weight: 500;
}
.maskitta-green-btn {
    background-color: #009b3a;
    border: 1px solid #fcd200;
    color: #111;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 16px;
}
.maskitta-green-btn:hover {
    background-color: #f7ca00;
}

.zip-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.zip-row .form-control {
    flex: 1;
}

.apply-btn {
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
}


/* Spinner beside Apply button */
.loader {
    border: 3px solid #f3f3f3;  /* Light gray */
    border-top: 3px solid #ff9900; /* Maskitta green */
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-tick {
    color: #00a650; /* Amazon green */
    font-size: 20px;
    margin-left: 5px;
    animation: tickpop 0.3s ease;
}

@keyframes tickpop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}











.saved-addresses {
  margin-bottom: 10px;
}

.address-option {
  margin-bottom: 8px;
  cursor: pointer;
}

.address-card {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 8px 10px;
  border-radius: 6px;
  width: 100%;
  font-size: 13px;
}

/*.address-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f9fafb;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}*/

.address-option:hover {
  background: #eef6ff;
  border-color: #c7dfff;
}

.address-option.selected {
  background: #e8f1ff;
  border-color: #6aa6ff;
  box-shadow: 0 0 0 2px #c8deff;
}


.selectedAddressCard {
  background: #e8f1ff;
  border-color: #6aa6ff;
  box-shadow: 0 0 0 2px #c8deff;
}


.default-badge {
  background: #d7fbe2;
  color: #046c4e;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}

.alt-badge {
  background: #eef2ff;
  color: #1e40af;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}






.address-scroll-container {
    max-height: 240px;       /* adjust to your needs */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;      /* avoids scrollbar overlay */
    margin-top: 10px;
}

/* Make jQuery dialog scroll */
.jconfirm-content-pane {
    max-height: 70vh !important; 
    overflow-y: auto;
    overflow-x: hidden;
}


