.signup {
  color: #f9fafb;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
}

.signup .div {
  max-width: 1200px;
  margin: 0 auto;
}

.signup .banner {
  width: 100%;
  height: 200px;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/images/custom-cakes.png') no-repeat center;
  background-size: cover;
  position: relative;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup .checkout {
  font-size: 32px;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.signup .text-wrapper-23 {
  font-size: 14px;
  color: #4b5563;
  margin: 15px 0;
  font-weight: 500;
}

.signup .frame-8 {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.signup .frame-8-content {
  display: flex;
  gap: 30px;
  width: 100%;
}

.signup .form-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup .group-15 {
  width: auto;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.signup .cart-header,
.signup .discount-header {
  font-size: 18px;
  color: #1e3a8a;
  margin-bottom: 15px;
  font-weight: 600;
}

.signup .cart-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.signup .cart-item:last-child {
  border-bottom: none;
  font-weight: 600;
  color: #1e3a8a;
  font-size: 16px;
}

.signup .terms-section {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjusted gap for better alignment */
}

.signup .terms-section label {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.signup .terms-section a {
  color: #1e3a8a;
  text-decoration: none;
}

.signup .terms-section a:hover {
  text-decoration: underline;
}

.signup .group-15 {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px; /* Increased gap for better spacing */
}

.signup .cart-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.signup .cart-item:last-child {
  border-bottom: none;
  font-weight: 600;
  color: #1e3a8a;
  font-size: 16px;
}

.signup .terms-section {
  display: flex;
  align-items: center;
  gap: 15px; /* Even spacing between checkbox and text */
  margin-top: 15px;
}

.signup .terms-section input[type="checkbox"] {
  margin: 0; /* Remove default margin */
  width: 20px; /* Ensure consistent size */
  height: 20px; /* Ensure consistent size */
}

.signup .terms-section label {
  font-size: 14px;
  color: #6b7280;
  margin: 0; /* Remove default margin */
  display: flex;
  align-items: center;
  gap: 4px; /* Space between text and link */
}

.signup .terms-section a {
  color: #1e3a8a;
  text-decoration: none;
}

.signup .terms-section a:hover {
  text-decoration: underline;
}

.signup .discount-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup .discount-form {
  display: flex;
  align-items: center;
  gap: 15px; /* Increased gap for better spacing between input and button */
}

.signup .discount-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  max-width: 70%; /* Limit input width to balance with button */
}

.signup .discount-button {
  padding: 10px 20px;
  background-color: #1e3a8a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  min-width: 80px;
  text-align: center;
}

.signup .discount-button:hover {
  background-color: #1e40af;
}

.signup .discount-button:hover {
  background-color: #1e40af;
}

.signup .frame-9 {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.signup .frame-wrapper {
  background: #ffffff;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.signup .frame-wrapper:last-child {
  margin-bottom: 0;
}

.signup .text-wrapper-6,
.signup .text-wrapper-12 {
  font-size: 20px;
  color: #1e3a8a;
  margin-bottom: 20px;
  font-weight: 600;
}

.signup .text-wrapper-7 {
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
  font-weight: 500;
}

.signup .frame-12 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.signup input,
.signup textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.signup input:focus,
.signup textarea:focus {
  outline: 2px solid #1e3a8a;
  border-color: #1e3a8a;
}

.signup textarea {
  min-height: 100px;
  resize: vertical;
}

.signup .payment-method {
  margin-top: 15px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.signup .payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.signup .payment-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.signup .payment-option:hover {
  border-color: #1e3a8a;
}

.signup .payment-option.selected {
  border-color: #1e3a8a;
  border-width: 2px;
}

.signup .payment-option input {
  width: auto;
  margin: 0;
}

.signup .payment-option .payment-details {
  display: flex;
  flex-direction: column;
}

.signup .payment-option .payment-title {
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 4px;
}

.signup .payment-option .payment-description {
  font-size: 13px;
  color: #6b7280;
}

.signup .buttons-2 button {
  padding: 12px 24px;
  background-color: #1e3a8a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%; /* Ensure button fills the div */
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.signup .buttons-2 button:hover {
  background-color: #1e40af;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.signup .buttons-2 button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

.signup .buttons-2 button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.signup .error {
  background-color: #fef2f2;
  color: #dc2626;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #fecaca;
}

.signup .error p {
  margin: 0;
}

@media (max-width: 768px) {
  .signup .frame-8 {
    flex-direction: column;
  }
  
  .signup .group-15 {
    max-width: 100%;
    position: relative;
    top: 0;
    align-self: stretch;
  }
  
  .signup .frame-12 {
    grid-template-columns: 1fr;
  }
  

  .signup .checkout {
    font-size: 24px;
  }
  
  .signup .payment-options {
    flex-direction: column;
  }
  
  .signup .payment-option {
    width: 100%;
  }
}