body.tca-branded-forms {--tca-purple:#493477;--tca-border:#e4dced;--tca-muted:#756c83;--tca-soft:#faf8fd;}
.tca-branded-forms .tca-form-surface{box-sizing:border-box;width:100%!important;max-width:1000px!important;margin:40px auto!important;padding:clamp(22px,4vw,44px)!important;background:#fff;border:1px solid var(--tca-border);border-radius:22px;box-shadow:0 12px 38px #49347709;font-family:inherit;color:#342b43;position:relative;}
.tca-branded-forms .tca-form-surface:before{content:"";display:block;height:4px;background:linear-gradient(to right,#493477 0 60%,#e51b35 60% 80%,#f4cc28 80%);position:absolute;top:0;left:22px;right:22px;border-radius:8px;}
.tca-branded-forms .um-login.tca-form-surface{max-width:520px!important;}
.tca-branded-forms .wpforms-container .wpforms-field{padding:0!important;margin:0 0 24px!important;clear:both;}
.tca-branded-forms .wpforms-container .wpforms-field-row{max-width:none!important;width:100%!important;}
.tca-branded-forms .wpforms-container input.wpforms-field-medium,.tca-branded-forms .wpforms-container input.wpforms-field-large,.tca-branded-forms .wpforms-container .wpforms-field-email input,.tca-branded-forms .wpforms-container .wpforms-field-phone input{max-width:none!important;width:100%!important;}
.tca-branded-forms .wpforms-field-name .wpforms-field-sublabel{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);}
.tca-branded-forms .tca-form-surface input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),.tca-branded-forms .tca-form-surface textarea,.tca-branded-forms .tca-form-surface select{box-sizing:border-box!important;border:1px solid #dcd2e9!important;border-radius:11px!important;background:#fff!important;min-height:50px;padding:12px 15px!important;font-family:inherit!important;font-size:16px!important;color:#342b43!important;box-shadow:none!important;transition:border-color .16s,box-shadow .16s;}
.tca-branded-forms .tca-form-surface input:focus,.tca-branded-forms .tca-form-surface textarea:focus,.tca-branded-forms .tca-form-surface select:focus{outline:0!important;border-color:#8064a7!important;box-shadow:0 0 0 3px #68449715!important;}
.tca-branded-forms .tca-form-surface label{color:var(--tca-purple)!important;}
.tca-branded-forms .tca-form-surface input::placeholder,.tca-branded-forms .tca-form-surface textarea::placeholder{color:#8a8293!important;opacity:1;}
.tca-branded-forms .tca-form-surface button[type=submit],.tca-branded-forms .tca-form-surface input[type=submit],.tca-branded-forms .tca-form-surface .um-button{background:var(--tca-purple)!important;color:white!important;border:1px solid var(--tca-purple)!important;border-radius:11px!important;min-height:48px;padding:12px 24px!important;font-family:inherit!important;box-shadow:0 4px 10px #49347715!important;cursor:pointer;transition:background .15s,transform .15s;}
.tca-branded-forms .tca-form-surface .um-button.um-alt{background:#f5f1fa!important;color:var(--tca-purple)!important;border-color:var(--tca-border)!important;}
.tca-branded-forms .tca-form-surface button[type=submit]:hover,.tca-branded-forms .tca-form-surface input[type=submit]:hover{background:#39275f!important;}
.tca-branded-forms .tca-form-surface input[type=checkbox],.tca-branded-forms .tca-form-surface input[type=radio]{accent-color:var(--tca-purple);}
.tca-branded-forms .tca-form-surface .um-icon-android-checkbox-outline{color:var(--tca-purple)!important;}
.tca-password-control,.tca-phone-control{position:relative;width:100%;}
.tca-branded-forms .tca-password-control input{width:100%!important;padding-right:52px!important;}
.tca-branded-forms .tca-password-eye{position:absolute;right:4px;top:3px;width:44px;height:44px;padding:10px!important;border:0!important;border-radius:8px;background:transparent!important;color:var(--tca-purple)!important;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none!important;}
.tca-password-eye:focus-visible{outline:2px solid #8064a7!important;outline-offset:1px;}
.tca-phone-badge{position:absolute;top:1px;bottom:1px;left:1px;display:flex;align-items:center;padding:0 16px;border-radius:10px 0 0 10px;background:#f2edf8;color:var(--tca-purple);font-weight:600;pointer-events:none;}
.tca-phone-control.has-number .tca-phone-badge{display:none;}
.tca-branded-forms .tca-form-surface .iti__flag-container{display:none!important;}
@media(max-width:600px){.tca-branded-forms .tca-form-surface{margin:22px auto!important;padding:22px 18px!important;border-radius:16px;}.tca-branded-forms .wpforms-field-name .wpforms-field-row-block{float:none!important;width:100%!important;margin-left:0!important;margin-bottom:12px;}.tca-branded-forms .wpforms-field-name .wpforms-field-row-block:last-child{margin-bottom:0;}.tca-branded-forms .tca-form-surface button[type=submit]{width:100%;}}
@media(prefers-reduced-motion:reduce){.tca-branded-forms .tca-form-surface *{transition:none!important;}}

/* Name fields respond to the available form width, including narrow columns. */
.tca-branded-forms .wpforms-container .wpforms-field-name .wpforms-field-row{display:flex!important;flex-wrap:wrap!important;gap:16px!important;align-items:flex-start;box-sizing:border-box!important;min-width:0!important}
.tca-branded-forms .wpforms-container .wpforms-field-name .wpforms-field-row::before,.tca-branded-forms .wpforms-container .wpforms-field-name .wpforms-field-row::after{display:none!important}
.tca-branded-forms .wpforms-container .wpforms-field-name .wpforms-field-row-block{flex:1 1 220px!important;float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
.tca-branded-forms .wpforms-container .wpforms-field-name input{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.tca-branded-forms .wpforms-container .wpforms-field-name label.wpforms-error{white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:600px){.tca-branded-forms .wpforms-container .wpforms-field-name .wpforms-field-row{gap:12px!important}.tca-branded-forms .wpforms-container .wpforms-field-name .wpforms-field-row-block{flex-basis:100%!important}}
