/* LTC365_GOOD_FORM_V5: presentation-only; scoped to Ngay tot form */
.tc-app .tc-tab[data-tab="good"].tcg5-good-tab{overflow-x:clip}
.tc-app .tc-tab[data-tab="good"]>.tc-card.tcg5-form-card{
  position:relative;
  padding:clamp(15px,4.3vw,23px)!important;
  border:1.6px solid #d8b46c!important;
  border-radius:26px!important;
  background:linear-gradient(145deg,#fffdf7 0%,#fff5df 60%,#ffedc7 100%)!important;
  box-shadow:0 8px 24px rgba(107,64,29,.13),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
#tc-good-form.tcg5-upgraded{display:flex!important;flex-direction:column;gap:0;margin:0!important;min-width:0;}
#tc-good-form .tcg5-head{display:flex;align-items:flex-start;gap:11px;padding:3px 0 15px;margin-bottom:15px;border-bottom:1px solid #e9d4a7}
#tc-good-form .tcg5-head-symbol{display:flex;flex:none;align-items:center;justify-content:center;width:43px;height:43px;border-radius:15px;background:linear-gradient(155deg,#fff3c8,#edce8a);border:1px solid #e3bc69;color:#9a233a;font-size:28px;box-shadow:0 3px 9px #a36a2621}
#tc-good-form .tcg5-head-copy{flex:1;min-width:0}
#tc-good-form .tcg5-head h2{font:800 clamp(19px,4.65vw,24px)/1.3 system-ui,-apple-system,'Segoe UI',sans-serif!important;letter-spacing:.1px;margin:0 0 5px!important;color:#8d1934!important}
#tc-good-form .tcg5-head p{font-size:clamp(13px,3.5vw,15px);line-height:1.5;margin:0!important;color:#6d503b!important}
#tc-good-form button.tcg5-profile-edit.tc-pgd-link{
  width:100%;min-height:69px;display:flex;align-items:center;gap:11px;
  padding:10px 13px!important;margin:0 0 11px!important;box-sizing:border-box;
  border:1.5px solid #d8a55a!important;border-radius:17px!important;
  color:#fff9ef!important;background:linear-gradient(105deg,#851f35,#a22640 55%,#841c32)!important;
  box-shadow:0 6px 15px rgba(127,26,47,.21),inset 0 1px 0 #ffffff36!important;text-align:left!important;
  cursor:pointer;transition:transform .16s ease,box-shadow .16s ease;
}
#tc-good-form .tcg5-edit-symbol{flex:none;display:flex;justify-content:center;align-items:center;width:42px;height:42px;border-radius:13px;background:#ffffff21;color:#ffe19e;font-size:27px}
#tc-good-form .tcg5-edit-copy{min-width:0;flex:1;display:grid;gap:3px}
#tc-good-form .tcg5-edit-copy strong{font-size:clamp(16px,4.2vw,19px);line-height:1.25;font-weight:800;color:#fffafa!important}
#tc-good-form .tcg5-edit-copy small{font-size:clamp(12px,3.1vw,14px);line-height:1.35;color:#ffe7ca!important;font-weight:450}
#tc-good-form .tcg5-edit-arrow{flex:none;color:#ffe3a5;font-size:30px;font-weight:600;line-height:1}
#tc-good-form .tcg5-profile-panel{display:flex;align-items:flex-start;gap:10px;background:linear-gradient(110deg,#fffefa,#fff1d7);border:1px solid #e5ca93;border-radius:17px;padding:12px 13px;box-shadow:0 2px 7px rgba(120,77,32,.06);margin-bottom:18px}
#tc-good-form .tcg5-profile-symbol{display:flex;flex:none;justify-content:center;align-items:center;width:39px;height:39px;border-radius:12px;background:#f8dfac;color:#98233d;font-size:21px}
#tc-good-form .tcg5-profile-copy{min-width:0;flex:1}
#tc-good-form .tcg5-profile-label{display:block;color:#85273a;font-size:clamp(15px,3.9vw,17px);font-weight:800;margin:0 0 3px}
#tc-good-form .tcg5-profile-info.tc-pgd-note{font-size:clamp(13px,3.4vw,15px);font-weight:550;line-height:1.55;color:#664837!important;margin:0!important;overflow-wrap:anywhere}
#tc-good-form label.tcg5-field{display:block!important;margin:0 0 18px!important;color:#7e2537!important;font-weight:inherit!important;line-height:1.4}
#tc-good-form .tcg5-field-title{display:flex;align-items:center;gap:8px;font-size:clamp(16px,4.1vw,19px);font-weight:800!important;line-height:1.4;color:#822338;margin:0 0 4px}
#tc-good-form .tcg5-field-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:9px;background:#fbe5b9;color:#a12843;border:1px solid #ecd09b;font-size:17px}
#tc-good-form .tcg5-field-help{display:block;color:#806550;font-size:clamp(12px,3.2vw,14px);font-weight:450;line-height:1.4;margin:0 0 9px 2px}
#tc-good-form select.tcg5-select{
  display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;height:59px!important;min-height:54px!important;
  background:linear-gradient(105deg,#fffefa,#fffaf1)!important;color:#3f2e28!important;
  border:1.5px solid #d6b472!important;border-radius:16px!important;
  box-shadow:0 2px 6px #8e5b2913,inset 0 1px 1px #ffffffd9!important;
  font:750 clamp(16px,4.2vw,19px)/1.3 system-ui,-apple-system,'Segoe UI',sans-serif!important;
  padding:0 45px 0 15px!important;
  appearance:none!important;-webkit-appearance:none!important;
  /* Internal native select options stay unchanged. Arrow is a data-free visual asset. */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238b2a40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),linear-gradient(105deg,#fffefa,#fffaf1)!important;
  background-position:right 15px center,center!important;
  background-size:18px 18px,auto!important;
  background-repeat:no-repeat!important;
}
#tc-good-form select.tcg5-select:focus-visible,#tc-good-form button:focus-visible{outline:3px solid #d2a146!important;outline-offset:3px!important}
#tc-good-form .tcg5-wedding-note.tc-pgd-note:not([hidden]){margin:0 0 15px!important;padding:11px 13px!important;background:#fff8e8;border:1px solid #e8c692;border-left:4px solid #aa4356;border-radius:12px;font-size:14px;color:#733a3d!important;line-height:1.5}
#tc-good-form .tcg5-wedding-note[hidden]{display:none!important}
#tc-good-form button.tcg5-submit{
  display:flex!important;align-items:center;justify-content:center;gap:11px;width:100%;min-height:73px!important;
  padding:13px 10px!important;margin:2px 0 0!important;border:1.5px solid #dca65b!important;border-radius:18px!important;
  background:linear-gradient(115deg,#8a1d35,#ae2345 55%,#851a33)!important;
  color:#fff8e9!important;box-shadow:0 8px 17px rgba(125,30,48,.20),inset 0 1px 0 #ffffff46!important;
  text-align:center!important;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease;
}
#tc-good-form .tcg5-submit-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#ffffff1c;color:#ffe49e;border-radius:11px;font-size:22px}
#tc-good-form .tcg5-submit-copy{min-width:0;display:grid;gap:3px}
#tc-good-form .tcg5-submit-copy strong{font-size:clamp(15px,4.1vw,19px);font-weight:800!important;line-height:1.3;color:#fffaf2!important}
#tc-good-form .tcg5-submit-copy small{font-size:clamp(12px,3.1vw,14px);font-weight:450;color:#ffe8c5!important;line-height:1.3}
#tc-good-form .tcg5-submit-arrow{font-size:26px;color:#ffe0a2;flex:none}
#tc-good-form .tcg5-profile-edit:active,#tc-good-form .tcg5-submit:active{transform:translateY(1px);box-shadow:0 3px 7px rgba(125,30,48,.17)!important}
@media(max-width:390px){
 .tc-app .tc-tab[data-tab="good"]>.tc-card.tcg5-form-card{padding:14px!important;border-radius:22px!important}
 #tc-good-form .tcg5-head-symbol{width:37px;height:37px;font-size:24px}
 #tc-good-form .tcg5-edit-symbol{width:34px;height:34px;font-size:22px}
 #tc-good-form .tcg5-profile-symbol{width:34px;height:34px}
 #tc-good-form .tcg5-submit-icon{display:none}
 #tc-good-form button.tcg5-submit{gap:4px}
}
@media(prefers-reduced-motion:reduce){#tc-good-form .tcg5-profile-edit,#tc-good-form .tcg5-submit{transition:none}}
