﻿.v3-tool-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    /*grid-template-rows: 3fr 2fr 5fr;*/
    grid-template-areas:
        "title top-buttons"
        "sub-title top-buttons"
        "bottom-buttons bottom-buttons";
    /*min-height: 180px;*/
    margin-bottom: 2rem;
    gap: 1rem;
}

.v3-tool-title {
    grid-area: title;
    font-size: 32px;
    font-weight: 700;
    color: black;
}

.v3-tool-subtitle {
    grid-area: sub-title;
    font-size: 16px;
    font-weight: 400;
    /*color: black;*/
}

.v3-tool-top-button-container {
    grid-area: top-buttons;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: start;
    gap: 1rem;
}

.v3-tool-bottom-container {
    grid-area: bottom-buttons;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: end;
    margin-top: 1rem;
}

.v3-full-width {
    width: 100%;
}

.v3-align-start {
    justify-content: start !important;
    align-items: start !important;
}

.v3-grid-col-2 {
    grid-template-columns: 1fr 1fr !important;
}

.v3-tool-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    color: hsl(215.3, 25%, 26.7%);
    font-size: 14px;
    font-weight: 600;
}

    .v3-tool-item input {
        padding: 8px 12px 8px 40px;
        font-size: 14px;
        color: hsl(0, 0%, 3.9%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-content: center;
    }

    .v3-tool-item select {
        padding: 8px 40px 8px 12px;
        font-size: 14px;
        color: hsl(0, 0%, 3.9%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-content: center;
    }

.v3-tool-item-title {
}

.v3-tool-item-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

    .v3-tool-item-content.search-icon input {
        background-image: url('../images/search.svg');
        background-size: 16px 16px;
        background-position: 10px 10px;
    }

    .v3-tool-item-content.v3-tool-tabs {
        background-color: hsl(0, 0%, 94.1%);
        height: 37px;
        padding: 3px;
        border-radius: 6px;
    }

        .v3-tool-item-content.v3-tool-tabs button {
            height: 100%;
            background-color: hsl(0, 0%, 94.1%);
            color: hsl(0 0% 45.1%);
            border: 1px solid hsl(0, 0%, 94.1%);
            font-weight: 400;
            display: flex;
            flex-direction: row;
            gap: 0.5rem;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
            padding: 6px 12px;
            cursor: pointer;
        }

            .v3-tool-item-content.v3-tool-tabs button:disabled {
                background-color: white;
                color: hsl(0, 0%, 3.9%);
                border: 1px solid hsl(0, 0%, 89.8%);
                font-weight: 600;
                cursor: default;
            }

            .v3-tool-item-content.v3-tool-tabs button .tool-tab-icon {
                width: 16px;
                height: 16px;
            }

.v3-tool-grid .lpi-btn-hollow {
    background-color: white;
}

.v3-tag-wrapper {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    max-width: auto;
}


    .v3-tag-wrapper span {
        padding: 2px 12px !important;
        border-radius: 999px !important;
        cursor: pointer;
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: 12px !important;
    }
/****************************************************/

.v3-table {
    box-shadow: none;
    border: 1px solid rgb(229, 229, 229);
    border-radius: 12px;
}

    .v3-table table {
        border-radius: 12px;
    }

        .v3-table table th {
            border-top: none;
        }

            .v3-table table th:first-child {
                border-top-left-radius: 12px;
            }

            .v3-table table th:last-child {
                border-top-right-radius: 12px;
            }

        .v3-table table td {
            font-size: 14px;
            white-space: nowrap;
        }

/****************************************************/
.v3-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.v3-list-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 2rem;
    border: 1px solid rgb(229, 229, 229);
    border-radius: 8px;
}

.v3-media-grid-item {
    padding: 1.3rem;
    justify-content: start;
    align-items: start;
}

    .v3-media-grid-item .image-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1/1;
        background-color: hsl(210, 45.2%, 87.8%);
        border-radius: 8px;
        border: 1px solid rgb(229, 229, 229);
    }

        .v3-media-grid-item .image-container img {
            max-width: 100%;
            min-width: 40px;
            min-height: 40px;
        }

.v3-media-list-title {
    color: hsl(222.2, 47.4%, 11.2%);
    font-size: 16px;
    font-weight: 600;
}

.v3-media-grid-title {
    color: hsl(222.2, 47.4%, 11.2%);
    font-size: 16px;
    font-weight: 600;
    margin-top: 1rem;
    /*min-height: 3rem;*/
}

.v3-media-grid-type {
    font-size: 14px;
}

.v3-media-grid-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    margin-top: auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(0, 0%, 89.8%);
}

.v3-media-grid-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    /*justify-content: end;*/
    width: 100%;
    min-height: 40px;
    padding-top: 0.5rem;
}

