:root {
    --primary-color: #293241;
    --secondary-color: #003566;
    --background-color: #F8F9FA;
    --text-color: #01161E;
    --card-background: #ffffff;
}

body.dark-mode {
    --primary-color: #1C1E29;
    --secondary-color: #475066;
    --background-color: #15171F;
    --text-color: #D7DAE3;
    --card-background: #1C1F29;
}

body, input, button, textarea, select {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-weight: 400;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
}

#app {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0 0 10px 0;
    color: white;
    font-weight: 300;
    display: flex;
    align-items: center;
}

h1 i {
    margin-right: 10px;
}

.acronym-explanation {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2em;
    margin: 0;
    font-weight: 300;
    text-align: left;
}

.acronym-explanation strong {
    font-weight: 900;
    color: white;
}

main {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.usage-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}

.usage-info p {
    color: white;
    font-size: 1em;
    line-height: 1.8;
    margin: 0.2em 0;
}

#form-container, #results-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-name {
    margin-bottom: 20px;
    text-align: center;
}

.project-name label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
  font-weight: bold;
}

.project-name input {
      width: 95%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    font-size: 18px; /* Increased from default */
}

.section {
    margin-bottom: 20px;
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 8px;
}

.section h2 {
    margin-top: 0;
    color: var(--text-color);
    font-weight: 500;
}

.question {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.slider-container {
    display: flex;
    align-items: left;
    margin-top: 5px;
    position: relative;
    padding-bottom: 25px;
}

input[type="range"] {
    flex-grow: 1;
    margin-right: 10px;
    width: calc(100% - 40px);
}

.na-option {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.na-option input[type="checkbox"] {
    margin-right: 5px;
}

.na-option label {
    font-size: 14px;
}

button {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background-color: #2196F3;
}

button i {
    margin-right: 10px;
}

#overall-score {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
}

#radar-charts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.chart-container {
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
    background-color: var(--card-background);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#overall-plotly-chart {
    width: 100%;
    height: 500px;
    margin-top: 20px;
    background-color: var(--card-background);
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: calc(95% - 40px);
    bottom: 0;
    left: 0;
}

.slider-labels span {
    font-size: 12px;
    color: var(--text-color);
}

.slider-meaning {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.slider-meaning span {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
}

.theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
}

.toggle-label {
    margin-left: 10px;
    color: var(--text-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
}

.copyright {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 1em;
    color: var(--text-color);
    opacity: 0.7;
}

.copyright p {
    margin: 0;
}

#support-info {
    margin-top: 20px;
    padding: 10px;
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    text-align: center;
    font-size: 0.9em;
}

#support-info p {
    margin: 0;
}

#support-info a {
    color: var(--text-color);
    text-decoration: none;
}

#support-info a:hover {
    text-decoration: underline;
}
.collapsible {
    background-color: var(--primary-color);
    border-radius: 5px;
    margin-top: 15px;
}

.collapse-toggle {
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.collapse-toggle:hover {
    background-color: var(--secondary-color);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.collapse-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0 15px;
}

.collapsible-content.active {
    max-height: 1000px; /* Adjust this value based on your content */
    padding: 15px;
}

.collapsible-content p {
    margin: 10px 0;
}

/* Minimal styles for the print link */
.print-link {
    display: inline-block;
    margin: 10px 0;
    color: var(--text-color);
    text-decoration: none;
}

.print-link:hover {
    text-decoration: underline;
}

/* Ensure the link doesn't print */
@media print {
    .print-link {
        display: none;
    }
}

/* Existing print styles */
@media print {
    body {
        background-color: white;
    }

    #results-container {
        box-shadow: none;
    }

    .chart-container {
        page-break-inside: avoid;
    }
}