/* Telegram service: the same restrained surfaces and spacing as RESPA's store. */
#tgstars { padding-bottom: 34px; }
#tgstars .container { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 12px; }
#tgstars .index__group, #tgstars .index__group2 { gap: 12px; min-width: 0; }
#tgstars .tg-form { --padding-x: clamp(24px,3vw,40px); --padding-y: 34px; padding: var(--padding-y) var(--padding-x); }
.tg-form__heading { display: flex; align-items: center; gap: 17px; margin-bottom: 27px; }
.tg-form__mark { flex: none; width: 58px; height: 58px; }
.tg-form__mark svg { display: block; width: 100%; height: 100%; }
.tg-form__heading h1 { margin: 0; color: #f0f3f1; font: 600 clamp(25px,2.1vw,30px)/1.14 Inter,Arial,sans-serif; letter-spacing: -.035em; }
.tg-form__heading p { margin: 6px 0 0; color: #9ca8aa; font: 400 14px/1.45 Inter,Arial,sans-serif; }
.tg-service-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 25px; }
#tgstars .tg-service-btn { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; min-width: 0; min-height: 75px; margin: 0; padding: 13px 15px !important; border: 1px solid #30363a; border-radius: 11px !important; color: #e0e8e3; background: #1b2025; text-align: left; font-family: inherit; cursor: pointer; transition: background .18s,border-color .18s,transform .18s; }
#tgstars .tg-service-btn.active { color: #eef7ed; background: #1b2821 !important; border-color: #71ce6c !important; }
#tgstars .tg-service-btn:not(:disabled):hover { border-color: #9bea92 !important; background: #213027 !important; }
#tgstars .tg-service-btn:disabled { color: #87918f; background: #191e22; border-color: #292f32; opacity: 1; cursor: not-allowed; }
#tgstars .tg-service-btn .tg-svc-icon { width: 22px; height: 22px; margin: 0; color: #90df8b; }
#tgstars .tg-service-btn:disabled .tg-svc-icon { color: #75817d; }
.tg-service-btn__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.tg-service-btn__copy strong { font-size: 14px; line-height: 1.2; font-weight: 600; }
.tg-service-btn__copy small { color: #9ba8a2; font-size: 12px; line-height: 1.3; font-weight: 400; }
.tg-service-btn:disabled small { color: #858f8e; }
#tgstars .tg-service-btn__check { width: 17px; height: 17px; color: #91e58b; }
#tgstars .tg-duration-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 10px; color: #e5eae7; font: 600 14px/1.35 Inter,Arial,sans-serif; }
#tgstars .tg-duration-title span:last-child { color: #96a39e; font-size: 12px; font-weight: 400; }
#tgstars .tg-presets { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 0; }
#tgstars .tg-preset { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 66px; min-width: 0; padding: 10px 12px; border: 1px solid #30363a; border-radius: 10px; background: #1d2228; color: #d5ded9; text-align: left; font: 600 14px/1.3 Inter,Arial,sans-serif; cursor: pointer; transition: border-color .18s,background .18s,color .18s,transform .18s; }
#tgstars .tg-preset .sub { margin-top: 5px; color: #9fa9a6; font: 400 12px/1.3 Inter,Arial,sans-serif; white-space: nowrap; }
#tgstars .tg-preset:hover:not(:disabled) { background: #242d2a; border-color: #638a6b; color: #f2f7f2; }
#tgstars .tg-preset.active { background: #202e24 !important; border-color: #73d36e !important; color: #f3faf3; box-shadow: inset 0 0 0 1px rgba(115,211,110,.18); }
#tgstars .tg-preset.active .sub { color: #b2e3af !important; }
#tgstars .tg-preset:disabled { opacity: .62; cursor: not-allowed; }
#tgstars .tg-preset:active:not(:disabled), #tgstars .tg-service-btn:active:not(:disabled) { transform: scale(.985); }
#tgstars .tg-preset:focus-visible, #tgstars .tg-service-btn:focus-visible, #tgstars .tg-submit:focus-visible, #tgstars .tg-price-state button:focus-visible, #tgstars .tg-consent a:focus-visible { outline: 2px solid #a5e9a1; outline-offset: 3px; }
.tg-price-state { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 11px 12px; border: 1px solid #694c46; border-radius: 9px; color: #efbeb4; background: #2c2020; font: 13px/1.4 Inter,Arial,sans-serif; }
.tg-price-state .ui-icon { width: 17px; height: 17px; }
.tg-price-state span { flex: 1; }
.tg-price-state button { padding: 4px 0; border: 0; color: #efc5bc; background: transparent; font: 600 13px/1.3 Inter,Arial,sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tg-fields { display: grid; gap: 16px; margin-top: 24px; }
.tg-field { min-width: 0; }
.tg-field > label { display: inline-block; margin-bottom: 8px; color: #dce4df; font: 600 13px/1.3 Inter,Arial,sans-serif; }
.tg-field__control { position: relative; display: flex; align-items: center; min-height: 58px; border: 1px solid #2e353b; border-radius: 10px; background: #20252d; transition: border-color .18s,background .18s,box-shadow .18s; }
.tg-field__control:hover { border-color: #4b5d52; background: #242b31; }
.tg-field__control:focus-within { border-color: #80d87b; background: #222b2b; box-shadow: 0 0 0 3px rgba(112,213,108,.1); }
.tg-field__control > .ui-icon { position: absolute; left: 17px; width: 20px; height: 20px; color: #80d97a; pointer-events: none; }
.tg-field__control input { display: block; width: 100%; min-width: 0; height: 56px; padding: 0 15px 0 49px; border: 0; outline: 0; background: transparent; color: #eff4f1; font: 400 15px/1.4 Inter,Arial,sans-serif; }
.tg-field__control input::placeholder { color: #8d9998; opacity: 1; }
.tg-field__hint { margin: 7px 0 0; color: #8e9a98; font: 400 12px/1.4 Inter,Arial,sans-serif; }
.tg-field.is-invalid .tg-field__control { border-color: #dd817a; background: #2a2021; box-shadow: 0 0 0 3px rgba(221,129,122,.07); }
.tg-error { margin: 7px 0 0; color: #f0a9a0; font: 400 12px/1.4 Inter,Arial,sans-serif; }
.tg-duration-error { margin-top: 8px; }
.tg-presets.is-invalid { outline: 1px solid #dd817a; outline-offset: 4px; border-radius: 9px; }
.tg-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding: 16px 0; border-top: 1px solid #2b3332; border-bottom: 1px solid #2b3332; color: #e1e9e2; font: 600 14px/1.35 Inter,Arial,sans-serif; }
.tg-total small { display: block; margin-top: 3px; color: #96a49b; font-size: 12px; font-weight: 400; }
.tg-total strong { color: #93e38d; font-size: 18px; white-space: nowrap; }
.tg-consent { position: relative; margin: 20px 0; }
.tg-consent input { position: absolute; z-index: 1; top: 1px; left: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.tg-consent label { display: flex; align-items: flex-start; gap: 12px; color: #b7c0bc; font: 400 13px/1.5 Inter,Arial,sans-serif; cursor: pointer; }
.tg-consent__check { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border: 1px solid #4f6056; border-radius: 6px; background: #222b29; transition: background .18s,border-color .18s; }
.tg-consent__check .ui-icon { width: 16px; height: 16px; color: transparent; transition: color .18s; }
.tg-consent input:checked + label .tg-consent__check { background: #64d862; border-color: #64d862; }
.tg-consent input:checked + label .tg-consent__check .ui-icon { color: #102214; }
.tg-consent input:focus-visible + label .tg-consent__check { outline: 2px solid #a5e9a1; outline-offset: 3px; }
.tg-consent.is-invalid .tg-consent__check { border-color: #dd817a; }
.tg-consent a { color: #8edb88; text-decoration: none; transition: color .18s; }
.tg-consent a:hover { color: #b0f1a9; text-decoration: underline; }
.tg-consent-error { margin: -12px 0 14px 34px; }
.tg-form__feedback { padding: 11px 13px; margin: 0 0 14px; border: 1px solid #62443e; border-radius: 9px; background: #291d1c; color: #f0c0b8; font: 400 13px/1.45 Inter,Arial,sans-serif; }
.tg-form__feedback:empty { display: none; }
.tg-submit { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 14px 20px; border: 1px solid transparent; border-radius: 10px; background: #69dc64; color: #102014; font: 700 14px/1.3 Inter,Arial,sans-serif; cursor: pointer; transition: background .2s,transform .2s,box-shadow .2s; }
.tg-submit .ui-icon { width: 18px; height: 18px; transition: transform .2s; }
.tg-submit:hover:not(:disabled) { background: #82e57b; box-shadow: 0 8px 23px rgba(93,210,88,.15); }
.tg-submit:hover:not(:disabled) .ui-icon { transform: translateX(3px); }
.tg-submit:active:not(:disabled) { transform: translateY(1px); }
.tg-submit:disabled { background: #36433b; color: #9aa9a0; cursor: not-allowed; }
.tg-submit.is-busy { opacity: .85; }
#tgstars .tg-pay-methods { padding: 20px var(--global-padding) !important; }
#tgstars .tg-pay-methods p { margin-bottom: 13px; }
#tgstars .tg-pay-methods .PayMethods__services { gap: 18px; }
.tg-side { display: flex; flex-direction: column; }
.tg-visual { position: relative; isolation: isolate; min-height: 420px; flex: 1 1 520px; overflow: hidden; border: 1px solid #2b3232; border-radius: 24px; background: #151b1b; }
.tg-visual__art { position: absolute; z-index: -2; inset: 0; background: #151b1b url('/assets/images/respa-premium.png') center 40% / cover no-repeat; filter: saturate(.65) brightness(.82); animation: tg-art-drift 24s ease-in-out infinite alternate; }
.tg-visual:after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(180deg,rgba(12,16,18,.83) 0%,rgba(12,16,18,.08) 39%,rgba(12,16,18,.12) 100%); pointer-events: none; }
.tg-visual__content { position: relative; padding: 33px; }
.tg-visual__content span { color: #a4d69e; font: 600 11px/1.3 Inter,Arial,sans-serif; letter-spacing: .1em; }
.tg-visual__content p { margin-top: 9px; color: #f1f4f1; font: 600 23px/1.25 Inter,Arial,sans-serif; letter-spacing: -.025em; }
.tg-side .respa-support-card a .ui-icon { width: 15px; height: 15px; vertical-align: -3px; }
@keyframes tg-art-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
#tgstars [hidden] { display: none !important; }
@media(max-width:1023px) {
  #tgstars .container { grid-template-columns: minmax(0,1fr); }
  #tgstars .index__group, #tgstars .index__group2 { max-width: 720px; }
  .tg-visual { flex: none; min-height: 360px; }
}
@media(max-width:600px) {
  #tgstars .tg-form { --padding-x: 22px; --padding-y: 25px; }
  .tg-form__heading { gap: 13px; margin-bottom: 23px; }
  .tg-form__mark { width: 48px; height: 48px; }
  .tg-form__heading p { font-size: 13px; }
  .tg-service-toggle { gap: 7px; margin-bottom: 22px; }
  #tgstars .tg-service-btn { min-height: 70px; gap: 9px; padding: 10px !important; }
  #tgstars .tg-service-btn__check { display: none; }
  #tgstars .tg-service-btn .tg-svc-icon { width: 19px; height: 19px; }
  .tg-service-btn__copy strong { font-size: 13px; }
  .tg-service-btn__copy small { font-size: 11px; }
  #tgstars .tg-presets { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #tgstars .tg-pay-methods { padding: 20px 22px !important; }
  .tg-visual { min-height: 275px; }
  .tg-visual__content { padding: 25px; }
  .tg-visual__content p { font-size: 20px; }
}
@media(prefers-reduced-motion:reduce) { .tg-visual__art { animation: none; } #tgstars *, #tgstars *:before, #tgstars *:after { transition-duration: .01ms !important; } }

.tg-form__feedback:has(+ .tg-submit.is-busy) { border-color: #3f5d45; background: #1a2920; color: #cae4ca; }
/* Field validation stays visible during focus and uses the same compact hint scale. */
#tgstars .tg-field.is-invalid .tg-field__control,#tgstars .tg-field.is-invalid .tg-field__control:hover,#tgstars .tg-field.is-invalid .tg-field__control:focus-within{border-color:#d87d75;background:#292021;box-shadow:0 0 0 2px rgba(216,125,117,.09)}
#tgstars .tg-field.is-invalid .tg-field__control>.ui-icon{color:#e1a099}
#tgstars .tg-form p.tg-error{margin-top:6px;color:#eaa49d;font:400 12px/1.4 Inter,Arial,sans-serif}
#tgstars .tg-form p.tg-consent-error{margin:-12px 0 14px 34px}
#tgstars .tg-form__feedback{font:400 13px/1.45 Inter,Arial,sans-serif}
#tgstars .tg-field__control input:read-only{opacity:.72;cursor:wait}