.v3-media-grid-tags {
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.p-s-0 {
    padding-left: 0;
    padding-right: 0;
}

.v3-list-item:hover {
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
}

.v3-list-item.no-hover-shadow:hover {
    box-shadow: none;
}

.v3-list-item.deactivated {
    background-color: hsl(0, 7.3%, 92%);
}

.v3-table-container {
    /*background-color: aquamarine;*/
    width: 100%;
    height: 100%;
    border-bottom: 1px solid hsl(0, 0%, 93.3%);
    box-shadow: none !important;
    border-radius: 0 !important;
}

    .v3-table-container table {
        height: 100%;
        background-color: #ffffff;
        border-collapse: collapse;
        width: 100%;
    }

.v3-list-item-grid {
    display: grid;
    grid-template-areas:
        "title tools"
        "details tools"
        "created tools";
    width: 100%;
    height: 100%;
    gap: 0.6rem;
}

    .v3-list-item-grid.image {
        grid-template-areas:
            "image title tools"
            "image details tools"
            "image created tools";
        grid-template-columns: auto auto 1fr;
    }

.v3-list-item-image {
    grid-area: image;
    margin-right: 2rem;
}

.v3-list-item-title {
    grid-area: title;
    font-size: 18px;
    font-weight: 600;
    color: black;
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: start;
    align-items: center;
}

.v3-list-details {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.v3-list-details-item {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.v3-list-details-item-content {
    display: flex;
    flex-direction: row;
    color: hsl(215.3, 25%, 26.7%);
    font-weight: 600;
    gap: 0.5rem;
}

    .v3-list-details-item-content .lpi-tag {
        color: white;
        padding: 2px 8px;
        font-size: 0.8rem;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-radius: 999px;
    }

.v3-list-grid-created {
    grid-area: created;
}

.v3-list-grid-tools {
    grid-area: tools;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
}

.v3-context-menu {
    background-image: url(../../images/icons/icon-dots.svg);
    background-size: 16px 16px;
    border-radius: 0.5rem;
    padding: 16px 18px;
    border: 1px solid hsl(216, 12.2%, 83.9%);
    background-color: white;
    font-size: 1.2rem;
}

    .v3-context-menu > div > div {
        /*background-color: red;*/
        border-radius: 6px;
    }

    .v3-context-menu a {
        padding: 0.5rem 0.5rem 0.5rem 3rem;
        background-size: 20px 20px;
        background-position: .6rem center;
        white-space: nowrap;
    }

.v3-context-menu-sep {
    height: 1px;
    width: 100%;
    background-color: hsl(216, 12.2%, 83.9%);
    margin: 5px 0 !important;
}

/* course list - start */
.v3-list-course-grid {
    display: grid;
    grid-template-areas:
        "title tools"
        "details tools"
        "created tools";
    width: 100%;
    height: 100%;
    gap: 0.6rem;
}

.v3-list-course-grid-title {
    grid-area: title;
    font-size: 18px;
    font-weight: 600;
    color: black;
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: start;
    align-items: center;
}

    .v3-list-course-grid-title .course-icon {
        width: 20px;
        height: 20px;
        stroke: hsl(221.2, 83.2%, 53.3%);
    }

.v3-list-course-grid-details {
    grid-area: details;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 2rem;
}

.v3-list-course-grid-details-client {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

.v3-list-course-grid-details-client-title {
    color: hsl(215.3, 25%, 26.7%);
    font-weight: 600;
}

.v3-list-course-grid-details-surveys {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
}

.v3-list-course-grid-details-app {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    color: hsl(221.2, 83.2%, 53.3%);
    justify-content: start;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

    .v3-list-course-grid-details-app .app-icon {
        width: 16px;
        height: 16px;
        stroke: hsl(221.2, 83.2%, 53.3%);
    }

.v3-list-course-grid-details-badge-container {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
}

.v3-list-course-grid-details-badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 12px;
    height: 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
}

    .v3-list-course-grid-details-badge.badge-1 {
        color: hsl(225.9, 70.7%, 40.2%);
        background-color: hsl(214.3, 94.6%, 92.7%);
        border: 1px solid hsl(213.3, 96.9%, 87.3%);
    }

    .v3-list-course-grid-details-badge.badge-2 {
        color: hsl(272.9, 67.2%, 39.4%);
        background-color: hsl(268.7, 100%, 95.5%);
        border: 1px solid hsl(268.6, 100%, 91.8%);
    }

    .v3-list-course-grid-details-badge.badge-3 {
        color: hsl(142.8, 64.2%, 24.1%);
        background-color: hsl(140.6, 84.2%, 92.5%);
        border: 1px solid hsl(141, 78.9%, 85.1%);
    }

    .v3-list-course-grid-details-badge.badge-4 {
        color: hsl(39.5, 64.2%, 24.1%);
        background-color: hsl(39.5, 84.2%, 92.5%);
        border: 1px solid hsl(39.5, 78.9%, 85.1%);
    }

    .v3-list-course-grid-details-badge.badge-5 {
        color: hsl(357, 64.2%, 24.1%);
        background-color: hsl(357, 84.2%, 92.5%);
        border: 1px solid hsl(357, 78.9%, 85.1%);
    }

/* course list - end */

/* survey list - start */
.v3-list-survey-grid {
    display: grid;
    grid-template-areas:
        "title tools"
        "details tools"
        "created tools";
    width: 100%;
    height: 100%;
    gap: 0.6rem;
}

.v3-list-survey-grid-details {
    grid-area: details;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 1rem;
}
/* survey list - end */


/* activity list - start */
.v3-list-activity-grid {
    display: grid;
    grid-template-areas:
        "title tools"
        "details tools"
        "dates tools"
        "created tools";
    width: 100%;
    height: 100%;
    gap: 0.6rem;
}

.v3-list-activity-grid-title {
    grid-area: title;
    font-size: 18px;
    font-weight: 600;
    color: black;
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: start;
    align-items: center;
}

    .v3-list-activity-grid-title .course-icon {
        width: 20px;
        height: 20px;
        stroke: hsl(221.2, 83.2%, 53.3%);
    }

.v3-list-activity-grid-details {
    grid-area: details;
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    gap: 2rem;
}

.v3-list-activity-grid-details-facilitator {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: start;
    align-items: center;
}

    .v3-list-activity-grid-details-facilitator svg {
        width: 16px;
        height: 16px;
        stroke: hsl(221.2, 83.2%, 53.3%);
    }


.v3-list-activity-grid-details-participants {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    color: hsl(142.1, 76.2%, 36.3%);
    justify-content: start;
    align-items: center;
}

    .v3-list-activity-grid-details-participants svg {
        width: 16px;
        height: 16px;
        /*stroke: hsl(142.1, 76.2%, 36.3%);*/
    }

.v3-list-activity-grid-dates {
    grid-area: dates;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
}
/* activity list - end */

/* Survey template wizard - start */
.wiz .v3-tool-item {
    color: hsl(222.2, 47.4%, 11.2%);
}

.v3-list-item.wiz {
    gap: 3rem;
}

.v3-tool-bottom-container.v3-tool-wiz-progress {
    align-items: center;
}

.v3-tool-wiz-progress-ball {
    height: 32px;
    width: 32px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: rgb(226, 232, 240);
    border-radius: 999px;
}

    .v3-tool-wiz-progress-ball.active {
        background-color: var(--color-primary);
        color: var(--color-on-primary);
    }

.v3-tool-wiz-progress-sep {
    width: 50px;
    height: 2px;
    background-color: rgb(226, 232, 240);
}

    .v3-tool-wiz-progress-sep.active {
        background-color: var(--color-primary);
    }

.v3-footer {
}

.v3-wiz-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.v3-wiz-container-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.v3-wiz-container-header-title {
    font-size: 24px;
    color: hsl(0, 0%, 3.9%);
    font-weight: 600;
}

.v3-wiz-container-description {
}

.v3-survey-template-type-button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.v3-survey-template-type-button {
    border: 1px solid hsl(214.3, 31.8%, 91.4%);
    color: hsl(0, 0%, 3.9%);
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
}

    .v3-survey-template-type-button:hover {
        border: 1px solid hsl(212.7, 26.8%, 83.9%);
    }

    .v3-survey-template-type-button.active {
        background-color: hsl(210, 40%, 98%);
        border: 1px solid hsl(217.2, 32.6%, 17.5%);
        color: hsl(0, 0%, 3.9%);
    }

.v3-survey-template-type-button-circle {
    grid-area: circle;
    justify-self: center;
    align-self: center;
    border: 2px solid hsl(212.7, 26.8%, 83.9%);
    border-radius: 999px;
    height: 16px;
    width: 16px;
}

.v3-survey-template-type-button.active .v3-survey-template-type-button-circle {
    background-color: hsl(217.2, 32.6%, 17.5%);
    border: 2px solid hsl(217.2, 32.6%, 17.5%);
    color: hsl(0, 0%, 3.9%);
}

.v3-survey-template-delta-button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.v3-survey-template-delta-button {
    border: 1px solid hsl(214.3, 31.8%, 91.4%);
    color: hsl(0, 0%, 3.9%);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1rem;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
}

    .v3-survey-template-delta-button:hover {
        border: 1px solid hsl(212.7, 26.8%, 83.9%);
    }

    .v3-survey-template-delta-button.active {
        background-color: hsl(210, 40%, 98%);
        border: 1px solid hsl(217.2, 32.6%, 17.5%);
        color: hsl(0, 0%, 3.9%);
    }

        .v3-survey-template-delta-button.active .v3-survey-template-type-button-circle {
            background-color: hsl(217.2, 32.6%, 17.5%);
            border: 2px solid hsl(217.2, 32.6%, 17.5%);
            color: hsl(0, 0%, 3.9%);
        }

.v3-survey-template-delta-button-header-grid {
    display: grid;
    grid-template-areas:
        "circle title"
        "circle description";
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.v3-survey-template-delta-button-header-title {
    grid-area: title;
}

.v3-survey-template-delta-button-header-description {
    grid-area: description;
    color: hsl(215.3, 19.3%, 34.5%);
    font-size: 14px;
}

.v3-survey-template-delta-button-details-grid {
    font-size: 12px;
    display: grid;
    /*grid-template-areas:
        "circle text delta";*/
    grid-template-columns: auto 1fr auto;
    justify-content: start;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    color: hsl(215.3, 19.3%, 34.5%);
}

.v3-survey-template-type-button-details-circle {
    /*grid-area: circle;*/
    background-color: black;
    border-radius: 999px;
    height: 8px;
    width: 8px;
}

    .v3-survey-template-type-button-details-circle.blue {
        background-color: hsl(213.1, 93.9%, 67.8%);
    }

    .v3-survey-template-type-button-details-circle.yellow {
        background-color: hsl(47.9, 95.8%, 53.1%);
    }

    .v3-survey-template-type-button-details-circle.green {
        background-color: hsl(141.9, 69.2%, 58%);
    }

    .v3-survey-template-type-button-details-circle.purple {
        background-color: hsl(309.5, 100%, 61.6%);
    }

.v3-survey-template-type-button-details-text {
    /*grid-area: text;*/
}

.v3-survey-template-type-button-details-delta {
    /*grid-area: delta; */
}

.v3-survey-template-type-button-footer {
    font-style: italic;
    font-size: 12px;
    color: hsl(215.3, 19.3%, 34.5%);
}

.v3-wiz-dotted-container {
    border: 2px dashed hsl(0, 0%, 89.8%);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.v3-wiz-scroll-container {
    border: 1px solid hsl(0, 0%, 89.8%);
    border-radius: 8px;
    padding: 8px;
    overflow-y: auto;
    max-height: 384px;
}

.v3-wiz-scroll-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.v3-theme-select-list-item-container {
    background-color: hsl(210, 40%, 98%);
    padding: 12px;
    border-radius: 8px;
    display: grid;
    grid-template-areas:
        "title icon"
        "description icon";
    grid-template-columns: 1fr auto;
    gap: 0.3rem;
    cursor: pointer;
}

    .v3-theme-select-list-item-container.selected {
        background-color: hsl(217.2, 32.6%, 17.5%);
    }

        .v3-theme-select-list-item-container.selected .v3-theme-select-list-item-title {
            color: white;
        }

        .v3-theme-select-list-item-container.selected .v3-theme-select-list-item-description {
            color: hsl(212.7, 26.8%, 83.9%);
        }

        .v3-theme-select-list-item-container.selected .v3-theme-select-list-item-icon {
            background-color: white;
            border: 2px solid white;
        }

        .v3-theme-select-list-item-container.selected .v3-theme-select-list-item-icon-circle {
            background-color: hsl(217.2, 32.6%, 17.5%);
            border-radius: 999px;
        }

/**/

.v3-theme-select-list-item-title {
}

.v3-theme-select-list-item-description {
    color: hsl(215.4, 16.3%, 46.9%);
    font-size: 12px;
}

.v3-theme-select-list-item-icon {
    grid-area: icon;
    justify-self: center;
    align-self: center;
    border: 2px solid hsl(212.7, 26.8%, 83.9%);
    border-radius: 4px;
    height: 16px;
    width: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.v3-theme-select-list-item-icon-circle {
    background-color: hsl(210, 40%, 98%);
    height: 8px;
    width: 8px;
}

.v3-theme-select-list-item-delete {
    grid-area: icon;
    justify-self: center;
    align-self: center;
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

    .v3-theme-select-list-item-delete:hover {
        background-color: hsl(0, 85.7%, 97.3%);
    }

.v3-theme-select-list-item-delete-icon {
    background-image: url("../images/icons/icon-delete-red.svg");
    background-size: contain;
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.v3-wiz-added-question-container {
    display: grid;
    grid-template-areas:
        "badges icon"
        "text icon"
        "correct icon"
        "options icon";
    grid-auto-columns: 1fr auto;
    gap: 0.3rem;
    background-color: hsl(210, 40%, 98%);
    padding: 1.5rem;
    font-size: 12px;
}

.v3-color-red {
    color: hsl(0, 72.2%, 50.6%);
}

.v3-wiz-added-question-badges {
    grid-area: badges;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

    .v3-wiz-added-question-badges span,
    .v3-wiz-question-group-question-badges span {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: hsl(214.3, 31.8%, 91.4%);
        border-radius: 4px;
        color: hsl(215.3, 19.3%, 34.5%);
        padding: 4px 8px;
        font-weight: 600;
    }

.v3-wiz-added-question-text {
    grid-area: text;
    font-size: 14px;
    color: hsl(222.2, 47.4%, 11.2%);
    font-weight: 600;
}

.v3-wiz-added-question-correct {
    grid-area: correct;
}

.v3-wiz-added-question-options {
    grid-area: options;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3rem;
    padding: 0 0 0 8px;
}

    .v3-wiz-added-question-options .correct {
        color: hsl(142.1, 76.2%, 36.3%);
    }

.v3-wiz-question-group-container {
    display: grid;
    grid-template-areas:
        "title title"
        "separator separator"
        "questions controls";
    grid-template-columns: 1fr auto;
    background-color: hsl(210, 40%, 98%);
    border: 1px solid hsl(0, 0%, 89.8%);
    border-radius: 8px;
    width: 100%;
    padding: 16px;
    gap: 1rem;
}

.v3-wiz-question-group-header {
    display: grid;
    grid-template-areas:
        "title buttons"
        "description buttons";
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    width: 100%;
}

    .v3-wiz-question-group-header .v3-wiz-container-header-title {
        grid-area: title;
    }

.v3-wiz-container-header-description .v3-wiz-container-header-description {
    grid-area: description;
}

.v3-wiz-question-group-header .v3-wiz-container-header-buttons {
    grid-area: buttons;
}

.v3-wiz-question-group-title {
    display: flex;
    flex-direction: row;
    grid-area: title;
}

.v3-wiz-question-group-sep {
    grid-area: separator;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 1px;
    background-color: hsl(0, 0%, 89.8%);
}

.v3-wiz-question-group-questions {
    grid-area: questions;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/*
.v3-wiz-question-group-question {
    grid-area: q-questions;
    display: grid;
    grid-template-areas:
        "title icon"
        "badges icon";
    grid-template-columns: 1fr auto;
    background-color: white;
    padding: 8px;
    border: 1px solid hsl(0, 0%, 89.8%);
    border-radius: 4px;
    gap: 0.3rem;
}
*/
    .v3-wiz-question-group-question.v3-none {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: hsl(210, 40%, 98%) !important;
        border: 2px dashed hsl(0, 0%, 89.8%);
        border-radius: 4px;
        padding: 2rem 0;
    }

        .v3-wiz-question-group-question.v3-none .v3-wiz-question-group-question-text {
            color: hsl(215.4, 16.3%, 46.9%);
        }

.v3-unassigned-question {
    width: 100%;
    border: 1px solid hsl(0, 96.3%, 89.4%);
    background-color: hsl(0, 85.7%, 97.3%);
}

    .v3-unassigned-question span {
        background-color: hsl(0, 96.3%, 89.4%);
    }

.v3-wiz-question-group-question-text {
    grid-area: title;
    font-weight: 600;
    color: hsl(0, 0%, 3.9%);

    margin-bottom: 0.3em;
}

.v3-wiz-question-group-question-badges {
    grid-area: badges;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: start;
    font-size: 12px;
}

.v3-wiz-question-group-controls {
    grid-area: controls;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.v3-wiz-question-group-control {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid hsl(0 0% 89.8%);
    border-radius: 6px;
    background-color: white;
    color: black;
}

    .v3-wiz-question-group-control.disabled {
        background-color: hsl(0, 0%, 96.5%);
        color: hsl(0, 0%, 46.7%);
    }

.v3-control-button {
}


input.v3-reduced-left-padding {
    padding-left: 12px;
}

/*
.v3-wiz-question-group-question-container {
    display: grid;
    grid-template-rows: 1fr auto;
    display:flex;
    flex-direction: column;
    background-color: white;
    padding: 8px;
    border: 1px solid hsl(0, 0%, 89.8%);
    border-radius: 4px;
    gap: 0.3rem;
}
    */
/*
.v3-wiz-question-group-question-container {
    display: grid;
    grid-template-areas:
        "q-questions q-controls";
    background-color: white;
    padding: 8px;
    border: 1px solid hsl(0, 0%, 89.8%);
    border-radius: 4px;
    width: 100%;
    gap: 0.3rem;
}
*/
/*
.v3-wiz-question-group-question-controls {
    grid-area: q-controls;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 36px;
}
*/


.v3-wiz-question-group-question-control {
    /*width: 36px;
    height: 36px;*/
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid hsl(0 0% 89.8%);
    border-radius: 6px;
    background-color: white;
    color: black;
    font-size: 0.8rem;
}

.v3-wiz-question-group-question-container .v3-theme-select-list-item-delete {
    width: 24px;
    height: 24px;
    margin-top: 1.5em;
}
/*
.v3-wiz-question-group-container {
    grid-template-areas:
        "title    controls"
        "separator controls"
        "questions controls";
    grid-template-columns: 1fr auto;
}


.v3-wiz-question-group-question {
    align-self: start;
}
*/
.v3-wiz-question-group-question-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: start;
    background-color: white;
    padding: 8px;
    border: 1px solid hsl(0, 0%, 89.8%);
    border-radius: 4px;
}

.v3-wiz-question-group-question {
    /* remove grid-area since it's now in a grid with its controls */
    align-self: start;
}

.v3-wiz-question-group-question-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: start;
}

.v3-wiz-question-group-question-control.disabled {
    background-color: hsl(0, 0%, 96.5%);
    color: hsl(0, 0%, 46.7%);
}


.v3-wiz-question-group-container .v3-wiz-question-group-title .surveytemplateeditor-header-input {
    line-height: 1.4;
    font-size: 1rem;
    background: transparent;
    border: 0px solid black;
    padding-left: 0px;
}

/* Survey template wizard - end */
/* v4 - start */
.v4-modal-background {
    position: absolute;
    top: 0;
    left: 0;
    background-color: hsla(0, 0%, 22.7%, 0.8);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 100vw;
    min-height: 100vh;
    padding: 40px 20px;
    z-index: 10000;
}

.v4-page-heading {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #e5e5e5;
    z-index: 0;
}

    .v4-page-heading h1 {
        font-size: 26px;
        font-weight: 700;
        color: #f0f0f0;
        margin-bottom: 4px;
    }

    .v4-page-heading p {
        font-size: 14px;
        color: #aaa;
    }

.v4-modal-overlay {
    position: relative;
    z-index: 10;
    margin-top: 80px;
}

.v4-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 640px;
    max-width: 100%;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.v4-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 6px;
}

.v4-modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .v4-modal-header-left .v4-check-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

.v4-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.v4-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 18px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.15s;
}

    .v4-modal-close:hover {
        color: #333;
    }

.v4-modal-subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
    margin-left: 0;
}

.v4-section {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 14px;
}

.v4-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

    .v4-section-title svg {
        flex-shrink: 0;
        color: #333;
    }

.v4-overview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13.5px;
    color: #555;
}

    .v4-overview-row + .v4-overview-row {
        border-top: 1px solid #f0f0f0;
    }

    .v4-overview-row .v4-label {
        color: #777;
    }

    .v4-overview-row .v4-value {
        color: #111;
        font-weight: 500;
    }

.v4-badge {
    background: #f3f3f3;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12.5px;
    color: #333;
    font-weight: 500;
}

.v4-frequency-value {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 13.5px;
    font-weight: 500;
}

    .v4-frequency-value svg {
        color: #555;
    }

.v4-themes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v4-theme-tag {
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12.5px;
    color: #333;
}

.v4-questions-list {
    list-style: none;
    padding: 0;
}

    .v4-questions-list li {
        font-size: 13.5px;
        color: #333;
        padding: 3px 0;
    }

        .v4-questions-list li span.v4-num {
            color: #888;
            margin-right: 4px;
        }

.v4-more-link {
    font-size: 13px;
    color: #6a8f6a;
    margin-top: 8px;
    display: block;
}

.v4-group-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
}

    .v4-group-row .v4-group-name {
        color: #333;
        max-width: 85%;
        overflow: hidden;
        text-overflow: ellipsis;
        /*white-space: nowrap;*/ /*enable this if we don't want multiline support if text can be split*/
    }

    .v4-group-row .v4-group-count {
        color: #888;
        font-size: 13px;
    }

.v4-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.v4-btn {
    padding: 10px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, background 0.15s;
}

.v4-btn-secondary {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    color: #333;
}

    .v4-btn-secondary:hover {
        background: #f5f5f5;
    }

.v4-btn-primary {
    background: #1e3a2f;
    color: #ffffff;
}

    .v4-btn-primary:hover {
        background: #162e24;
    }

/* v4 - end */



/* ── Modal shell ── */
.v4-modal-overlay {
    z-index: 10;
    margin-top: 20px;
}


.v4-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 720px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    position: relative;
}

.v4-modal-top {
    /*padding: 24px 28px 0;*/
    flex-shrink: 0;
}

.v4-modal-body {
    overflow-y: auto;
    /*padding: 0 28px 24px;*/
    flex: 1;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.v4-modal-footer-wrap {
    padding: 16px 0 0 0;
    border-top: 1px solid #efefef;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

/* ── Header ── */
.v4-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4px;
}

.v4-modal-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v4-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.v4-modal-subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
}

.v4-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 18px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.15s;
}

    .v4-modal-close:hover {
        color: #333;
    }

/* ── Warning banner ── */
.v4-warning-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1px solid #f5d76e;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #92400e;
}

    .v4-warning-banner svg {
        flex-shrink: 0;
        margin-top: 1px;
        color: #d97706;
    }

/* ── Section heading ── */
.v4-section-heading {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
}

/* ── Card ── */
.v4-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 14px;
}

.v4-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.v4-card-desc {
    font-size: 12.5px;
    color: #888;
    margin-bottom: 16px;
}

/* ── Delta option grid ── */
.v4-delta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.v4-delta-option {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}

    .v4-delta-option.v4-selected {
        border-color: #1e3a2f;
        background: #f7faf8;
    }

.v4-delta-option-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.v4-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .v4-radio.v4-checked {
        border-color: #1e3a2f;
        background: #1e3a2f;
    }

        .v4-radio.v4-checked::after {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #fff;
        }

.v4-option-name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.v4-option-sub {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    margin-left: 24px;
}

.v4-timing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #444;
    padding: 2px 0;
}

