/* ==========================================================================
   CONVERTWHEELX Scoped Bunker CSS Reset & Theme Bleed Protection
   Guarantees 100% style isolation against aggressive theme and plugin CSS.
   ========================================================================== */

/* 1. Universal Box-Sizing and Font Smoothing */
.convertwheelx-scoped-root,
.convertwheelx-scoped-root *,
.convertwheelx-scoped-root *::before,
.convertwheelx-scoped-root *::after {
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Annihilate Rogue Theme Pseudo-Elements (icons, clearfixes, underlines)
.convertwheelx-scoped-root *:not(.convertwheelx-spinning):not(.convertwheelx-pointer)::before,
.convertwheelx-scoped-root *:not(.convertwheelx-spinning):not(.convertwheelx-pointer)::after {
    content: none !important;
    display: none !important;
}

/* 3. Scoped Typography & Layout Baseline */
.convertwheelx-scoped-root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    direction: inherit;
    text-align: start;
}

/* 4. Headings, Paragraphs, and Labels Reset */
.convertwheelx-scoped-root h1,
.convertwheelx-scoped-root h2,
.convertwheelx-scoped-root h3,
.convertwheelx-scoped-root h4,
.convertwheelx-scoped-root h5,
.convertwheelx-scoped-root h6,
.convertwheelx-scoped-root p,
.convertwheelx-scoped-root label {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-weight: normal;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
}

/* 5. Button Defensive Reset (Neutralizes theme min-widths, paddings, borders) */
.convertwheelx-scoped-root button {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-shadow: none;
    border: none;
    background: transparent;
    font-family: inherit;
    line-height: normal;
}

/* 6. Form Inputs Defensive Reset (Neutralizes theme borders, margins, heights) */
.convertwheelx-scoped-root input[type="text"],
.convertwheelx-scoped-root input[type="email"],
.convertwheelx-scoped-root input[type="tel"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    max-width: 100% !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: inherit !important;
    line-height: normal !important;
    border-radius: 0;
}

/* 7. Aside, List, SVG, and Canvas Resets */
.convertwheelx-scoped-root aside,
aside.convertwheelx-scoped-root {
    margin: 0 !important;
    border: none;
}
.convertwheelx-scoped-root ul,
.convertwheelx-scoped-root ol,
.convertwheelx-scoped-root li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.convertwheelx-scoped-root svg {
    max-width: none !important;
    height: auto;
    vertical-align: middle;
    display: block;
}
.convertwheelx-scoped-root canvas {
    display: block;
    max-width: none !important;
}

/* 8. Accessible Focus Visible Ring */
.convertwheelx-scoped-root button:focus-visible,
.convertwheelx-scoped-root a:focus-visible,
.convertwheelx-scoped-root input:focus-visible {
    outline: 3px solid #0ea5e9 !important;
    outline-offset: 2px !important;
}


.convertwheelx-overlay{
    position:fixed;inset:0;z-index:999999;
    display:flex;align-items:center;justify-content:center;
    background:rgba(15,23,42,.65);
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    opacity:0;transition:opacity .3s cubic-bezier(.16,1,.3,1);
    padding:20px;
}
.convertwheelx-overlay.convertwheelx-visible{opacity:1;}


