
    #evaluationButton, #backButton, #downloadButton, #uploadButton, #graphButton, #graphBackButton

{
    width: 100%
}

#featureContainer, #resultsSection, #graphContainer {
    align-items: stretch;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px #0000001a;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    margin-bottom: 20px;
    min-height: calc(100vh - 160px);
    overflow-y: hidden;
    padding: 20px
}

#graphBackButton {
    margin-top: 20px
}

#resultsSection {
    height: calc(100vh - 60px);
    overflow: hidden
}

.button-group button, .fixed-button-group button {
    flex: 1;
    height: 40px;
    text-align: center
}

.button-group, .fixed-button-group {
    display: flex;
    gap: 10px;
    justify-content: center
}

.container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 95vh;
    padding-top: 10px
}

.fixed-button-container {
    background-color: #fff;
    bottom: 0;
    box-shadow: 0 -2px 5px #0000001a;
    display: flex;
    justify-content: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1000
}

.logo {
    margin-top: -5px;
    padding: 6px;
    width: 55px
}

.scrollable-table {
    height: calc(100vh - 200px);
    margin-top: 0;
    overflow-y: auto
}

.search-box {
    padding-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 100
}

body, html {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    height: 100%;
    margin: 0;
    overflow-y: auto
}

h5 {
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center
}

@media (min-width: 1200px) {
    .logo {
        width: 55px
    }
}

@media (max-width: 768px) {
    .logo {
        width: 60px
    }
}

.modal-body p {
    color: #333;
    font-size: 0.9em
}

.modal-dialog-centered {
    align-items: center;
    display: flex;
    justify-content: center
}

@media (max-width: 768px) {
    .chart-container {
        overflow-y: auto
    }

    .chart-wrapper {
        flex: 1 1 100%;
        max-width: 100%
    }
}

#characteristicChart, #featureImpactChart {
    height: auto;
    max-height: 200px;
    overflow-y: auto;
    width: auto;
    font-size: 0.9em;
}

.chart-wrapper {
    align-items: center;
    display: flex;
    flex: 1 1 49%;
    height: auto;
    justify-content: center;
    max-width: 49%
}

.category-header {
    background-color: #f0f0f0;
    font-weight: 700;
    padding: 10px
}

.expand-icon {
    color: #333;
    cursor: pointer;
    font-size: 0.9em;
    margin-right: 10px;
    transition: transform .2s
}

    .expand-icon.fa-chevron-down {
        transform: rotate(360deg)
    }

.feature-name span {
    max-width: 50%;
    overflow: hidden;
    font-size: 0.9em;
    text-overflow: ellipsis;
    white-space: nowrap
}

.mapping-table-container, .result-container {
    max-height: 20vh;
    overflow-y: auto
}

.priority-button {
    align-items: center;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 0.9em;
    height: 28px;
    justify-content: center;
    padding: 4px 8px;
    transition: background-color 0.3s, border 0.3s;
    width: 28px
}

    .priority-button.could.selected {
        background-color: #81c784;
        border-color: #81c784;
        color: #fff
    }

    .priority-button.must.selected {
        background-color: #e57373;
        border-color: #e57373;
        color: #fff
    }

    .priority-button.should.selected {
        background-color: #ffb74d;
        border-color: #ffb74d;
        color: #fff
    }

    .priority-button.wont.selected {
        background-color: #64b5f6;
        border-color: #64b5f6;
        color: #fff
    }

.priority-buttons {
    display: flex;
    gap: 5px;
    justify-content: flex-end
}

.priority-could {
    background-color: #d4edda
}

.priority-could-label {
    background-color: #d4edda;
    color: #27ae60
}

.priority-label {
    border-radius: 4px;
    color: #000;
    display: inline-block;
    font-size: 0.9em;
    font-weight: 700;
    padding: 2px 6px
}

.priority-must {
    background-color: #f8d7da
}

.priority-must-label {
    background-color: #f8d7da;
    color: #c0392b
}

