@charset "UTF-8";

/* ============================================ */
/* 公益捐贈計劃-收件資料區塊 (PRO008116-9)       */
/* 來源 layout：templates/layout_cart.php        */
/* ============================================ */
.donate-section {
  border: 1px solid #e74c3c;
  border-radius: 4px;
  padding: 20px;
  margin: 20px 0;
  background: #fff;
}
.donate-section .donate-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
}
.donate-section .donate-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-style: italic;
  font-weight: bold;
  font-size: 13px;
  margin-right: 8px;
  font-family: serif;
}
.donate-section .donate-radios {
  margin-bottom: 16px;
}
.donate-section .donate-radios label {
  margin-right: 24px;
  cursor: pointer;
  font-weight: normal;
}
.donate-section .control-label span {
  color: #e74c3c;
  margin-right: 2px;
}
.donate-section .control-label small {
  color: #888;
  margin-left: 4px;
  font-weight: normal;
}
.donate-section .donate-input-wrap {
  position: relative;
}
.donate-section .donate-input-wrap .form-control {
  padding-right: 60px;
}
.donate-section .donate-counter {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #888;
}
.donate-section .donate-name-note {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.donate-section .donate-name-note .donate-name-input {
  flex: 0 0 200px;
  width: 200px;
}
.donate-section .donate-name-note .donate-counter {
  position: static;
  transform: none;
  margin-left: 8px;
}
.donate-section .donate-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: #e74c3c;
}
.donate-section .donate-info {
  padding: 12px 16px;
  background: #f5f5f5;
  border-radius: 4px;
  color: #555;
  font-size: 14px;
  margin: 0;
}
/* Select2 對齊 */
.donate-section .select2-container--default .select2-selection--single {
  height: 38px;
  line-height: 38px;
  border-color: #ccc;
}
.donate-section .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
  padding-left: 12px;
}
.donate-section .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}