.v4-timing-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v4-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v4-dot-blue {
    background: #3b82f6;
}

.v4-dot-yellow {
    background: #f59e0b;
}

.v4-dot-green {
    background: #22c55e;
}

.v4-timing-value {
    font-size: 12px;
    color: #555;
}

.v4-default-note {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    margin-top: 8px;
}

/* ── Adjust Survey Timings ── */
.v4-timing-section {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 14px;
}

.v4-timing-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 13.5px;
}

.v4-delta-badge {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.v4-days-label {
    color: #555;
    font-size: 13.5px;
}

.v4-number-input {
    display: flex;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    overflow: hidden;
    width: 84px;
}

    .v4-number-input input {
        width: 100%;
        border: none;
        outline: none;
        padding: 6px 8px;
        font-size: 13.5px;
        color: #111;
        text-align: center;
    }

.v4-spin-btns {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e0e0e0;
}

    .v4-spin-btns button {
        background: #f5f5f5;
        border: none;
        cursor: pointer;
        font-size: 9px;
        line-height: 1;
        padding: 3px 5px;
        color: #555;
        transition: background 0.1s;
    }

        .v4-spin-btns button:hover {
            background: #e8e8e8;
        }

        .v4-spin-btns button:first-child {
            border-bottom: 1px solid #e0e0e0;
        }

.v4-timing-equals {
    font-size: 13px;
    color: #555;
}

.v4-example-box {
    background: #f0f7ff;
    border: 1px solid #c3ddf7;
    border-radius: 7px;
    /*padding: 10px 14px;*/
    padding: 16px;
    font-size: 12.5px;
    color: #1e40af;
    /*margin-top: 4px;*/
    margin: 1rem 0;
}

    .v4-example-box strong {
        font-weight: 700;
    }

/* ── Delta Variance ── */
.v4-variance-section {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.v4-variance-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.v4-variance-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 3px;
}

.v4-variance-text p {
    font-size: 12.5px;
    color: #888;
}

.v4-variance-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.v4-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #bbb;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .v4-checkbox.v4-checked {
        background: #1e3a2f;
        border-color: #1e3a2f;
    }

        .v4-checkbox.v4-checked::after {
            content: '✓';
            color: #fff;
            font-size: 11px;
            line-height: 1;
        }

