.checkout-content {
  padding-bottom: 120px;
  display: none;
}

.section {
  padding: 16px;
  border-top: 8px solid #f4f4f4;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

label span {
  color: var(--text);
}

/* Input */
.input {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px;
  margin-top: 6px;
}

.input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
}

.input:focus {
  box-shadow: 0 0 0 3px rgba(78,115,223,0.15);
  border: 1.5px solid var(--primary);
}

.readonly-input,.readonly-text {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #666;
  cursor: not-allowed;
}

.icon {
  margin-right: 8px;
}

.additional-information {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
}

.additional-information-text {
  font-size: 16px;
  font-weight: bold;
}

.additional-information-action {
  cursor: pointer;
  color: var(--primary);
}

.additional-information-action:hover {
  color: var(--text);
  text-decoration: underline;
}

.gender-wrapper {
  display: flex;
  gap: 20px;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.form-label {
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.input-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 15px;
  background: #fff;
}

.input-box .icon {
  color: #555;
  font-size: 18px;
}

/* TEXTAREA FULL WIDTH TANPA BORDER */
.input-box textarea {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 16px;
  background: transparent;
}

.select2-container--default .select2-selection--single {
  border: none !important;
  background: transparent !important;
  height: auto;
}

.select2-container {
  flex: 1;
}

.select2-selection__rendered {
  line-height: normal !important;
  padding-left: 0 !important;
}

.select2-selection__arrow {
  display: none; /* karena kita sudah punya icon */
}

.select2-custom-title {
  font-weight:600;
}

.select2-custom-detail {
  font-size:12px;
  color:#000;
}

/* Payment method */
.payment-option-wrapper {
  overflow: hidden;
  transition: 
    max-height 0.3s ease,
    opacity 0.2s ease;
}

/* kondisi tampil */
.payment-option-wrapper.show {
  /*max-height: 500px;*/   /* sesuaikan dengan tinggi konten */
  opacity: 1;
  pointer-events: auto;
}

/* kondisi tersembunyi */
.payment-option-wrapper.hide {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.payment-option-wrapper.hide {
  transform: scaleY(0);
  transform-origin: top;
}

.payment-method {
  display: flex;
  gap: 12px;
}

.method {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  text-align: center;
  cursor: pointer;
}

.method.active {
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Error */
.error {
  color: red;
  font-size: 13px;
}

/* Option */
.option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-top: 8px;
  cursor: pointer;
}

.option.active {
  border: 2px solid var(--primary);
  color: var(--primary);
}