/* Auto Final – tarjouspyyntösivut. Kaikki säännöt on rajattu vain näille sivuille. */
body.af-tarjouspyynto-page{
    --af-offer-green:#04cf1f;
    --af-page-bg:#050806;
    --af-page-bg-2:#070b09;
    --af-page-text:#f4f6f5;
    --af-page-muted:#a8b0ac;
    --af-page-panel:#0e1812;
    --af-page-input:#08100b;
    --af-page-line:#304138;
}
body.af-tarjouspyynto-page.af-tps-light{
    --af-page-bg:#f3f6f4;
    --af-page-bg-2:#fafcfb;
    --af-page-text:#17231c;
    --af-page-muted:#58665d;
    --af-page-panel:#ffffff;
    --af-page-input:#ffffff;
    --af-page-line:#c5d0c8;
}
body.af-tarjouspyynto-page .af-main{background:var(--af-page-bg)!important;transition:background .18s ease;}
body.af-tarjouspyynto-page .af-offer-page{
    min-height:68vh;
    margin:0;
    padding:clamp(28px,4vw,58px) 18px clamp(64px,7vw,96px);
    background:
        radial-gradient(circle at 12% 0%,rgba(4,207,31,.045),transparent 32%),
        linear-gradient(180deg,var(--af-page-bg-2) 0%,var(--af-page-bg) 100%);
    color:var(--af-page-text);
    font-family:"Manrope","Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;
    transition:background .18s ease,color .18s ease;
}
body.af-tarjouspyynto-page .af-offer-page__inner{width:min(100%,1180px);margin:0 auto;}
body.af-tarjouspyynto-page .af-offer-page__crumb{
    display:flex;flex-wrap:wrap;align-items:center;gap:9px;
    margin:0 0 18px;padding:0;
    color:var(--af-page-muted);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
}
body.af-tarjouspyynto-page .af-offer-page__crumb a{color:var(--af-offer-green);text-decoration:none;}
body.af-tarjouspyynto-page .af-offer-page__crumb a:hover{color:#62e874;}
body.af-tarjouspyynto-page .af-offer-page__form{width:100%;}

/* Booking Toolsin lomake. Käytetään muuttujia, jotta sen oma teemanvaihto säilyy toimivana. */
body.af-tarjouspyynto-page .af-offer-page .afqr{
    --qr-bg:#09100c;
    --qr-panel:#0e1812;
    --qr-input:#08100b;
    --qr-line:#304138;
    --qr-text:#f2f5f3;
    --qr-muted:#aeb8b1;
    --qr-green:#04cf1f;
    width:100%;max-width:none;margin:0;padding:clamp(22px,4vw,42px);
    border:1px solid var(--qr-line);border-radius:5px;
    background:var(--qr-bg);color:var(--qr-text);box-shadow:none;
    font-family:"Manrope","Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif!important;
    transition:background .18s ease,color .18s ease,border-color .18s ease;
}
body.af-tarjouspyynto-page .af-offer-page .afqr[data-theme="light"]{
    --qr-bg:#ffffff;
    --qr-panel:#f4f7f5;
    --qr-input:#ffffff;
    --qr-line:#c5d0c8;
    --qr-text:#17231c;
    --qr-muted:#58665d;
    --qr-error:#ad2521;
}
body.af-tarjouspyynto-page .af-offer-page .afqr h2{
    font-family:inherit!important;font-size:clamp(32px,5vw,50px);font-weight:500;letter-spacing:-.035em;line-height:1.05;
}
body.af-tarjouspyynto-page .af-offer-page .afqr h3,
body.af-tarjouspyynto-page .af-offer-page .afqr p,
body.af-tarjouspyynto-page .af-offer-page .afqr label,
body.af-tarjouspyynto-page .af-offer-page .afqr input,
body.af-tarjouspyynto-page .af-offer-page .afqr select,
body.af-tarjouspyynto-page .af-offer-page .afqr textarea,
body.af-tarjouspyynto-page .af-offer-page .afqr button{font-family:inherit!important;}
body.af-tarjouspyynto-page .af-offer-page .afqr-header{margin-bottom:30px;}
body.af-tarjouspyynto-page .af-offer-page .afqr-header p{max-width:720px;margin-top:13px;font-size:16px;line-height:1.65;}
body.af-tarjouspyynto-page .af-offer-page .afqr-field :is(input,select,textarea){
    border-radius:3px;background:var(--qr-input);color:var(--qr-text);border-color:var(--qr-line);
    transition:border-color .16s ease,box-shadow .16s ease,background .18s ease,color .18s ease;
}
body.af-tarjouspyynto-page .af-offer-page .afqr-field :is(input,select,textarea):focus{
    border-color:rgba(4,207,31,.72);box-shadow:0 0 0 1px rgba(4,207,31,.17);outline:none;
}
body.af-tarjouspyynto-page .af-offer-page .afqr-field input::file-selector-button{
    background:var(--qr-panel);color:var(--qr-text);border-color:var(--qr-line);
}
body.af-tarjouspyynto-page .af-offer-page .afqr button{border-radius:3px;}
body.af-tarjouspyynto-page .af-offer-page .afqr .afqr-theme{
    border-color:var(--qr-line);background:var(--qr-panel);color:var(--qr-text);
}
body.af-tarjouspyynto-page .af-offer-page .afqr .afqr-theme:hover{color:var(--af-offer-green);border-color:rgba(4,207,31,.45);}
body.af-tarjouspyynto-page .af-offer-page .afqr .afqr-submit{
    background:var(--af-offer-green);border-color:var(--af-offer-green);color:#061d0b;font-weight:700;letter-spacing:.035em;
}
body.af-tarjouspyynto-page .af-offer-page .afqr .afqr-submit:not(:disabled):hover{filter:brightness(1.06);}
body.af-tarjouspyynto-page .af-offer-page .afqr .afqr-return{background:var(--qr-panel);color:var(--qr-text);border-color:var(--qr-line);}
body.af-tarjouspyynto-page .af-offer-page .afqr a:hover{color:var(--af-offer-green);}
body.af-tarjouspyynto-page .af-offer-page__missing{
    min-height:44vh;display:flex;flex-direction:column;justify-content:center;
    border:1px solid var(--af-page-line);padding:36px;background:var(--af-page-panel);color:var(--af-page-text);
}
body.af-tarjouspyynto-page .af-offer-page__missing h1{margin:0 0 12px;font-size:clamp(34px,5vw,50px);font-weight:500;}
body.af-tarjouspyynto-page .af-offer-page__missing p{margin:0;color:var(--af-page-muted);}
body.af-tarjouspyynto-page .af-offer-page__missing .af-offer-page__admin{margin-top:14px;font-size:13px;}

@media(max-width:700px){
    body.af-tarjouspyynto-page .af-offer-page{padding:24px 12px 64px;}
    body.af-tarjouspyynto-page .af-offer-page__crumb{margin-left:5px;margin-bottom:14px;font-size:10px;gap:7px;}
    body.af-tarjouspyynto-page .af-offer-page .afqr{padding:22px 16px;border-radius:3px;}
    body.af-tarjouspyynto-page .af-offer-page .afqr h2{font-size:34px;}
    body.af-tarjouspyynto-page .af-offer-page .afqr-header p{font-size:15px;}
}
