.rth-smart-wrapper 
{
    min-height:700px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}


.rth-smart-panel 
{
    width:min(650px,100%);
    padding:45px 40px;
    text-align:center;
    background:linear-gradient(
        145deg,
        rgba(255,255,255,.14),
        rgba(15,23,42,.65)
    );
    border:1px solid rgba(255,255,255,.18);
    border-radius:24px;
    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);
    box-shadow:0 50px 120px rgba(0,0,0,.65);
    position:relative;
    overflow:hidden;
}


.rth-smart-panel::before 
{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(
        circle at 50% 0%,
        rgba(56,189,248,.18),
        transparent 45%
    );
    pointer-events:none;
}


.rth-smart-panel > * 
{
    position:relative;
    z-index:2;
}


.rth-smart-header 
{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:8px 12px;
    margin-bottom:22px;
    padding-bottom:16px;
    border-bottom:1px solid rgba(255,255,255,.1);
}


.rth-smart-header-mark 
{
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    color:rgba(255,255,255,.88);
    text-shadow:0 0 16px rgba(56,189,248,.35);
}


.rth-smart-header-status 
{
    display:flex;
    align-items:center;
    gap:7px;
    font-size:10px;
    font-weight:600;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:rgba(255,255,255,.42);
}


.rth-smart-header-dot 
{
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--rth-success);
    box-shadow:0 0 10px rgba(52,211,153,.85);
    animation:rthHeaderDotPulse 2s ease-in-out infinite;
}


.rth-progress 
{
    margin-bottom:6px;
    font-size:11px;
    font-weight:600;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:rgba(255,255,255,.82);
    transition:opacity .25s ease;
}


.rth-smart-question 
{
    font-size:24px;
    line-height:1.35;
    color:white;
    margin-top:24px;
    animation:rthStepEnter .35s var(--rth-ease);
}


.rth-smart-fields 
{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:24px;
    animation:rthFieldsEnter .35s var(--rth-ease);
}


.rth-field 
{
    display:flex;
    flex-direction:column;
    gap:7px;
    font-size:13px;
    color:rgba(255,255,255,.65);
    text-align:left;
}


.rth-field-full 
{
    grid-column:1/-1;
}


.rth-field input,
.rth-field textarea 
{
    width:100%;
    box-sizing:border-box;
    padding:13px 15px;
    border-radius:12px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(56,189,248,.35);
    color:white;
    font-size:15px;
    font-family:var(--rth-font-main);
    outline:none;
    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease,
        transform .2s ease;
}


.rth-field textarea 
{
    min-height:120px;
    resize:vertical;
    line-height:1.5;
}


.rth-field input:focus,
.rth-field textarea:focus 
{
    border-color:rgba(56,189,248,.75);
    background:rgba(255,255,255,.10);
    box-shadow:0 0 0 3px rgba(56,189,248,.08);
}


.rth-field input.is-invalid,
.rth-field textarea.is-invalid 
{
    border-color:rgba(248,113,113,.8);
    box-shadow:0 0 0 3px rgba(248,113,113,.08);
    animation:rthInvalidField .25s ease;
}


.rth-type-selection 
{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:24px;
    animation:rthFieldsEnter .35s var(--rth-ease);
}


.rth-type-selection button 
{
    width:100%;
    margin-top:8px;
}


.rth-smart-options 
{
    display:flex;
    flex-direction:column;
    gap:10px;
}


.rth-smart-options button 
{
    width:100%;
    margin-top:8px;
}