/* ── Variance expanded content ── */
.v4-variance-expanded {
    margin-top: 16px;
}

    .v4-variance-expanded.v4-visible {
        display: block;
    }

.v4-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 12.5px;
    color: #1e40af;
}

    .v4-info-banner svg {
        flex-shrink: 0;
        margin-top: 1px;
        color: #3b82f6;
    }

    .v4-info-banner strong {
        font-weight: 700;
    }

/* Configure Delta tabs */
.v4-configure-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.v4-configure-label {
    font-size: 13px;
    color: #555;
    margin-right: 4px;
}

.v4-tab-btn {
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.15s;
}

    .v4-tab-btn.v4-active {
        background: #1e3a2f;
        border-color: #1e3a2f;
        color: #fff;
        font-weight: 600;
    }

.v4-tab-count {
    margin-left: auto;
    font-size: 12px;
    color: #888;
}

/* Delta question card */
.v4-delta-question-card {
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 0;
}

.v4-delta-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.v4-delta-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.v4-delta-card-badge {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 12px;
    color: #555;
}

.v4-delta-card-sub {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
}

.v4-question-block {
    margin-bottom: 18px;
}

    .v4-question-block:last-child {
        margin-bottom: 0;
    }

.v4-question-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.v4-question-label {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.v4-include-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #555;
    cursor: pointer;
}

