.roas-container {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 0px auto !important;
    color: #FBFBE7 !important;
    font-family: 'Montserrat', Sans-serif !important;
    width: 100% !important;
    max-width: 800px !important;
    min-height: 600px !important;
    /* 
    min-height: 100vh;
    min-height: 100dvh;
    */
    border-radius: 0px !important;
    overflow: hidden !important;
    transition: height 300ms ease-in-out !important;
}
.roas-header {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    background-color: #F27D6D !important;
    padding: 10px 10px 5px 10px !important;
    width: 100%;
    box-sizing: border-box !important;
    z-index: 100;
    position: relative;
}
.roas-header-logo {
    width: 100px !important;
    height: 60px !important;
    background-color: #262626 !important;
    border-radius: 12px !important;
    margin-right: 15px !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.roas-header-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}
.roas-header-title h1 {
    color: #e5e7eb !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.roas-header-progress {
    width: 100%;
    height: 6px;
    background: #F27D6D;
    overflow: hidden;
    z-index: 100;
}
.roas-header-progress-fill {
    height: 100%;
    background: #85C285;
    width: 0%;
    transition: width 0.4s ease-in-out;
    z-index: 100;
}
.roas-content {
    position: relative !important;
    flex: 1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* background-image: url("https://brandcandy.co.za/wp-content/uploads/2024/04/dark-halftone-repeat.jpg"); */
    background: transparent !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}
.roas-content::-webkit-scrollbar {
    width: 8px;
}
.roas-content::-webkit-scrollbar-track {
    background: #262626; 
}
.roas-content::-webkit-scrollbar-thumb {
    background: #444; 
    border-radius: 4px;
}
.roas-content::-webkit-scrollbar-thumb:hover {
    background: #F27D6D; 
}
.calculator-page {
    width: 100% !important;
    position: absolute !important;
    top: 20px !important;
    left: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    margin-bottom: 50px;
    opacity: 0 !important;
    transform: translateY(50px) !important;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease-out !important;
    pointer-events: none !important;
}
.calculator-page.active {
    opacity: 1 !important;
    position: relative !important;
    transform: translateY(0%) !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}
.calculator-page.enter-bottom {
    transform: translateY(100%) !important;
    opacity: 0 !important;
}
.calculator-page.exit-top {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    z-index: 5 !important;
}
.calculator-page.enter-top {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
}
.calculator-page.exit-bottom {
    transform: translateY(100%) !important;
    opacity: 0 !important;
    z-index: 5 !important;
}
.roas-prompt {
    background-color: #FBFBE7 !important;
    border-radius: 15px !important;
    padding: 15px 25px !important;
    margin-top: 15px !important;
    margin-bottom: 18px !important;
    position: relative !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.roas-prompt::after {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 30px !important;
    border-width: 0 15px 15px 15px !important;
    border-style: solid !important;
    border-color: transparent transparent #FBFBE7 transparent !important;
}

.roas-first-prompt {
    margin-top: 100px !important;
}

.roas-first-prompt::before {
    content: '' !important;
    position: absolute !important;
    top: -100px !important;
    left: 0px !important;
    width: 80px !important;
    height: 80px !important;
    background-image: url('https://brandcandy.co.za/wp-content/uploads/2026/03/Cody_real.webp') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
    will-change: transform !important;
    transform-origin: center bottom !important;
    animation: roas-float 3s ease-in-out infinite !important;
}

.roas-first-prompt::after {
    content: 'Cody Green from Brand Candy' !important;
    position: absolute !important;
    top: -70px !important; 
    left: 97px !important; 
    font-size: 18px !important;
    font-weight: bold !important;
    color: #FBFBE7 !important; 
    z-index: 1 !important;
    border: none !important;
    white-space: normal !important;
    max-width: calc(100vw - 130px) !important;
    line-height: 1.2 !important;
}
@media (max-width: 480px) {
    .roas-first-prompt::after {
        font-size: 15px !important;
    }
}

@keyframes roas-float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(-1deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.roas-h2 {
    color: #1F1F1F !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    margin: 0 0 10px 0 !important;
}

.roas-results-h2 {
    color: #1F1F1F !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    margin: 0 0 10px 0 !important;
}

.roas-results-p {
    color: #555 !important;
    font-size: 15px !important;
}

.roas-description {
    color: #555 !important;
    font-size: 15px !important;
    margin: 0 !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px !important;
}

.roas-label {
    display: block !important;
    margin-bottom: 5px;
    font-size: 15px !important;
}

.roas-input,
.roas-select {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    padding: 10px 20px !important;
    height: 45px !important;
    border-radius: 10px !important;
    background: #333333 !important;
    border: 1px solid #444 !important;
    border-left: 4px solid #F27D6D !important;
    color: #FBFBE7 !important;
    outline: none !important;
    margin-bottom: 15px;
}

.selector-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.button-selector {
    width: 100% !important;
    padding: 15px !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    text-align: left !important;
    padding-left: 30px !important;
    background-color: #4D4D4D !important;
    color: #BBB !important;
}

.button-selector.selected {
    background-color: #85C285 !important;
    color: #FBFBE7 !important;
}

.btn-google::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 488 512"><path fill="%23FBFBE7" d="M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"/></svg>') no-repeat center !important;
    background-size: contain !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
}

.btn-meta::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="%23FBFBE7" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"/></svg>') no-repeat center !important;
    background-size: contain !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
}

