
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --primary: #2563eb;
    --primary-dark: #010101;
    --accent: #555555;
    --success: #16a34a;
    --danger: #dc2626;
    --shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #eef5ff 0%, var(--bg) 40%, #f8fafc 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px !important;
}

body {
    width: auto !important;
    margin: 0 !important;
    padding: 24px 14px 48px;
}

form#ss {
    max-width: 1180px;
    margin: 0 auto;
}

.index-demo {
    width: 100%;
}

.survey-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-card,
.survey-card,
div[style*='border: 3px dashed #ccc'] {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow);
    width: 100% !important;
    padding: 3px !important;
    box-sizing: border-box;
}

.hero-card {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%, #ecfeff 100%) !important;
    overflow: hidden;
    position: relative;
}

    .hero-card:before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(37,99,235,.18) 0%, rgba(37,99,235,0) 70%);
    }

.hero-logo {
    margin-bottom: 14px;
}

    .hero-logo img {
        max-width: 210px;
        height: auto;
    }


.survey-card table,
div[style*='border: 3px dashed #ccc'] table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.survey-card td,
div[style*='border: 3px dashed #ccc'] td {
    vertical-align: middle;
}

.slider-section-table td:first-child {
    width: 220px !important;
    max-width: 220px !important;
    min-width: 220px !important;
    white-space: normal;
}

.slider-section-table td:nth-child(2) {
    width: 90px !important;
    max-width: 90px !important;
    min-width: 90px !important;
    white-space: nowrap;
}

.slider-section-table td[colspan='10'],
.slider-section-table td[colspan='12'] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

td[align='center'][style*='background-color'],
td[style*='background-color:#000000'],
td[style*='background-color:#707070'] {
    background: linear-gradient(90deg, var(--primary-dark), var(--accent)) !important;
    color: #fff !important;
    border-radius: 14px;
    padding: 12px 15px !important;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .2px;
}

/* regular ASP.NET inputs */
input[type='text'],
input[type='email'],
textarea,
.RadInput input {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 35px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 7px 9px !important;
    background: #fff !important;
    box-sizing: border-box;
    font-size: 14px !important;
}

/* Telerik wrapper: no extra border */
.RadMaskedTextBox,
.RadInput {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

    /* Telerik inner input: actual visible textbox */
    .RadMaskedTextBox input,
    .RadInput input {
        width: 100% !important;
        min-height: 44px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 12px !important;
        padding: 10px 12px !important;
        background: #fff !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        box-shadow: none !important;
    }

        /* focus */
        .RadMaskedTextBox input:focus,
        .RadInput input:focus {
            outline: none !important;
            border-color: #2563eb !important;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10) !important;
        }

        input[type='text']:focus,
        input[type='email']:focus,
        textarea:focus,
        .RadInput input:focus,
        .RadMaskedTextBox input:focus {
            outline: none;
            border-color: var(--primary) !important;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
        }

input[readonly] {
    background: #f8fafc !important;
    color: #475569 !important;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.inline-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

    .inline-choice-group label,
    .workday-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border: 1px solid #dbe4f0;
        border-radius: 999px;
        background: #fff;
        transition: all .2s ease;
        cursor: pointer;
    }

        .inline-choice-group label:hover,
        .workday-chip:hover {
            border-color: #93c5fd;
            background: #eff6ff;
        }

.slider-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 16px 14px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    margin-bottom: 12px;
}

.slider-card-header {
    display: grid;
    grid-template-columns: minmax(180px, 240px) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.slider-title {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
    max-width: 240px;
    line-height: 1.35;
}

.na-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    justify-self: start;
}

.slider-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.slider-value-pill {
    min-width: 74px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 10px 24px rgba(37,99,235,.18);
}