.v4-q-sublabel {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.v4-question-textarea {
    width: 100%;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #333;
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

    .v4-question-textarea:focus {
        border-color: #1e3a2f;
    }

/* Delta nav */
.v4-delta-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 14px;
}

/* Considerations */
.v4-considerations {
    background: #fffbeb;
    border: 1px solid #f5d76e;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 4px;
}

.v4-considerations-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
}

.v4-considerations ul {
    list-style: none;
    padding: 0;
}

    .v4-considerations ul li {
        font-size: 12.5px;
        color: #b45309;
        padding: 2px 0;
    }

/* ── Footer buttons ── */
.v4-btn {
    padding: 10px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.15s;
}

.v4-btn-secondary {
    background: #fff;
    border: 1px solid #d0d0d0;
    color: #333;
}

    .v4-btn-secondary:hover {
        background: #f5f5f5;
    }

    .v4-btn-secondary:disabled {
        opacity: 0.4;
        cursor: default;
    }

.v4-btn-primary {
    background: #1e3a2f;
    color: #fff;
}

    .v4-btn-primary:hover {
        background: #162e24;
    }
/* ════════════════════════════════════════════
   v4 Themes & Objectives modal
   ════════════════════════════════════════════ */

/* ── Page section wrapper ── */
.v4-page-section {
    border-bottom: 1px solid #e0e0e0;
}

    .v4-page-section:last-child {
        border-bottom: none;
    }

