body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: #333;
    min-width: 1024px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px;
}
.container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
h1, h2, h3 {
    color: #2c3e50;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
.final-score { font-size: 3rem; }
.score-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}
.final-score {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}
.score-label {
    font-size: 18px;
    color: #7f8c8d;
}
.score-chart {
    width: 200px;
    height: 200px;
}
.interpretation, .suggestions {
    margin-bottom: 20px;
}
.suggestion-list {
    list-style-type: none;
    padding-left: 0;
}
.suggestion-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #e8f4fd;
    border-radius: 4px;
}
.function-scores {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.function-score {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 18%;
}
.function-name {
    font-weight: bold;
    margin-bottom: 5px;
}
.function-value {
    font-size: 24px;
    color: #3498db;
}
.button-container {
    text-align: center;
    margin-top: 20px;
}
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    border-radius: 4px;
}
button:hover {
    background-color: #2980b9;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}
#calculation-details {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* New styles for the background */
.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.-z-10 {
    z-index: -10;
}

.h-full {
    height: 100%;
}

.w-full {
    width: 100%;
}

.bg-white {
    background-color: white;
}

.bg-\[linear-gradient\(to_right\,\#f0f0f0_1px\,transparent_1px\)\,linear-gradient\(to_bottom\,\#f0f0f0_1px\,transparent_1px\)\] {
    background-image: 
        linear-gradient(to right, #f0f0f0 1px, transparent 1px),
        linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
}

.bg-\[size\:6rem_4rem\] {
    background-size: 6rem 4rem;
}