.nav-buttons {
    display: flex !important;
    justify-content: center !important;
}

.roas-nav-button {
    background-color: #FBFBE7 !important;
    color: #262626 !important;
    font-weight: 700 !important;
    padding: 15px 60px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
}

.roas-nav-button.secondary {
    background: transparent !important;
    color: #888 !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
}

.roas-cta-button {
    background-color: #262626 !important;
    color: #FBFBE7 !important;
    font-weight: 700 !important;
    padding: 15px 60px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease-in-out !important;
}

.roas-cta-button:hover {
    background-color: #F27D6D !important;
}

.results-grid {
    background: #333 !important;
    padding: 20px !important;
    border-radius: 15px !important;
    border: 1px solid #444 !important;
}

.roas-accent {
    color: #F27D6D !important;
}

.roas-cream {
    color: #FBFBE7 !important;
}

.roas-hide {
    display: none !important;
}

.shake-element {
    animation: shake 0.5s ease-in-out;
}

.roas-loader-overlay {
    background-color: rgba(31, 31, 31, 0.9) !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9998;
}

.roas-loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url('https://brandcandy.co.za/wp-content/uploads/2025/03/bc_logo_loader.gif') no-repeat center center;
    background-size: contain;
    z-index: 9999;
    display: none;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

#btn_selection_next {
    display: none;
}

@keyframes fadeInRightStagger {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.calculator-page.active>* {
    opacity: 0;
    animation: fadeInRightStagger 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.calculator-page.active>*:nth-child(1) {
    animation-delay: 0.1s;
}
.calculator-page.active>*:nth-child(2) {
    animation-delay: 0.3s;
}
.calculator-page.active>*:nth-child(3) {
    animation-delay: 0.5s;
}

.calculator-page.active>*:nth-child(4) {
    animation-delay: 0.7s;
}

.error-message {
    margin-top: -10px !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.roas-required::after {
    content: " *" !important;
    font-size: 15px !important;
    color: #F27D6D !important;
    font-weight: 500 !important;
}

.roas-optin-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    width: 100% !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    border: 2px solid #333;
    border-radius: 10px;
    height: 45px;
    margin-bottom: 15px;
}
.roas-optin-text {
    font-size: 14px !important;
    color: #e5e7eb !important; 
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

.roas-optin-box {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #F27D6D !important;
    border-radius: 4px !important;
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.roas-optin-box::before {
    content: "" !important;
    width: 12px !important;
    height: 12px !important;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%) !important;
    transform: scale(0) !important;
    background-color: #e5e7eb !important;
    transition: 120ms transform ease-in-out !important;
}
.roas-optin-row.is-checked .roas-optin-box {
    background-color: #F27D6D !important;
}

.roas-optin-row.is-checked .roas-optin-box::before {
    transform: scale(1) !important;
}