* {
  box-sizing: border-box;
}
.shipping-address-form-title {
  text-align: center;
  font-weight: 600;
}

.shipping-address-form {
  width: 100%;
  padding: 0 40px;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.shipping-address-form label {
  display: block;
  line-height: 1;
  font-size: 14px;
  color: rgba(18, 18, 18, 0.7);
  transition: all 0.3s ease;
}

.shipping-address-form input,
.shipping-address-form select {
  display: block;
  width: 100%;
  padding: 10px 0;
  outline: none;
  border: none;
  background-color: transparent;
  color: #2b2d2f;
  font-size: 16px;
}

.shipping-address-form .form-group {
  width: calc(50% - 10px);
  padding: 10px 10px 0;
  border: 1px solid rgba(18, 18, 18, 0.8);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (max-width: 768px) {
  .shipping-address-form .form-group {
    width: 100%;
  }
}

.shipping-address-form .form-group:has(input:focus),
.shipping-address-form .form-group:has(select:focus) {
  border-color: #000000;
  outline: 1px solid #000000;
}

.shipping-address-form .save-address-btn {
  margin-top: 10px;
  width: 100%;
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.shipping-address-form .save-address-btn:hover {
  background-color: #636363;
  border-color: #636363;
}

/* Loader Wrapper */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark transparent background */
  backdrop-filter: blur(5px); /* Blurred effect */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader Box */
.loader-box {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* Animated Dots */
.loader-box span {
  display: inline-block;
  animation: dots 1.5s infinite;
}

.loader-box span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader-box span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dots {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Toast Message Styles */
.toast-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
