/* Modal Container */
.modal-checkout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 111111;
}

.modal-head {
  padding: 12px 36px;
  position: relative;
  min-height: 64px;

  background: #fff;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-top: 24px;
}

.modal-form-container {
  padding: 12px 36px;
  padding-bottom: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modal-head h2 {
  font-size: 12px;
  font-weight: 700;
  margin: 12px;
}
/* Modal Box */
.modal-content {
  width: 400px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  animation: slideDown 0.6s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background-color: #f4f5f9;
  /* min-height: 479.5px; */
  height: fit-content;
}

/* Slide Down Animation */
@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Icon */
.close {
  position: absolute;
  right: -12px;
  top: -12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #393941;
  color: #fff;
  padding: 0px 8px;
  cursor: pointer;
}

/* Logo */
.logo {
  width: 80px;
  margin-bottom: 10px;
  filter: invert(1);
  max-height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  max-width: 240px;
  margin-top: 3px;
  margin-bottom: 3px;
  margin: auto;
}

/* Product Box */
.product-box {
  padding: 8px 12px;
  border-radius: 2px;
  box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  margin: 12px 0 24px;
  background: #fff;
  transition: all 0.2s ease;
  min-height: 42px;
  justify-content: space-between;
  font-size: 12px;
}

.product-box #price {
  font-weight: 600;
}

/* Input Fields */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* Button */
.next-btn {
  background-color: rgb(0, 0, 0);
  color: rgb(0, 0, 0);
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  position: relative;
  background-repeat: no-repeat;
  white-space: nowrap;
  text-decoration: none !important;
  border-radius: 2px;
  font-weight: 700;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  height: 40px;
  padding: 0 30px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 14px;
  margin-top: 69px;
  outline: none;
  border: none;
}

form input {
  width: 100%;
  min-height: 44px;
  padding: 15px 15px 8px;
  font-size: 14px;
  outline: none;
  background: #fff;
  -webkit-appearance: none;
  border: none;
}

form .input-flex {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin-bottom: 2px;
}

.modal-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