.rth-type-selection button,
.rth-smart-options button,
.rth-smart-navigation button 
{
    padding:14px 30px;
    border-radius:12px;
    background:rgba(56,189,248,.12);
    border:1px solid rgba(56,189,248,.35);
    color:white;
    cursor:pointer;
    transition:
        transform .3s var(--rth-ease),
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


.rth-type-selection button:hover,
.rth-smart-options button:hover,
.rth-smart-navigation button:hover 
{
    transform:translateY(-2px);
    background:rgba(56,189,248,.22);
    border-color:rgba(56,189,248,.65);
    box-shadow:0 8px 24px rgba(56,189,248,.12);
}


.rth-type-selection button:active,
.rth-smart-options button:active,
.rth-smart-navigation button:active 
{
    transform:translateY(0);
}


.rth-type-selection button.is-selected,
.rth-smart-options button.is-selected 
{
    background:rgba(56,189,248,.25);
    border-color:rgba(56,189,248,.8);
    box-shadow:
        0 0 0 2px rgba(56,189,248,.08),
        0 8px 28px rgba(56,189,248,.14);
}


.rth-type-selection button:focus-visible,
.rth-smart-options button:focus-visible,
.rth-smart-navigation button:focus-visible 
{
    outline:none;
    box-shadow:
        0 0 0 3px rgba(56,189,248,.12),
        0 0 20px rgba(56,189,248,.18);
}


.rth-smart-navigation 
{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:28px;
}


.rth-smart-navigation button 
{
    font-size:12px;
    padding:10px 18px;
}


.rth-smart-navigation button:disabled 
{
    opacity:.35;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}


.rth-validation-message 
{
    min-height:20px;
    margin-top:12px;
    font-size:13px;
    line-height:1.5;
    color:rgba(248,113,113,.95);
    animation:rthMessageEnter .25s ease;
}


.rth-contact-phone 
{
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    gap:10px;
}


.rth-field-hint 
{
    font-size:11px;
    color:rgba(255,255,255,.4);
    margin-top:2px;
}


.rth-field-required 
{
    color:rgba(56,189,248,.85);
}


.rth-contact-phone-group 
{
    display:flex;
    flex-direction:column;
    gap:5px;
}


.rth-contact-phone-group span 
{
    font-size:11px;
    color:rgba(255,255,255,.5);
}


/* =====================================
   PRIVACY / CONSENT
   ===================================== */

.rth-consent-row 
{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:10px;
    margin-top:6px;
    text-align:left;
}


.rth-consent-row input[type="checkbox"] 
{
    width:18px;
    height:18px;
    min-width:18px;
    margin:2px 0 0;
    padding:0;
    accent-color:var(--rth-accent);
    cursor:pointer;
    flex:none;
}


.rth-consent-row label 
{
    display:block;
    flex:1;
    min-width:0;
    margin:0;
    padding:0;
    font-size:12px;
    line-height:1.55;
    font-weight:400;
    color:rgba(255,255,255,.6);
    text-align:left;
    cursor:pointer;
    white-space:normal;
    word-break:normal;
    overflow-wrap:normal;
}


.rth-consent-row a 
{
    color:rgba(56,189,248,.85);
    text-decoration:underline;
    transition:color .2s ease;
}


.rth-consent-row a:hover 
{
    color:rgba(56,189,248,1);
}


/* =====================================
   SUMMARY
   ===================================== */

#rth-summary 
{
    text-align:left;
    animation:rthSummaryEnter .45s var(--rth-ease);
}


#rth-summary h3 
{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    line-height:1.35;
}


#rth-summary h3::before 
{
    content:"\2713";
    flex:none;
    display:flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    border-radius:50%;
    background:rgba(52,211,153,.16);
    border:1px solid rgba(52,211,153,.5);
    box-shadow:0 0 16px rgba(52,211,153,.3);
    color:var(--rth-success);
    font-size:14px;
    line-height:1;
    animation:rthSuccessPulse .8s ease;
}


#rth-summary p 
{
    font-size:14px;
    line-height:1.6;
}


#rth-summary ul 
{
    margin:14px 0 0;
    padding-left:18px;
    color:rgba(255,255,255,.7);
    font-size:13px;
    line-height:1.6;
}


/* =====================================
   HONEYPOT
   ===================================== */

.rth-hp-field 
{
    position:absolute;
    left:-9999px;
    top:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}


/* =====================================
   ANIMATIONS
   ===================================== */

@keyframes rthHeaderDotPulse 
{
    0%,
    100% 
    {
        opacity:.55;
        transform:scale(.85);
    }

    50% 
    {
        opacity:1;
        transform:scale(1.1);
    }
}


@keyframes rthStepEnter 
{
    from 
    {
        opacity:0;
        transform:translateY(8px);
    }

    to 
    {
        opacity:1;
        transform:translateY(0);
    }
}


@keyframes rthFieldsEnter 
{
    from 
    {
        opacity:0;
        transform:translateY(10px);
    }

    to 
    {
        opacity:1;
        transform:translateY(0);
    }
}


@keyframes rthMessageEnter 
{
    from 
    {
        opacity:0;
        transform:translateY(-4px);
    }

    to 
    {
        opacity:1;
        transform:translateY(0);
    }
}


@keyframes rthInvalidField 
{
    0% 
    {
        transform:translateX(0);
    }

    35% 
    {
        transform:translateX(-3px);
    }

    70% 
    {
        transform:translateX(3px);
    }

    100% 
    {
        transform:translateX(0);
    }
}


@keyframes rthSummaryEnter 
{
    from 
    {
        opacity:0;
        transform:translateY(12px);
    }

    to 
    {
        opacity:1;
        transform:translateY(0);
    }
}


@keyframes rthSuccessPulse 
{
    0% 
    {
        opacity:0;
        transform:scale(.7);
    }

    70% 
    {
        opacity:1;
        transform:scale(1.08);
    }

    100% 
    {
        opacity:1;
        transform:scale(1);
    }
}


/* =====================================
   MOBILE
   ===================================== */

@media(max-width:768px) 
{
    .rth-smart-wrapper 
    {
        min-height:600px;
        padding:20px;
    }


    .rth-smart-panel 
    {
        padding:35px 25px;
        border-radius:20px;
    }


    .rth-smart-header 
    {
        margin-bottom:20px;
    }


    .rth-smart-header-mark 
    {
        font-size:12px;
    }


    .rth-smart-question 
    {
        font-size:20px;
    }


    .rth-smart-fields 
    {
        grid-template-columns:1fr;
    }


    .rth-field-full 
    {
        grid-column:auto;
    }


    .rth-contact-phone 
    {
        grid-template-columns:95px minmax(0,1fr);
    }


    .rth-smart-navigation 
    {
        gap:8px;
    }


    .rth-smart-navigation button 
    {
        padding:10px 14px;
    }
}


/* =====================================
   REDUCED MOTION
   ===================================== */

@media(prefers-reduced-motion:reduce) 
{
    .rth-smart-panel *,
    .rth-smart-panel *::before,
    .rth-smart-panel *::after 
    {
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
    }
}