.priority-should {
    background-color: #fff3cd
}

.priority-should-label {
    background-color: #fff3cd;
    color: #e67e22
}

.priority-wont {
    background-color: #d1ecf1
}

.priority-wont-label {
    background-color: #d1ecf1;
    color: #2980b9
}

.section-separator {
    background-color: #d1d1d1;
    border: none;
    box-shadow: 0 2px 4px #0000001a;
    height: 1px;
    margin: 10px 0
}

.table {
    border-collapse: collapse;
    width: 100%
}

th, td {
    font-size: 0.9em;
    padding: 10px
}

@media (max-width: 768px) {
    .button-group button, .fixed-button-group button {
        flex: 1;
        height: 35px
    }

    .chartjs-legend {
        text-align: center;
        width: 100%
    }

    .container {
        padding: 10px
    }

    .mapping-table-container, .result-container {
        max-height: 50vh;
        overflow-y: auto
    }

    .result-item {
        font-size: 0.9em;
        padding: 4px
    }

    .table {
        font-size: 0.9em;
        width: 100%
    }

    h5 {
        font-size: 0.9em;
        margin-bottom: 20px
    }
}

.hide {
    display: none !important
}

.result-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px
}

.result-item {
    align-items: center;
    background: linear-gradient(90deg, #4caf501a, #4caf5066);
    border-radius: 8px;
    box-shadow: 0 2px 4px #0000001a;
    display: flex;
    font-size: 0.9em;
    font-weight: 700;
    justify-content: space-between;
    padding: 10px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease
}

    .result-item .result-name {
        color: #2c3e50;
        flex: 2;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.9em
    }

    .result-item .score-percentage {
        color: #2c3e50;
        flex: 1;
        font-size: 0.9em;
        text-align: right
    }

    .result-item:hover {
        background-color: #4caf5033;
        box-shadow: 0 4px 8px #0003
    }

.show {
    display: flex !important
}

@media (max-width: 768px) {
    .result-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 8px
    }

        .result-item .result-name, .result-item .score-percentage {
            flex: none;
            font-size: 0.9em;
            margin-bottom: 5px;
            text-align: left
        }

        .result-item .score-percentage {
            color: #388e3c
        }
}

