/* UC96 P223 — art-directed feedback form. Works with Amiro native templates untouched.
Visual system: actual learning photo + UC96 logo, editorial split, quiet one-purpose fields. */
:root{--uc223-forest:#103e3b;--uc223-teal:#009f96;--uc223-aqua:#19b9b2;--uc223-ink:#173532;--uc223-muted:#677e78;--uc223-border:#d8e6e1}
/* Shell architecture: instead of a floating generic white card, an editorial cover with a useful contact panel */
.feedback-modal__dialog.feedback-modal__dialog--inline{
 display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;
 grid-template-rows:minmax(0,1fr) auto!important;gap:0!important;
 width:min(960px,calc(100vw - 54px))!important;max-width:960px!important;
 height:min(735px,calc(100dvh - 44px))!important;max-height:calc(100dvh - 44px)!important;
 padding:0!important;background:#fff!important;overflow:hidden!important;
 border:0!important;border-radius:18px!important;
 box-shadow:0 30px 110px rgba(4,32,31,.32)!important;
}
.feedback-modal__head,.feedback-page-head{
 position:relative!important;isolation:isolate!important;display:flex!important;flex-direction:column!important;
 justify-content:flex-end!important;align-items:flex-start!important;
 min-width:0!important;min-height:0!important;gap:0!important;
 background-image:linear-gradient(180deg,rgba(6,40,37,.15) 0%,rgba(7,48,45,.12) 24%,rgba(6,41,38,.68) 68%,rgba(7,38,36,.93) 100%),url('/_mod_files/ce_images/galleryphoto/practika-v-trenajernom-zale-3.jpg')!important;
 background-size:cover!important;background-position:60% center!important;
 border:0!important;margin:0!important;
}
.feedback-modal__head{
 grid-column:1!important;grid-row:1/3!important;
 height:auto!important;min-height:0!important;
 padding:230px 32px 39px!important;
}
.feedback-modal__head::after{content:none!important}
.feedback-modal__head::before,.feedback-page-head::before{
 content:""!important;position:absolute!important;z-index:2!important;
 top:31px!important;left:27px!important;width:252px!important;height:74px!important;
 border-radius:9px!important;border:1px solid rgba(255,255,255,.35)!important;
 background:#fff url('/_mod_files/ce_images/eshop/logo.png') center center/220px auto no-repeat!important;
 box-shadow:0 12px 25px rgba(0,0,0,.08)!important;
}
.feedback-modal__head .feedback-modal__icon,.feedback-page-head .feedback-page-icon{display:none!important}
.feedback-modal__head-text,.feedback-page-head-text{position:relative!important;z-index:1!important;width:100%!important}
.feedback-modal__head-text::before,.feedback-page-head-text::before{
 content:"Учебный центр профессионалов фитнеса"!important;display:block!important;
 width:100%!important;max-width:270px!important;color:#80e1d7!important;
 font:700 11px/1.5 Manrope,sans-serif!important;letter-spacing:.075em!important;
 text-transform:uppercase!important;margin-bottom:19px!important;
}
.feedback-modal__head-text h2,.feedback-page-head-text h1{
 font:800 clamp(27px,3vw,35px)/1.13 Manrope,sans-serif!important;
 color:#fff!important;letter-spacing:-.045em!important;
 margin:0 0 15px!important;text-wrap:balance!important;
 text-shadow:0 2px 10px rgba(0,0,0,.1)!important;
}
.feedback-modal__head-text p,.feedback-page-head-text p{
 font:450 13px/1.75 Manrope,sans-serif!important;
 max-width:260px!important;color:#d5ede7!important;margin:0!important;
}
.feedback-modal__dialog .feedback-modal__close{
 position:absolute!important;z-index:8!important;top:17px!important;right:18px!important;
 width:35px!important;height:35px!important;border-radius:50%!important;
 background:#f2f7f5!important;border:0!important;box-shadow:none!important;
 color:#476b63!important;font-size:14px!important;
}
.feedback-modal__dialog .feedback-modal__close:hover{transform:none!important;background:#e6f3ef!important}
.feedback-modal__body{grid-column:2!important;grid-row:1!important;padding:37px 46px 12px!important;overflow:auto!important;min-height:0!important;background:#fff!important}
.feedback-modal__body::before,.feedback-page-body::before{
 content:"Ваш вопрос — наша забота"!important;display:block!important;
 color:var(--uc223-ink)!important;font:800 25px/1.22 Manrope,sans-serif!important;
 letter-spacing:-.045em!important;margin:0 0 7px!important;
}
.feedback-modal__body::after,.feedback-page-body::after{display:none!important}
.feedback-modal__body form[name="contact"]::before,.feedback-page-body form[name="contact"]::before{
 content:"Расскажите, что вас интересует. Ответим и поможем с выбором программы."!important;
 display:block!important;color:var(--uc223-muted)!important;
 font:450 12px/1.5 Manrope,sans-serif!important;margin:0 0 23px!important;
}
.feedback-modal__policy{
 grid-column:2!important;grid-row:2!important;
 background:#fff!important;border-top:0!important;padding:7px 46px 26px!important;
 color:#80928e!important;line-height:1.55!important;font:450 10px/1.55 Manrope,sans-serif!important;
}
.feedback-modal__policy a,.feedback-page-policy a{color:#008f87!important}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table > tbody{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:17px 16px!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table > tbody > tr:nth-child(n+5){grid-column:1/-1!important}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] td.label-hidden{
 color:#29443f!important;font:700 12px/1.6 Manrope,sans-serif!important;
 margin:0 0 6px!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] input.feedback_txt{
 height:46px!important;padding:0 13px!important;
 background:#fff!important;border:1px solid #d8e3df!important;border-radius:7px!important;
 font:500 13px/1.3 Manrope,sans-serif!important;color:var(--uc223-ink)!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] input.feedback_txt::placeholder{
 color:transparent!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] textarea[name="info"]{
 background:#fff!important;border:1px solid #d8e3df!important;border-radius:7px!important;
 min-height:88px!important;height:89px!important;padding:11px 13px!important;
 font:500 13px/1.5 Manrope,sans-serif!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] :is(input.feedback_txt,textarea[name="info"]):focus{
 border-color:#159f95!important;box-shadow:0 0 0 3px rgba(16,173,163,.10)!important;outline:0!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table tr:nth-child(5) td{font-size:0!important;height:21px!important;margin:0 0 1px!important}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table tr:nth-child(5) td::before{
 content:"Какой у вас вопрос?"!important;font:700 12px/1.7 Manrope,sans-serif!important;color:#29443f!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > input[type="submit"]{
 margin:20px 0 0!important;width:100%!important;height:49px!important;min-height:49px!important;
 background:#079f96!important;color:#fff!important;border-radius:8px!important;
 font:800 13px/1 Manrope,sans-serif!important;letter-spacing:0!important;
 box-shadow:none!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > input[type="submit"]:hover{
 background:#078b83!important;filter:none!important;transform:none!important;
 box-shadow:0 5px 15px rgba(0,130,121,.15)!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > p:has(sub){margin:7px 0 0!important;text-align:right!important;font-size:10px!important}
.feedback-page-shell{max-width:980px!important;margin:50px auto 72px!important;width:calc(100% - 36px)!important}
.feedback-page-card{
 display:grid!important;grid-template-columns:340px minmax(0,1fr)!important;
 grid-template-rows:minmax(0,1fr) auto!important;gap:0!important;
 padding:0!important;min-height:675px!important;
 border:0!important;border-radius:18px!important;overflow:hidden!important;
 background:#fff!important;box-shadow:0 28px 100px rgba(7,55,51,.14)!important;
}
.feedback-page-card::before{display:none!important}
.feedback-page-head{
 grid-column:1!important;grid-row:1/3!important;min-height:675px!important;
 padding:230px 32px 39px!important;
}
.feedback-page-body{
 grid-column:2!important;grid-row:1!important;align-self:start!important;
 min-width:0!important;padding:37px 46px 12px!important;margin:0!important;
 background:#fff!important;
}
.feedback-page-policy{
 grid-column:2!important;grid-row:2!important;
 padding:7px 46px 27px!important;margin:0!important;background:#fff!important;
 border:0!important;font:450 10px/1.55 Manrope,sans-serif!important;color:#80928e!important;
}
.feedback-page-card .feedback-page-head-text h1{font-size:35px!important}
@media(max-width:780px){
 .feedback-modal__dialog.feedback-modal__dialog--inline{
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:170px minmax(0,1fr) auto!important;
  width:min(565px,calc(100vw - 22px))!important;height:calc(100dvh - 22px)!important;max-height:850px!important;
  border-radius:14px!important;
 }
 .feedback-modal__head{
  grid-column:1!important;grid-row:1!important;
  height:auto!important;min-height:170px!important;max-height:170px!important;
  padding:79px 24px 15px!important;justify-content:end!important;
  background-position:center 40%!important;
 }
 .feedback-modal__head::before,.feedback-page-head::before{
  left:19px!important;top:16px!important;width:178px!important;height:49px!important;
  background-size:160px auto!important;border-radius:7px!important;
 }
 .feedback-modal__head-text::before,.feedback-page-head-text::before{display:none!important}
 .feedback-modal__head-text h2,.feedback-page-head-text h1{
  font-size:24px!important;line-height:1.12!important;margin:0 0 5px!important;
 }
 .feedback-modal__head-text p,.feedback-page-head-text p{font-size:11px!important;line-height:1.35!important;max-width:330px!important}
 .feedback-modal__dialog .feedback-modal__close{right:12px!important;top:12px!important;width:32px!important;height:32px!important}
 .feedback-modal__body{grid-column:1!important;grid-row:2!important;padding:20px 25px 11px!important}
 .feedback-modal__policy{grid-column:1!important;grid-row:3!important;padding:6px 25px 15px!important;font-size:10px!important}
 .feedback-modal__body::before,.feedback-page-body::before{font-size:21px!important;margin-bottom:5px!important}
 .feedback-modal__body form[name="contact"]::before,.feedback-page-body form[name="contact"]::before{margin-bottom:17px!important;font-size:11px!important}
 .feedback-page-shell{max-width:570px!important;margin:18px auto 35px!important}
 .feedback-page-card{grid-template-columns:1fr!important;grid-template-rows:185px auto auto!important;min-height:0!important;border-radius:13px!important}
 .feedback-page-head{grid-column:1!important;grid-row:1!important;min-height:185px!important;height:185px!important;padding:82px 24px 17px!important}
 .feedback-page-body{grid-column:1!important;grid-row:2!important;padding:24px 25px 12px!important}
 .feedback-page-policy{grid-column:1!important;grid-row:3!important;padding:7px 25px 21px!important}
}
@media(max-width:500px){
 .feedback-modal__dialog.feedback-modal__dialog--inline{
  grid-template-rows:152px minmax(0,1fr) auto!important;
  height:calc(100dvh - 16px)!important;width:calc(100vw - 16px)!important;max-height:850px!important;
 }
 .feedback-modal__head{min-height:152px!important;max-height:152px!important;padding:75px 18px 12px!important}
 .feedback-modal__head::before,.feedback-page-head::before{left:16px!important;top:13px!important;width:158px!important;height:43px!important;background-size:144px auto!important}
 .feedback-modal__head-text h2,.feedback-page-head-text h1{font-size:22px!important}
 .feedback-modal__body{padding:16px 19px 9px!important}
 .feedback-modal__policy{padding:4px 19px 12px!important;font-size:9px!important}
 .feedback-page-card{grid-template-rows:169px auto auto!important}
 .feedback-page-head{height:169px!important;min-height:169px!important;padding:77px 19px 13px!important}
 .feedback-page-body{padding:20px 19px 9px!important}
 .feedback-page-policy{padding:4px 19px 16px!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table > tbody{grid-template-columns:1fr!important;gap:11px!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table > tbody > tr:nth-child(n+5){grid-column:1!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] td.label-hidden{margin-bottom:4px!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] input.feedback_txt{height:40px!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] textarea[name="info"]{min-height:68px!important;height:69px!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > input[type="submit"]{height:45px!important;min-height:45px!important;margin-top:13px!important}
 :is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > p:has(sub){margin:4px 0 0!important}
}
@media(prefers-reduced-motion:reduce){.feedback-modal__head,.feedback-page-head{animation:none!important}}
/* P223 final visual corrections after screenshot critique */
.feedback-modal__dialog.feedback-modal__dialog--inline{
 height:min(650px,calc(100dvh - 42px))!important;
 max-height:calc(100dvh - 42px)!important;
}
.feedback-modal__head,.feedback-page-head{box-sizing:border-box!important}
.feedback-modal__head::before,.feedback-page-head::before{
 width:253px!important;height:72px!important;
 background:#fff url('/_mod_files/ce_images/eshop/logo.png') 18px center/31px 47px no-repeat!important;
}
.feedback-modal__head::after,.feedback-page-head::after{
 content:"Учебный центр\A профессионалов фитнеса"!important;
 display:block!important;white-space:pre!important;
 position:absolute!important;z-index:3!important;
 top:49px!important;left:70px!important;width:190px!important;height:auto!important;
 background:none!important;border:0!important;border-radius:0!important;
 color:#102e2b!important;
 font:750 13px/1.35 Manrope,sans-serif!important;
 letter-spacing:-.022em!important;
 text-transform:none!important;
}
.feedback-page-card{box-sizing:border-box!important;min-height:660px!important}
.feedback-page-head{min-height:660px!important;height:auto!important}
.feedback-page-body{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 min-width:0!important;overflow:hidden!important;
}
.feedback-page-body > table{
 display:block!important;width:100%!important;max-width:100%!important;
 border:0!important;border-collapse:collapse!important;table-layout:fixed!important;
}
.feedback-page-body > table > tbody,.feedback-page-body > table > tbody > tr,
.feedback-page-body > table > tbody > tr > td{
 display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;border:0!important;
}
.feedback-page-body form[name="contact"]{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;
}
:is(.feedback-modal__body,.feedback-page-body) form[name="contact"] > table tr:nth-child(5) td b{
 display:none!important;
}
@media(max-width:780px){
 .feedback-modal__dialog.feedback-modal__dialog--inline{height:calc(100dvh - 22px)!important;max-height:850px!important}
 .feedback-modal__head::before,.feedback-page-head::before{
  width:187px!important;height:53px!important;background-position:13px center!important;background-size:22px 33px!important;
 }
 .feedback-modal__head::after,.feedback-page-head::after{
  top:28px!important;left:57px!important;width:135px!important;
  font-size:10px!important;line-height:1.32!important;
 }
 .feedback-page-head{min-height:185px!important;height:185px!important}
}
@media(max-width:500px){
 .feedback-modal__dialog.feedback-modal__dialog--inline{height:calc(100dvh - 16px)!important;max-height:850px!important}
 .feedback-modal__head::before,.feedback-page-head::before{
  top:13px!important;left:15px!important;width:175px!important;height:47px!important;
  background-size:19px 29px!important;background-position:12px center!important;
 }
 .feedback-modal__head::after,.feedback-page-head::after{
  top:22px!important;left:48px!important;font-size:9px!important;width:135px!important;
 }
 .feedback-page-head{min-height:169px!important;height:169px!important}
}
