.checkout-container {
  max-width: 600px;
  margin: 10px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #282c3f;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaec;
}

.form-section {
  margin-bottom: 18px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-column {
  flex: 1;
  min-width: 250px;
}

.form-group {
  margin-bottom: 6px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #282c3f;
  font-weight: 500;
}

.required::after {
  content: "*";
  color: #ff3f6c;
  margin-left: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d4d5d9;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: #282c3f;
  box-shadow: 0 0 0 3px rgba(40, 44, 63, 0.1);
}

.form-input:hover {
  border-color: #282c3f;
}

.form-input.error {
  border-color: #ff3f6c;
  background-color: #fff9fa;
}

.error-message {
  color: #ff3f6c;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.address-type {
  display: flex;
  gap: 20px;
  margin: 10px 0;
}

.address-type label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.address-type input[type="radio"] {
  width: 12px;
  height: 12px;
  accent-color: #ff3f6c;
}

.address-type input[type="radio"]:checked + span {
  color: #ff3f6c;
}
.form-btn-section {
  display: flex;
  gap: 10px;
}
.submit-btn {
  background: #ff3f6c;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  max-width: 420px;
  margin: 0px auto;
  display: block;
}

.cancel-btn {
  flex: content;
  background: #ff3f6c;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  max-width: 420px;
  margin: 0px auto;
  display: block;
}

.submit-btn:hover {
  background: #ff527b;
}

@media (max-width: 768px) {
  .checkout-container {
    margin: 10px;
    padding: 20px;
    border-radius: 4px;
  }

  .form-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .form-column {
    flex: 100%;
    min-width: 100%;
  }

  .form-row {
    gap: 15px;
    margin-bottom: 15px;
  }

  .address-type {
    flex-direction: column;
    gap: 12px;
  }

  .address-type label {
    width: 100%;
    justify-content: center;
  }

  .submit-btn {
    width: 100%;
    max-width: none;
  }
}

/* Small improvements for larger screens */
@media (min-width: 1024px) {
  .checkout-container {
    margin: 0px auto;
  }

  .form-row {
    margin-bottom: 12px;
  }
}