.interactive-slider {
    margin: 14px 10px 10px;
}

    .interactive-slider.ui-slider {
        height: 10px;
        border: none;
        border-radius: 999px;
        background: linear-gradient(90deg, #dbeafe, #bfdbfe, #93c5fd);
    }

    .interactive-slider .ui-slider-range {
        background: linear-gradient(90deg, var(--primary-dark), var(--accent));
        border-radius: 999px;
    }

    .interactive-slider .ui-slider-handle {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        top: -7px;
        border: 3px solid #ffffff;
        background: linear-gradient(180deg, var(--primary), var(--accent));
        box-shadow: 0 8px 20px rgba(37,99,235,.28);
        cursor: grab;
    }

        .interactive-slider .ui-slider-handle:focus {
            outline: none;
            box-shadow: 0 0 0 6px rgba(37, 99, 235, .12), 0 8px 20px rgba(37,99,235,.28);
        }

.slider-disabled {
    opacity: .45;
    filter: grayscale(.15);
}

.workday-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.workday-box {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    background: #fff;
}

.workday-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.workday-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.validator,
span[style*='Red'],
.field-validation-error,
.validation-summary-errors {
    color: var(--danger) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    display: inline-block;
    margin-top: 6px;
}

#btnSubmit,
input[type='submit'],
button {
    min-width: 220px;
    min-height: 52px;
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(90deg, var(--primary-dark), var(--accent)) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 16px 32px rgba(37,99,235,.24);
    transition: transform .2s ease, box-shadow .2s ease;
}

    #btnSubmit:hover,
    input[type='submit']:hover,
    button:hover {
        transform: translateY(-1px);
        box-shadow: 0 20px 36px rgba(37,99,235,.28);
    }

.sticky-submit {
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin: 8px 0 0 0;
}

.free-offer-box {
    border-left: 5px solid var(--success);
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

img[src*='spacer.jpg'] {
    display: none !important;
}



.sticky-submit {
    position: static !important;
    bottom: auto !important;
}

@media (min-width: 992px) {
    .slider-card {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 991px) {
    .slider-section-table td:first-child,
    .slider-section-table td:nth-child(2) {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .workday-grid {
        grid-template-columns: 1fr;
    }

    .survey-card table,
    .survey-card tbody,
    .survey-card tr,
    .survey-card td {
        width: 100% !important;
        box-sizing: border-box;
    }

    .survey-card tr {
        display: table-row;
    }

    .survey-card td {
        display: table-cell;
    }

    .slider-card {
        padding: 14px 12px 12px;
    }

    .interactive-slider {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin: 14px 10px 10px !important;
    }

        .interactive-slider.ui-slider {
            display: block !important;
        }

    .slider-card-header,
    .slider-meta {
        gap: 8px;
    }

    .slider-card-header {
        grid-template-columns: 1fr;
    }

    .slider-title {
        max-width: none;
    }
}

@media (max-width: 640px) {
    body {
        padding: 14px 10px 36px;
    }

    .hero-card,
    .survey-card,
    div[style*='border: 3px dashed #ccc'] {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    #btnSubmit,
    input[type='submit'],
    button {
        width: 100%;
    }
}

.slider-scale {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    text-align: center;
}

input[id$='_Value'] {
    display: none !important;
}



.survey-hero {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 13px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4f8fc, #eaf3fb);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid #dbe7f3;
}

.survey-hero-left {
    flex: 0 0 220px;
    text-align: center;
}

.survey-logo {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.survey-hero-right {
    flex: 1;
}

.survey-badge {
    display: inline-block;
    background: #000000;
    color: #48EB00;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.survey-title {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    color: #12395b;
    line-height: 1.2;
}

.survey-subtitle {
    margin: 0 0 18px 0;
    font-size: 16px;
    color: #4f6477;
    line-height: 1.6;
}

.survey-progress-wrap {
    margin-top: 10px;
}

.survey-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #35536e;
    margin-bottom: 8px;
}

.survey-progress-bar {
    width: 100%;
    height: 14px;
    background: #dfeaf5;
    border-radius: 999px;
    overflow: hidden;
}

.survey-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #010101, #555555);
    transition: width 0.4s ease;
}

@media (max-width: 768px) {
    .survey-hero {
        flex-direction: column;
        text-align: center;
    }

    .survey-hero-left {
        flex: unset;
    }

    .survey-progress-text {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
}




.survey-toptext-card {
    margin: 18px 0 22px 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dbe7f3;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.survey-toptext-head {
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #010101, #555555);
}

.survey-toptext-body {
    padding: 14px 18px 5px 10px;
    font-size: 15px;
    line-height: 1.55;
    color: #23415c;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

    .survey-toptext-body p {
        margin: 0 0 14px 0;
    }

    .survey-toptext-body a {
        color: #0d6efd;
        font-weight: 600;
        text-decoration: none;
        word-break: break-word;
    }

        .survey-toptext-body a:hover {
            text-decoration: underline;
        }

    .survey-toptext-body b,
    .survey-toptext-body strong {
        color: #12395b;
    }

    .survey-toptext-body center,
    .survey-toptext-body .center {
        display: block;
        margin: 14px 0;
        padding: 12px 16px;
        border-radius: 12px;
        background: #eef6ff;
        color: #0f3d67;
        font-weight: 700;
        text-align: center;
    }

.survey-offer-card {
    margin: 0 0 24px 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff8e8;
    border: 1px solid #f3d58a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

    .survey-offer-card p {
        margin: 0;
        font-size: 15px;
        color: #5d4a16;
        line-height: 1.6;
    }



.scale-row-alt td {
    background-color: #f5f7fb;
}

.scale-table tr:hover td {
    background-color: #fffbe6;
    border-top: 1px solid #bfc7d1;
    border-bottom: 1px solid #bfc7d1;
}

    .scale-table tr:hover td:first-child {
        border-left: 1px solid #bfc7d1;
    }

    .scale-table tr:hover td:last-child {
        border-right: 1px solid #bfc7d1;
    }