.convertwheelx-modal{
    position:relative;
    width:100%;max-width:880px;
    border-radius:28px;
    box-shadow:0 35px 90px -15px rgba(15,23,42,.45),0 0 0 1px rgba(255,255,255,.9) inset;
    overflow:hidden;
    transform:scale(.92) translateY(24px);
    transition:transform .4s cubic-bezier(.34,1.56,.64,1);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.convertwheelx-overlay.convertwheelx-visible .convertwheelx-modal{
    transform:scale(1) translateY(0);
}

/* ==========================================================================
   Layout Modes: Modal, Drawers (Left & Right), Fullscreen
   ========================================================================== */
.convertwheelx-overlay.convertwheelx-layout-modal .convertwheelx-modal{
    max-width:880px;
}


.convertwheelx-overlay.convertwheelx-layout-drawer_left{
    padding:0;
    align-items:stretch;
    justify-content:flex-start;
}
.convertwheelx-overlay.convertwheelx-layout-drawer_left .convertwheelx-modal{
    max-width:780px;
    width:88vw;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    border-radius:0 32px 32px 0;
    margin:0;
    transform:translateX(-100%);
    transition:transform .45s cubic-bezier(.16,1,.3,1);
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow-y:auto;
    box-shadow:25px 0 60px rgba(15,23,42,.4);
}
.convertwheelx-overlay.convertwheelx-layout-drawer_left.convertwheelx-visible .convertwheelx-modal{
    transform:translateX(0);
}


.convertwheelx-overlay.convertwheelx-layout-drawer_right{
    padding:0;
    align-items:stretch;
    justify-content:flex-end;
}
.convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-modal{
    max-width:780px;
    width:88vw;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    border-radius:32px 0 0 32px;
    margin:0;
    transform:translateX(100%);
    transition:transform .45s cubic-bezier(.16,1,.3,1);
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow-y:auto;
    box-shadow:-25px 0 60px rgba(15,23,42,.4);
}
.convertwheelx-overlay.convertwheelx-layout-drawer_right.convertwheelx-visible .convertwheelx-modal{
    transform:translateX(0);
}
.convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-layout{
    flex-direction:row-reverse;
}
.convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-close{
    left:20px;
    right:auto;
}


.convertwheelx-overlay.convertwheelx-layout-fullscreen{
    padding:0;
}
.convertwheelx-overlay.convertwheelx-layout-fullscreen .convertwheelx-modal{
    width:100vw;
    max-width:100vw;
    height:100vh;
    height:100dvh;
    max-height:100vh;
    max-height:100dvh;
    border-radius:0;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:scale(0.97);
    transition:transform .35s cubic-bezier(.16,1,.3,1);
    box-shadow:none;
    overflow-y:auto;
}
.convertwheelx-overlay.convertwheelx-layout-fullscreen.convertwheelx-visible .convertwheelx-modal{
    transform:scale(1);
}
.convertwheelx-overlay.convertwheelx-layout-fullscreen .convertwheelx-layout{
    max-width:1060px;
    width:100%;
    margin:0 auto;
    min-height:520px;
}
.convertwheelx-overlay.convertwheelx-layout-fullscreen .convertwheelx-wheel-wrap{
    width:400px;
    height:400px;
}


.convertwheelx-close,
.convertwheelx-scoped-root .convertwheelx-close,
.convertwheelx-scoped-root button.convertwheelx-close{
    position:absolute !important;top:16px !important;right:16px !important;z-index:20 !important;
    width:36px !important;height:36px !important;
    min-width:36px !important;max-width:36px !important;
    min-height:36px !important;max-height:36px !important;
    padding:0 !important;margin:0 !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    background:#ffffff !important;
    border:1px solid #e2e8f0 !important;
    border-radius:999px !important;
    cursor:pointer !important;
    color:#64748b !important;
    transition:all .2s cubic-bezier(.4,0,.2,1);
    box-shadow:0 2px 8px rgba(15,23,42,.06) !important;
}
.convertwheelx-close svg{
    width:16px !important;height:16px !important;
    display:block !important;
    stroke:currentColor;
    stroke-width:2px;
    transition:transform .2s ease,color .2s ease;
}
.convertwheelx-close:hover{
    background:#f8fafc !important;
    color:#0f172a !important;
    border-color:#cbd5e1 !important;
    transform:scale(1.05);
    box-shadow:0 4px 12px rgba(15,23,42,.1) !important;
}
.convertwheelx-close:hover svg{
    transform:rotate(90deg);
}






.convertwheelx-layout{
    display:flex;align-items:stretch;min-height:440px;
}


.convertwheelx-wheel-col{
    flex:0 0 52%;
    display:flex;align-items:center;justify-content:center;
    padding:36px 16px 36px 36px;
    position:relative;
    background:radial-gradient(circle,rgba(14,165,233,.07) 0%,transparent 70%);
}
.convertwheelx-form-col{
    flex:0 0 48%;
    display:flex;flex-direction:column;justify-content:center;
    padding:44px 40px 44px 20px;
    position:relative;
}


.convertwheelx-wheel-wrap{
    position:relative;
    width:340px;
    height:340px;
    max-width:100%;
    aspect-ratio:1;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Pointer Base & Orientations */
.convertwheelx-pointer{
    position:absolute;
    z-index:10;
    transition:transform .1s cubic-bezier(.34,1.56,.64,1);
    filter:drop-shadow(0 3px 6px rgba(0,0,0,.3));
}


.convertwheelx-pointer.convertwheelx-pointer-top,
.convertwheelx-pointer:not(.convertwheelx-pointer-right){
    top:-3px;left:50%;
    transform:translateX(-50%);
    transform-origin:50% 0%;
    width:0;height:0;
    border-left:14px solid transparent;
    border-right:14px solid transparent;
    border-top:28px solid var(--convertwheelx-pointer-color, var(--convertwheelx-pointer-color, #ef4444));
    border-bottom:none;
}


.convertwheelx-pointer.convertwheelx-pointer-right{
    top:50%;right:-3px;left:auto;
    transform:translateY(-50%);
    transform-origin:100% 50%;
    width:0;height:0;
    border-top:14px solid transparent;
    border-bottom:14px solid transparent;
    border-right:28px solid var(--convertwheelx-pointer-color, var(--convertwheelx-pointer-color, #ef4444));
    border-left:none;
}

/* Pointer Style: Pin */
.convertwheelx-pointer.convertwheelx-pointer-style-pin.convertwheelx-pointer-top{
    width:22px;height:32px;
    border:none;
    background:var(--convertwheelx-pointer-color, var(--convertwheelx-pointer-color, #ef4444));
    clip-path:polygon(50% 100%, 0% 30%, 15% 0%, 85% 0%, 100% 30%);
    top:-6px;
    border-radius:4px 4px 0 0;
}
.convertwheelx-pointer.convertwheelx-pointer-style-pin.convertwheelx-pointer-right{
    width:32px;height:22px;
    border:none;
    background:var(--convertwheelx-pointer-color, var(--convertwheelx-pointer-color, #ef4444));
    clip-path:polygon(0% 50%, 70% 0%, 100% 15%, 100% 85%, 70% 100%);
    right:-6px;top:50%;
    border-radius:0 4px 4px 0;
}

/* Pointer Style: Gem */
.convertwheelx-pointer.convertwheelx-pointer-style-gem.convertwheelx-pointer-top{
    width:24px;height:30px;
    border:none;
    background:var(--convertwheelx-pointer-color, var(--convertwheelx-pointer-color, #ef4444));
    clip-path:polygon(50% 100%, 100% 40%, 78% 0%, 22% 0%, 0% 40%);
    top:-5px;
}
.convertwheelx-pointer.convertwheelx-pointer-style-gem.convertwheelx-pointer-right{
    width:30px;height:24px;
    border:none;
    background:var(--convertwheelx-pointer-color, var(--convertwheelx-pointer-color, #ef4444));
    clip-path:polygon(0% 50%, 60% 0%, 100% 22%, 100% 78%, 60% 100%);
    right:-5px;top:50%;
}

/* ==========================================================================
   Background Pattern Overlays
   ========================================================================== */
.convertwheelx-pattern-overlay{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:1;
    border-radius:inherit;
    background-repeat:repeat;
}


.convertwheelx-pattern-hearts .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath fill='%2364748b' fill-rule='evenodd' d='M20 28.5l-1.45-1.32C13.4 22.36 10 19.28 10 15.5 10 12.42 12.42 10 15.5 10c1.74 0 3.41.81 4.5 2.09C21.09 10.81 22.76 10 24.5 10 27.58 10 30 12.42 30 15.5c0 3.78-3.4 6.86-8.55 11.68L20 28.5z'/%3E%3C/svg%3E");
    background-size:40px 40px;
}


.convertwheelx-pattern-snow .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%2364748b'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='36' cy='24' r='3'/%3E%3Ccircle cx='20' cy='38' r='1.5'/%3E%3Cpath d='M24 6v8m-4-4l8 8m-8 0l8-8M36 34v6m-3-3l6 6m-6 0l6-6' stroke='%2364748b' stroke-width='1.2' stroke-linecap='round' fill='none'/%3E%3C/g%3E%3C/svg%3E");
    background-size:48px 48px;
}


.convertwheelx-pattern-waves .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='26' viewBox='0 0 50 26'%3E%3Cpath d='M0 13c12.5 0 12.5-10 25-10s12.5 10 25 10 12.5-10 25-10' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size:50px 26px;
}


.convertwheelx-pattern-memphis .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%2364748b' stroke-width='1.5'%3E%3Ccircle cx='15' cy='15' r='6'/%3E%3Cpath d='M40 10l8 14H32z'/%3E%3Cpath d='M10 45q5-6 10 0t10 0' stroke-linecap='round'/%3E%3Ccircle cx='48' cy='48' r='2.5' fill='%2364748b'/%3E%3Cpath d='M36 36l6 6m0-6l-6 6' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    background-size:60px 60px;
}


.convertwheelx-pattern-vintage .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 2l20 20-20 20L2 22z' fill='none' stroke='%2364748b' stroke-width='1.2'/%3E%3Ccircle cx='22' cy='22' r='4' fill='%2364748b'/%3E%3Ccircle cx='22' cy='2' r='2' fill='%2364748b'/%3E%3Ccircle cx='22' cy='42' r='2' fill='%2364748b'/%3E%3Ccircle cx='2' cy='22' r='2' fill='%2364748b'/%3E%3Ccircle cx='42' cy='22' r='2' fill='%2364748b'/%3E%3C/svg%3E");
    background-size:44px 44px;
}


.convertwheelx-pattern-stars .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M25 5l2.5 8.5L36 16l-8.5 2.5L25 27l-2.5-8.5L14 16l8.5-2.5zM42 36l1.5 4 4 1.5-4 1.5-1.5 4-1.5-4-4-1.5 4-1.5zM8 32l1 3 3 1-3 1-1 3-1-3-3-1 3-1z' fill='%2364748b'/%3E%3C/svg%3E");
    background-size:50px 50px;
}


.convertwheelx-pattern-confetti .convertwheelx-pattern-overlay{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%2364748b'%3E%3Crect x='10' y='12' width='8' height='3' transform='rotate(25 14 13)' rx='1'/%3E%3Crect x='42' y='15' width='7' height='4' transform='rotate(-40 45 17)' rx='1'/%3E%3Ccircle cx='28' cy='24' r='2.5'/%3E%3Crect x='18' y='42' width='9' height='3' transform='rotate(65 22 43)' rx='1'/%3E%3Ccircle cx='48' cy='46' r='2'/%3E%3Cpolygon points='38,32 42,36 36,38'/%3E%3C/g%3E%3C/svg%3E");
    background-size:60px 60px;
}


.convertwheelx-canvas-box{
    width:100%;height:100%;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 12px 36px rgba(0,0,0,.15);
}
.convertwheelx-canvas{
    display:block;
    cursor:default;
}


.convertwheelx-form-section{display:flex;flex-direction:column;gap:14px;}


.convertwheelx-title{
    font-size:1.85rem !important;font-weight:800 !important;line-height:1.2 !important;
    margin:0 !important;letter-spacing:-.03em !important;text-transform:none !important;
}
.convertwheelx-subtitle{
    font-size:.98rem !important;line-height:1.55 !important;margin:0 !important;color:#64748b;
    text-transform:none !important;letter-spacing:normal !important;
}


.convertwheelx-form{display:flex;flex-direction:column;gap:12px;margin-top:6px;}


.convertwheelx-field-group{display:flex;flex-direction:column;gap:6px;}
.convertwheelx-label{font-size:.85rem;font-weight:700;color:#334155;letter-spacing:.01em;}


.convertwheelx-input,
.convertwheelx-scoped-root .convertwheelx-input,
.convertwheelx-scoped-root input.convertwheelx-input,
.convertwheelx-scoped-root input[type="text"].convertwheelx-input,
.convertwheelx-scoped-root input[type="email"].convertwheelx-input,
.convertwheelx-scoped-root input[type="tel"].convertwheelx-input{
    width:100% !important;
    height:auto !important;
    min-height:48px !important;
    max-height:none !important;
    padding:13px 18px !important;
    border:1.5px solid #e2e8f0 !important;
    border-radius:14px !important;
    font-size:.95rem !important;
    background:#f8fafc !important;
    color:#0f172a !important;
    outline:none !important;
    box-shadow:none !important;
    transition:all .2s cubic-bezier(.4,0,.2,1);
}
.convertwheelx-input::placeholder{color:#94a3b8;}
.convertwheelx-input:focus{
    border-color:#0ea5e9 !important;
    box-shadow:0 0 0 4px rgba(14,165,233,.14),0 1px 3px rgba(0,0,0,.05) !important;
    background:#fff !important;
}


.convertwheelx-check-label{
    display:flex;align-items:flex-start;gap:10px;
    font-size:.85rem;color:#64748b;cursor:pointer;line-height:1.45;
}
.convertwheelx-check-label input[type="checkbox"]{
    margin-top:2px;flex-shrink:0;
    accent-color:#0ea5e9;
    width:17px;height:17px;
}


.convertwheelx-submit,
.convertwheelx-scoped-root .convertwheelx-submit,
.convertwheelx-scoped-root button.convertwheelx-submit,
.convertwheelx-scoped-root button[type="submit"].convertwheelx-submit{
    width:100% !important;
    min-height:50px !important;
    padding:15px 24px !important;
    border:none !important;border-radius:14px !important;
    font-size:1.02rem !important;font-weight:700 !important;
    cursor:pointer !important;
    letter-spacing:.01em !important;
    text-transform:none !important;
    transition:all .2s cubic-bezier(.4,0,.2,1);
    box-shadow:0 8px 24px -4px rgba(14,165,233,.38),0 2px 4px rgba(0,0,0,.06);
    display:flex !important;align-items:center !important;justify-content:center !important;
}
.convertwheelx-submit:hover{
    opacity:.95;
    transform:translateY(-2px);
    box-shadow:0 12px 28px -4px rgba(14,165,233,.48),0 4px 8px rgba(0,0,0,.08);
}
.convertwheelx-submit:active{transform:translateY(0);box-shadow:0 4px 12px rgba(14,165,233,.3);}
.convertwheelx-submit:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none;}


.convertwheelx-submit.convertwheelx-spinning{
    pointer-events:none;
    position:relative;
    color:transparent !important;
}
.convertwheelx-submit.convertwheelx-spinning::after{
    content:'' !important;
    display:block !important;
    position:absolute;top:50%;left:50%;
    width:22px;height:22px;margin:-11px 0 0 -11px;
    border:3px solid rgba(255,255,255,.35);
    border-top-color:#fff;border-radius:50%;
    animation:convertwheelx-btn-spin .6s linear infinite;
}


.convertwheelx-disclaimer{
    font-size:.78rem;color:#94a3b8;line-height:1.45;margin:0;text-align:center;
}
.convertwheelx-disclaimer a{color:inherit;text-decoration:underline;}


.convertwheelx-error{
    padding:11px 16px;
    border-radius:12px;
    background:#fef2f2;
    color:#dc2626;
    font-size:.875rem;
    font-weight:600;
    line-height:1.4;
    border:1px solid #fecaca;
    box-shadow:0 2px 6px rgba(220,38,38,.06);
}


.convertwheelx-result-section{
    display:flex;flex-direction:column;align-items:center;
    gap:14px;text-align:center;
    animation:convertwheelx-fade-up .45s cubic-bezier(.16,1,.3,1);
}


.convertwheelx-result-badge{
    width:72px;height:72px;
    border-radius:999px;
    background:radial-gradient(circle,rgba(245,158,11,.18) 0%,rgba(245,158,11,.04) 70%);
    display:flex;align-items:center;justify-content:center;
    margin-bottom:2px;
}


.convertwheelx-result-icon{
    font-size:3.2rem;line-height:1;
    animation:convertwheelx-result-pop .6s cubic-bezier(.34,1.56,.64,1);
}


.convertwheelx-result-title{
    font-size:1.75rem !important;font-weight:800 !important;margin:0 !important;line-height:1.2 !important;letter-spacing:-.02em !important;
    text-transform:none !important;
}
.convertwheelx-result-text{
    font-size:.98rem;margin:0;color:#64748b;line-height:1.55;
}
.convertwheelx-result-text p,
.convertwheelx-result-text ul,
.convertwheelx-result-text ol{
    margin:0;
}
.convertwheelx-result-text p + p,
.convertwheelx-result-text p + ul,
.convertwheelx-result-text p + ol,
.convertwheelx-result-text ul + p,
.convertwheelx-result-text ol + p,
.convertwheelx-result-text ul + ul,
.convertwheelx-result-text ol + ol{
    margin-top:.8rem;
}
.convertwheelx-result-text ul,
.convertwheelx-result-text ol{
    padding-left:1.25rem;
    text-align:left;
}
.convertwheelx-result-text a{
    color:inherit;
    font-weight:700;
    text-decoration:underline;
}


.convertwheelx-coupon-box{
    display:flex;align-items:center;justify-content:space-between;
    gap:8px;
    border:2px dashed #cbd5e1;
    border-radius:14px;
    background:#f8fafc;
    padding:4px 4px 4px 16px;
    width:100%;max-width:320px;
    margin-top:6px;
}
.convertwheelx-coupon-code{
    font-size:1.2rem;font-weight:800;
    letter-spacing:.08em;
    color:#0f172a;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
.convertwheelx-copy-btn{
    padding:11px 20px !important;
    border:none !important;border-radius:10px !important;
    font-size:.875rem !important;font-weight:700 !important;
    cursor:pointer !important;
    transition:all .2s ease;
    white-space:nowrap !important;
    box-shadow:0 2px 6px rgba(0,0,0,.08) !important;
    text-transform:none !important;
    letter-spacing:normal !important;
    min-width:0 !important;
}
.convertwheelx-copy-btn:hover{opacity:.9;transform:scale(1.03);}
.convertwheelx-copy-btn.convertwheelx-copied{background:#10b981!important;color:#fff!important;}


.convertwheelx-gift-box{margin-top:6px;}
.convertwheelx-gift-btn{
    display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:8px !important;
    padding:14px 24px !important;
    border-radius:14px !important;
    font-size:.98rem !important;font-weight:700 !important;
    text-decoration:none !important;
    transition:all .2s cubic-bezier(.4,0,.2,1);
    box-shadow:0 8px 24px -4px rgba(14,165,233,.38);
    text-transform:none !important;
    letter-spacing:normal !important;
}
.convertwheelx-gift-btn:hover{
    opacity:.95;
    transform:translateY(-2px);
    box-shadow:0 12px 28px -4px rgba(14,165,233,.48);
}


.convertwheelx-close-result{
    display:inline-flex !important;align-items:center !important;justify-content:center !important;
    min-width:110px !important;
    padding:11px 22px !important;
    background:rgba(15,23,42,.06) !important;
    border:1px solid rgba(148,163,184,.26) !important;
    border-radius:12px !important;
    font-size:.92rem !important;font-weight:700 !important;
    color:#475569 !important;
    cursor:pointer !important;
    transition:all .2s ease;
    margin-top:8px !important;
    text-transform:none !important;
    letter-spacing:normal !important;
}
.convertwheelx-close-result:hover{
    background:rgba(15,23,42,.1);
    color:#0f172a;
    border-color:rgba(100,116,139,.35);
    transform:translateY(-1px);
}




.convertwheelx-standalone{
    width:100%;max-width:860px;margin:32px auto;
}
.convertwheelx-standalone .convertwheelx-canvas-box{
    width:360px;height:360px;max-width:100%;
    margin:0 auto;display:flex;align-items:center;justify-content:center;
}
.convertwheelx-standalone-inner{
    position:relative;
    border-radius:16px;
    box-shadow:0 8px 30px rgba(0,0,0,.1);
    overflow:hidden;
}




.convertwheelx-confetti{
    position:fixed;inset:0;z-index:1000000;
    pointer-events:none;
}

@keyframes convertwheelx-btn-spin{to{transform:rotate(360deg);}}
@keyframes convertwheelx-fade-up{
    from{opacity:0;transform:translateY(12px);}
    to{opacity:1;transform:translateY(0);}
}
@keyframes convertwheelx-result-pop{
    0%{transform:scale(0);}
    50%{transform:scale(1.25);}
    100%{transform:scale(1);}
}

@media(max-width:860px){
    .convertwheelx-overlay{
        align-items:center;
        padding:16px 12px;
    }
    .convertwheelx-modal{
        max-width:480px;
        margin:0 auto;
        border-radius:24px;
        max-height:calc(100dvh - 32px);
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
    }
    .convertwheelx-layout{
        flex-direction:column;
        gap:0;
        min-height:auto;
    }
    .convertwheelx-wheel-col{
        order:1;
        flex:0 0 auto;
        padding:28px 16px 8px;
        background:radial-gradient(circle,rgba(14,165,233,.08) 0%,transparent 70%);
    }
    .convertwheelx-wheel-wrap{
        width:260px;
        height:260px;
        max-width:100%;
        margin:0 auto;
    }
    .convertwheelx-form-col{
        order:2;
        flex:0 0 auto;
        padding:12px 24px 28px;
        text-align:center;
    }
    .convertwheelx-form-section{
        gap:10px;
    }
    .convertwheelx-title{font-size:1.45rem;text-align:center;}
    .convertwheelx-subtitle{font-size:.92rem;text-align:center;}
    .convertwheelx-form{
        gap:10px;
    }
    .convertwheelx-check-label{
        justify-content:center;
        text-align:left;
    }
    .convertwheelx-close{
        top:14px;
        right:14px;
        width:36px;
        height:36px;
    }


    .convertwheelx-standalone-inner .convertwheelx-layout{flex-direction:column;}
    .convertwheelx-standalone-inner .convertwheelx-wheel-col{order:1;padding:24px 16px 8px;}
    .convertwheelx-standalone-inner .convertwheelx-wheel-wrap{width:260px;height:260px;max-width:100%;margin:0 auto;}
    .convertwheelx-standalone-inner .convertwheelx-form-col{order:2;padding:12px 24px 28px;}
}

@media(max-width:768px){
    .convertwheelx-overlay.convertwheelx-layout-drawer_left .convertwheelx-modal,
    .convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-modal{
        width:92vw;
        max-width:540px;
    }
}

@media(max-width:640px){
    .convertwheelx-overlay.convertwheelx-layout-drawer_left,
    .convertwheelx-overlay.convertwheelx-layout-drawer_right{
        align-items:flex-end;
        justify-content:center;
        padding:0;
    }
    .convertwheelx-overlay.convertwheelx-layout-drawer_left .convertwheelx-modal,
    .convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-modal{
        width:100%;
        max-width:100%;
        height:auto;
        max-height:92dvh;
        border-radius:24px 24px 0 0;
        transform:translateY(100%);
        margin:0;
    }
    .convertwheelx-overlay.convertwheelx-layout-drawer_left.convertwheelx-visible .convertwheelx-modal,
    .convertwheelx-overlay.convertwheelx-layout-drawer_right.convertwheelx-visible .convertwheelx-modal{
        transform:translateY(0);
    }
    .convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-layout{
        flex-direction:column;
    }
    .convertwheelx-overlay.convertwheelx-layout-drawer_right .convertwheelx-close{
        left:auto;
        right:14px;
    }
    .convertwheelx-overlay.convertwheelx-layout-fullscreen .convertwheelx-modal{
        display:block;
        padding:40px 12px 24px;
    }
    .convertwheelx-overlay.convertwheelx-layout-fullscreen .convertwheelx-wheel-wrap{
        width:240px;
        height:240px;
    }
}

@media(max-width:480px){
    .convertwheelx-overlay{
        padding:10px 8px;
    }
    .convertwheelx-modal{
        border-radius:20px;
        max-height:calc(100dvh - 20px);
    }
    .convertwheelx-wheel-col{
        padding:24px 12px 6px;
    }
    .convertwheelx-wheel-wrap{
        width:230px;
        height:230px;
        max-width:100%;
    }
    .convertwheelx-pointer.convertwheelx-pointer-top,
    .convertwheelx-pointer:not(.convertwheelx-pointer-right){
        border-left-width:12px;
        border-right-width:12px;
        border-top-width:24px;
    }
    .convertwheelx-pointer.convertwheelx-pointer-right{
        border-top-width:12px;
        border-bottom-width:12px;
        border-right-width:24px;
    }
    .convertwheelx-form-col{
        padding:8px 16px 24px;
    }
    .convertwheelx-form-section{
        gap:8px;
    }
    .convertwheelx-title{
        font-size:1.3rem;
        line-height:1.2;
    }
    .convertwheelx-subtitle{
        font-size:.88rem;
        line-height:1.45;
    }
    .convertwheelx-input{
        padding:12px 16px;
        font-size:.92rem;
        border-radius:12px;
    }
    .convertwheelx-submit{
        padding:14px 18px;
        font-size:.98rem;
        border-radius:12px;
    }
    .convertwheelx-close{
        top:12px !important;
        right:12px !important;
        width:34px !important;
        height:34px !important;
        min-width:34px !important;
        max-width:34px !important;
        min-height:34px !important;
        max-height:34px !important;
    }
    .convertwheelx-close svg{
        width:15px !important;
        height:15px !important;
    }
    .convertwheelx-coupon-box{
        width:100%;
        max-width:100%;
    }
    .convertwheelx-coupon-code{
        font-size:1.1rem;
        padding-left:10px;
    }
    .convertwheelx-copy-btn{
        padding:10px 16px;
        font-size:.85rem;
    }
    .convertwheelx-gift-btn{
        width:100%;
        padding:13px 18px;
        font-size:.92rem;
    }
    .convertwheelx-close-result{
        width:100%;
    }
}


/* ==========================================================================
   Launcher Pull-out Widget
   ========================================================================== */
.convertwheelx-launcher {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999990 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 48px !important;
    padding: 18px 14px !important;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    user-select: none;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.convertwheelx-launcher-left {
    left: 0 !important;
    right: auto !important;
    border-radius: 0 12px 12px 0 !important;
}
.convertwheelx-launcher-right {
    left: auto !important;
    right: 0 !important;
    border-radius: 12px 0 0 12px !important;
}
.convertwheelx-launcher-left:hover {
    transform: translateY(-50%) translateX(4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.convertwheelx-launcher-right:hover {
    transform: translateY(-50%) translateX(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.convertwheelx-launcher-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}
.convertwheelx-launcher-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
}
@keyframes convertwheelx-launcher-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    .convertwheelx-modal,
    .convertwheelx-launcher,
    .convertwheelx-launcher-icon,
    .convertwheelx-result-icon,
    .convertwheelx-result-section,
    .convertwheelx-couponbar {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media(max-width: 768px) {
    .convertwheelx-launcher-hide-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Sticky Floating Coupon Bar with Live Countdown
   ========================================================================== */
.convertwheelx-couponbar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999980 !important;
    padding: 12px 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    animation: convertwheelx-slide-in 0.35s ease forwards;
    margin: 0 !important;
    border-radius: 0 !important;
}
.convertwheelx-couponbar-top {
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.convertwheelx-couponbar-bottom {
    bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
@keyframes convertwheelx-slide-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.convertwheelx-couponbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.convertwheelx-couponbar-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    flex: 1 1 auto;
}
.convertwheelx-couponbar-icon {
    font-size: 1.25rem;
    line-height: 1;
}
.convertwheelx-couponbar-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 800;
    letter-spacing: 0.05em;
}
.convertwheelx-couponbar-timer {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 800;
    color: #fbbf24;
    margin-left: 4px;
}
.convertwheelx-couponbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.convertwheelx-couponbar-btn {
    padding: 8px 18px !important;
    border-radius: 999px !important;
    border: none !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.15s, opacity 0.15s;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    min-width: 0 !important;
}
.convertwheelx-couponbar-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}
.convertwheelx-couponbar-close {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    opacity: 0.7 !important;
    transition: opacity 0.15s;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.convertwheelx-couponbar-close:hover {
    opacity: 1;
}

@media(max-width: 640px) {
    .convertwheelx-couponbar {
        padding: 8px 12px;
    }
    .convertwheelx-couponbar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    .convertwheelx-couponbar-content {
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
    .convertwheelx-couponbar-actions {
        width: 100%;
        justify-content: center;
    }
    .convertwheelx-couponbar-btn {
        flex: 1;
        max-width: 240px;
        text-align: center;
        padding: 7px 14px;
        font-size: 0.82rem;
    }
}




@keyframes convertwheelx-btn-spin {to{transform:rotate(360deg);}}
@keyframes convertwheelx-fade-up{
    from{opacity:0;transform:translateY(12px);}
    to{opacity:1;transform:translateY(0);}
}

@keyframes convertwheelx-fade-up {
    from{opacity:0;transform:translateY(12px);}
    to{opacity:1;transform:translateY(0);}
}

@keyframes convertwheelx-result-pop {
    0%{transform:scale(0);}
    50%{transform:scale(1.25);}
    100%{transform:scale(1);}
}

@keyframes convertwheelx-launcher-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) scale(1.1); }
}

@keyframes convertwheelx-slide-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