/* ── Page header bar ── */
.v4-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 9px 16px;
}

.v4-page-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.v4-page-chevron {
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1;
    transition: color 0.15s;
}

    .v4-page-chevron:hover {
        color: #111;
    }

/* ── Page body ── */
.v4-page-body {
    /*background: #fafafa;*/
    padding: 0 16px 8px;
}

/* ── Theme/Header block ── */
.v4-theme-header-block {
    padding: 12px 0 10px;
    border-bottom: 1px solid #ebebeb;
}

.v4-theme-header-label {
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 3px;
}

.v4-theme-header-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #111;
}

/* ── Outer card (wraps page sections) ── */
.v4-outer-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    /*overflow: hidden;*/
    overflow: auto;
}

.v4-outer-card-header {
    padding: 16px 20px 4px;
}

.v4-outer-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.v4-outer-card-subtitle {
    font-size: 12.5px;
    color: #2e7d5e;
    margin-bottom: 14px;
}

/* ── Question row (horizontal: text left, dropdowns right) ── */
.v4-q-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 7px;
    padding: 12px 16px;
    margin-top: 8px;
    gap: 12px;
}

.v4-q-row-text {
    font-size: 13px;
    color: #222;
    flex: 1;
    line-height: 1.4;
    min-width: 0;
}

