.cc-survey-section {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 30px;
    padding: 10px 0;
    background-color: #e02f39;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.dbi-website-survey-cart-wrap {
    margin-top: 15px;
}

.dbi-website-survey-cart-wrap .cc-survey-section {
    margin-bottom: 0;
}

.cc-survey-text {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.cc-survey-icons {
    display: inline-flex;
    align-items: center;
    height: 26px;
    column-gap: 8px;
}

#dbi-website-survey-section .cc-survey-icons .cc-thumbsUp,
#dbi-website-survey-section .cc-survey-icons .cc-thumbsDown {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px !important;
    min-height: 26px !important;
    margin: 0;
    padding: 0;
    border: 1.5px solid #fff;
    border-radius: 50% !important;
    background: none;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

#dbi-website-survey-section .cc-survey-icons .cc-thumbsUp svg,
#dbi-website-survey-section .cc-survey-icons .cc-thumbsDown svg {
    color: #fff;
    fill: #fff;
}

body.dbi-survey-open {
    overflow: hidden;
}

#dvgsr-survey {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

#dvgsr-survey.is-open {
    display: flex;
}

#dvgsr-survey .cc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

#dvgsr-survey .dbi-survey-modal {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-height: 90vh;
    background-image: linear-gradient(#fff, #fff, #f4f4f4);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
    border-radius: 6px;
}

#dvgsr-survey .cc-leftsurvey {
    flex-shrink: 0;
    width: 280px;
    height: 532px;
    background-color: #e02f39;
    background-image: url("../img/website-experience-survey/magpul-prs-lite-stock.jpg");
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

#dvgsr-survey .cc-rightsurvey {
    display: flex;
    flex-direction: column;
    width: 480px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

#dvgsr-survey .cc-header {
    padding: 24px 40px 8px 24px;
}

#dvgsr-survey .cc-btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #999;
    font-size: 16px;
    cursor: pointer;
}

#dvgsr-survey .cc-prompt {
    color: #222;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

#dvgsr-survey .cc-content {
    padding: 0 24px 24px;
}

#dvgsr-survey .cc-form-group {
    margin-bottom: 4px;
}

#dvgsr-survey .cc-label {
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin: 2px 0;
    color: #545454;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.4;
    cursor: pointer;
}

#dvgsr-survey .cc-label input[type="checkbox"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

#dvgsr-survey .cc-checkmark {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    border-radius: 2px;
    background: #fff;
}

#dvgsr-survey .cc-label input[type="checkbox"]:checked ~ .cc-checkmark {
    background-color: #e02f39;
    border-color: #e02f39;
}

#dvgsr-survey .cc-checkmark::after {
    content: "";
    display: none;
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#dvgsr-survey .cc-label input[type="checkbox"]:checked ~ .cc-checkmark::after {
    display: block;
}

#dvgsr-survey .cc-conditional-text {
    display: none;
    width: 100%;
    margin: 6px 0 12px 24px;
    padding: 6px 0;
    border: none;
    border-bottom: 1px solid #333;
    background: transparent;
    color: #333;
    font-family: inherit;
    font-size: 12px;
    font-style: italic;
}

#dvgsr-survey .cc-flex {
    margin-top: 16px;
    padding-left: 24px;
    text-align: left;
}

#dvgsr-survey .cc-submit,
#dvgsr-survey .cc-continue-shopping {
    display: inline-block;
    height: 39.25px;
    min-height: 38.8px;
    padding: 0 18.624px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    background-color: #e02f39;
    color: #fff;
    font-family: inherit;
    font-size: 15.52px;
    font-weight: 700;
    letter-spacing: 0.4656px;
    line-height: 37.248px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease, border 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

#dvgsr-survey .cc-submit:hover,
#dvgsr-survey .cc-continue-shopping:hover {
    opacity: 0.9;
}

#dvgsr-survey .cc-error {
    display: none;
    margin-top: 8px;
    color: #e02f39;
    font-family: inherit;
    font-size: 12px;
    text-align: center;
}

#dvgsr-survey .cc-page2 {
    display: none;
}

#dvgsr-survey .cc-page2.is-visible {
    display: block;
}

#dvgsr-survey .cc-page2 .cc-content {
    padding: 40px 24px;
    text-align: center;
}

#dvgsr-survey .cc-thankyou-heading {
    margin-bottom: 8px;
    color: #222;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
}

#dvgsr-survey .cc-thankyou-text {
    margin-bottom: 20px;
    color: #545454;
    font-family: inherit;
    font-size: 14px;
}

@media (max-width: 768px) {
    .cc-survey-section {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
    }

    #dvgsr-survey .dbi-survey-modal {
        flex-direction: column;
        width: calc(100% - 32px);
        max-width: 400px;
    }

    #dvgsr-survey .cc-leftsurvey {
        width: 100%;
        height: 140px;
    }

    #dvgsr-survey .cc-rightsurvey {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-height: 0;
    }
}