.mapping-table {
    border-collapse: collapse;
    font-size: 0.9em;
    table-layout: fixed;
    width: 100%
}

    .mapping-table td {
        font-size: 0.9em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .mapping-table th {
        background-color: #f0f0f0;
        font-size: 0.9em;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .mapping-table th, .mapping-table td {
        padding: 8px;
        text-align: center
    }

    .mapping-table tr:hover {
        background-color: #e0f7fa
    }

    .mapping-table tr:nth-child(even) {
        background-color: #f9f9f9
    }

.mapping-table-container {
    margin-bottom: 20px;
    max-height: 40vh;
    overflow-y: auto
}

.section-separator {
    background-color: #d1d1d1;
    border: none;
    box-shadow: 0 2px 4px #0000001a;
    height: 1px;
    margin: 15px 0
}

@media (max-width: 768px) {
    .mapping-table th {
        text-align: left;
        white-space: normal
    }

    .mapping-table th, .mapping-table td {
        font-size: 0.9em;
        padding: 6px
    }

    .mapping-table-container {
        max-height: 50vh
    }
}

.result-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 45vh;
    overflow-y: auto;
    padding: 8px
}

.result-item {
    align-items: center;
    background: linear-gradient(90deg, #4caf501a, #4caf504d);
    border-radius: 6px;
    box-shadow: 0 1px 3px #0000001a;
    display: flex;
    font-size: 0.9em;
    font-weight: 700;
    justify-content: space-between;
    padding: 8px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease
}

    .result-item .result-name {
        color: #2c3e50;
        flex: 2;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.9em
    }

    .result-item .score-percentage {
        color: #2c3e50;
        flex: 1;
        font-size: 0.9em;
        text-align: right
    }

    .result-item:hover {
        background-color: #4caf5026;
        box-shadow: 0 3px 6px #00000026
    }

@media (max-width: 768px) {
    .result-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 6px
    }

        .result-item .result-name, .result-item .score-percentage {
            flex: none;
            font-size: 0.9em;
            margin-bottom: 4px;
            text-align: left
        }
}

.chart-container {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    height: 18%;
    justify-content: space-between;
    max-height: 45vh;
    overflow-y: auto;
    padding: 8px
}

.section-separator {
    background-color: #d1d1d1;
    border: none;
    box-shadow: 0 1px 2px #0000001a;
    height: 1px;
    margin: 10px 0
}

@media (max-width: 768px) {
    .chart-container {
        overflow-y: auto
    }

    .chart-wrapper {
        flex: 1 1 100%;
        max-width: 100%
    }
}

@media (max-width: 576px) {
    .chart-container {
        padding: 6px
    }

    .result-item {
        padding: 6px
    }

        .result-item .result-name, .result-item .score-percentage {
            font-size: 0.9em
        }
}

.chart-container {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    height: 15%;
    justify-content: space-between;
    max-height: 35vh;
    overflow-y: auto;
    padding: 8px
}

.result-item {
    align-items: center;
    background: linear-gradient(90deg, #4caf501a, #4caf504d);
    border-radius: 6px;
    box-shadow: 0 1px 2px #0000001a;
    display: flex;
    font-size: 0.9em;
    font-weight: 700;
    justify-content: space-between;
    padding: 6px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease
}

    .result-item .result-name {
        color: #2c3e50;
        flex: 2;
        font-size: 0.9em;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .result-item .score-percentage {
        color: #388e3c;
        flex: 1;
        font-size: 0.9em;
        text-align: right
    }

    .result-item:hover {
        background-color: #4caf5026;
        box-shadow: 0 3px 5px #00000026
    }

@media (max-width: 768px) {
    .result-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 4px
    }

        .result-item .result-name, .result-item .score-percentage {
            flex: none;
            font-size: 0.9em;
            margin-bottom: 4px;
            text-align: left
        }
}

#mynetwork {
    background-color: #fff;
    border: 0 solid #ddd;
    height: 80vh;
    width: 100%
}

#splash_screen {
    align-items: center;
    background-color: #fffc;
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000
}

    #splash_screen canvas {
        height: 100%;
        width: 100%
    }

    #splash_screen.show {
        display: flex
    }

.child-item-row {
    background-color: #fefefe;
    border-bottom: 1px solid #e6e6e6;
    padding-left: 20px
}

.details-row {
    background-color: #f0f8ff;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    padding: 10px
}

    .details-row td {
        padding: 10px
    }

.fa-chevron-down {
    transform: rotate(0deg);
    transition: transform .2s ease-in-out
}

.fa-chevron-right {
    transition: transform .2s ease-in-out
}

.priority-could:hover {
    background-color: #d4edda
}

.priority-must:hover {
    background-color: #f5c6cb
}

.priority-should:hover {
    background-color: #ffeeba
}

.priority-wont:hover {
    background-color: #cfe2f3
}

.section-separator {
    background-color: #d1d1d1;
    border: none;
    box-shadow: 0 1px 2px #0000001a;
    height: 1px;
    margin: 8px 0
}

.table tbody tr:hover {
    background-color: #f0f8ff
}

[data-tooltip] {
    cursor: pointer;
    position: relative
}

    [data-tooltip]::after {
        background-color: #000000b3;
        border-radius: 5px;
        bottom: 100%;
        color: #fff;
        content: attr(data-tooltip);
        display: none;
        font-size: 0.9em;
        left: 50%;
        padding: 5px;
        position: absolute;
        transform: translateX(-50%);
        white-space: nowrap
    }

    [data-tooltip]:hover::after {
        display: block
    }