.v4-q-row-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.v4-ctrl-label {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

/* ── Dropdown ── */
.v4-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 9px center;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 6px 28px 6px 10px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    min-width: 150px;
}

    .v4-select:hover {
        border-color: #aaa;
    }

    .v4-select:focus {
        border-color: #1e3a2f;
    }

/* ════════════════════════════════════════════
   v4 Add Question — Answer type variants
   ════════════════════════════════════════════ */

/* ── Shared answer section wrapper ── */
.v4-answer-section {
    width: 100%;
    margin-top: 20px;
}

.v4-answer-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.v4-answer-section-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #111;
}

.v4-add-option-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
}

    .v4-add-option-btn:hover {
        background: #f5f5f5;
    }

/* ── Answer option row (MULTIPLE_CHOICE, SCALE_INTERVAL, NPS) ── */
.v4-answer-option-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

    .v4-answer-option-row:last-of-type {
        margin-bottom: 0;
    }

.v4-answer-option-num {
    font-size: 13px;
    color: #888;
    min-width: 18px;
    text-align: right;
    flex-shrink: 0;
}

.v4-answer-option-input {
    flex: 1;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    background: #fff;
}

    .v4-answer-option-input:focus {
        border-color: #1e3a2f;
    }

.v4-answer-option-correct {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #444;
    white-space: nowrap;
    flex-shrink: 0;
}

    .v4-answer-option-correct input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #1e3a2f;
        cursor: pointer;
    }

.v4-answer-option-delete {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
    flex-shrink: 0;
}

    .v4-answer-option-delete:hover {
        color: #e53e3e;
    }

/* ── FILL_IN variants (FILL_IN_123, FILL_IN_ABC, FILL_IN_1_3) ── */
.v4-fill-in-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.v4-fill-in-label {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

.v4-fill-in-input {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    width: 120px;
}

    .v4-fill-in-input:focus {
        border-color: #1e3a2f;
    }

    .v4-fill-in-input.narrow {
        width: 80px;
    }

.v4-fill-in-separator {
    font-size: 13px;
    color: #888;
}

.v4-fill-in-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.v4-fill-in-checkbox-label {
    font-size: 13px;
    color: #555;
}

.v4-fill-in-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1e3a2f;
    cursor: pointer;
}

/* target range row (FILL_IN_1_3 only) */
.v4-target-range-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.v4-target-range-label {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

.v4-target-range-input {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    width: 80px;
}

    .v4-target-range-input:focus {
        border-color: #1e3a2f;
    }

/* ── YES_NO ── */
.v4-yes-no-pills {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.v4-yes-no-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    background: #fff;
    min-width: 120px;
}

    .v4-yes-no-pill input[type="checkbox"] {
        width: 15px;
        height: 15px;
        accent-color: #1e3a2f;
        cursor: pointer;
    }

/* ── VALUE / VALUE_PERCENTAGE / SCALE_NOMINAL ── */
.v4-info-note {
    font-size: 12.5px;
    color: #888;
    font-style: italic;
    padding: 10px 0 4px;
}

/* ── COMMENT ── */
.v4-comment-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    padding: 12px 14px;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

    .v4-comment-note svg {
        flex-shrink: 0;
        color: #aaa;
    }

/* ── NPS scale hint ── */
.v4-nps-hint {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    padding: 0 2px;
}

/* ════════════════════════════════════════════
   v4 Fill-In answer type — grid layout fix
   ════════════════════════════════════════════ */

/* Two-column label+input layout for text before/after */
.v4-fill-in-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    margin-bottom: 16px;
}

    .v4-fill-in-grid-2 label,
    .v4-fill-in-grid-4 label {
        font-size: 13px;
        font-weight: 600;
        color: #111;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

/* Four-column label+input layout for range fields */
.v4-fill-in-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.v4-fill-in-grid-input {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    color: #333;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
    background: #fff;
}

    .v4-fill-in-grid-input:focus {
        border-color: #1e3a2f;
    }

    /* number input with spinner */
    .v4-fill-in-grid-input[type="number"] {
        -moz-appearance: auto;
        appearance: auto;
    }

/* ════════════════════════════════════════════
   v4 Language multi-select dropdown
   ════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   v4 Language multi-select dropdown
   ════════════════════════════════════════════ */

.select-multi {
    display: block;
    width: 100%;
    max-width: unset;
    padding: 8px 2rem 8px 10px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background-color: rgb(249, 250, 251);
    border: 1px solid rgb(229, 231, 235);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../../images/icons/icon-down.svg);
    background-position: calc(100% - .5rem) center;
    background-repeat: no-repeat;
    background-size: .75rem;
    height: 40px;
    line-height: 20px;
    transition: border-color 0.15s;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

    .select-multi:hover {
        border-color: #aaa;
    }

/* Dropdown options panel */
.select-multi-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 9999;
    display: none;
    overflow-y: auto;
    max-height: 220px;
    overflow-x: hidden;
}

    /* Show on hover */
    .select-multi:hover .select-multi-options,
    .select-multi:focus-within .select-multi-options,
    .select-multi-options:hover {
        display: block;
    }

    /* Individual option rows */
    .select-multi-options label {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 7px 10px;
        border-radius: 6px;
        font-size: 13.5px;
        font-weight: 400;
        color: #222;
        cursor: pointer;
        white-space: nowrap;
        transition: background-color 0.1s;
        margin: 0;
    }

        .select-multi-options label:hover {
            background-color: #f3f4f6;
        }

        .select-multi-options label input[type="checkbox"] {
            width: 15px;
            height: 15px;
            margin: 0;
            flex-shrink: 0;
            accent-color: #1e3a2f;
            cursor: pointer;
        }

.select-multi-placeholder {
    color: #9ca3af;
}

/* Inside lpi-modal */
.lpi-modal .select-multi {
    position: relative;
    max-width: unset;
    width: 100%;
    overflow: visible;
}

.lpi-modal .select-multi-options {
    position: absolute;
    width: 100%;
    max-height: 220px;
    z-index: 9999;
}

.lpi-modal-header {
    padding: 0;
}

.lpi-admin-table {
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

    .lpi-admin-table thead tr th {
        padding: 1rem;
        border-bottom: 1px solid rgb(229, 231, 235);
        background-color: rgb(249, 250, 251);
    }

    .lpi-admin-table td {
        padding: 1rem;
        border-bottom: 1px solid rgb(229, 231, 235);
    }

.lpi-modal-wizard-details-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0.5rem;
    column-gap: 1rem;
}

.font-bold {
    font-weight: 700;
}

/*Deployments*/
.add-deployment-modal-body {
    min-height: 32rem;
}

.add-deployment-modal-body-row {
    margin-bottom: 1rem;
}

.order-deployment-label {
    font-weight: bolder;
    color: hsl(222.2, 47.4%, 11.2%);
    padding-bottom: 1rem;
    padding-top: 1rem;
}
.order-deployment-input {
    width: 100%;
    max-width: unset;
    background-color: rgb(249, 250, 251);
    border-color: rgb(229, 231, 235);
    border-radius: 6px;
    height: 40px;
    line-height: 20px;
    font-size: 14px;
}
.order-deployment-left-col {
    width: 48%;
    margin-right: 1%;
}
.order-deployment-right-col {
    width: 49%;
    margin-left: 1%;
}


.deployment-order-form {
    margin-top: auto;
    margin-bottom: auto;
}

.deployment-order-form .add-deployment-modal-body {
    min-height: 22rem;
}

.deployment-order-form .v4-modal-footer-wrap {
    justify-content: center;
}


.deployment-order-form .info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.deployment-order-form .info-tooltip svg {
    width: 14px;
    height: 14px;
    display: block;
    color: #8a8a8a;
}

.deployment-order-form .info-tooltip .tooltip-bubble {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #333;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 6px;
    width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
    z-index: 10;
}


/* little triangle pointer under the bubble */
.deployment-order-form .info-tooltip .tooltip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.deployment-order-form .info-tooltip:hover .tooltip-bubble,
.deployment-order-form .info-tooltip:focus-within .tooltip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}