.questionnaire {
    max-width: 800px;
    margin: 20px auto;
}
.question-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 1px 5px 5px rgba(0,0,0,0.3);
}
.question {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 600;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.option-button {
    background: #3B82F6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    font-size: 1em;    
font-weight: 700;
transition: background-color 0.2s;
}
.option-button:hover {
    background: #2563EB;
}
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.nav-button:hover {
color:#3B82F6;}
.nav-button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
}
.result {
    background: #DCFCE7;
    padding: 20px;
    border-radius: 6px;
    color: #166534;
    font-weight: 500;
}
.history {
    margin-top: 20px;
    background: #F9FAFB;
    padding: 15px;
    border-radius: 6px;
}
.history h3 {
    margin-top: 0;
    color: #374151;
font-size:20px;
}
.history-list {
    padding-left: 20px;
    margin: 0;
}
.history-item {
    margin-bottom: 10px;
    color: #4B5563;
}
.history-question {
    font-weight: 500;
}
.history-answer {
    margin-left: 20px;
    color: #6B7280;
}
.result {
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
}

.result-link {
    display: block;
    color: #007bff;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.result-link:hover {
    background-color: #f0f0f0;
    color: #0056b3;
}

.link-arrow {
    margin-left: 10px;
    font-weight: bold;
}

.result-image-container {
    margin-top: 15px;
    text-align: left;
    height: 300px;
    display: flex;
    align-items: left;
    justify-content: left;
    overflow: hidden;
}

.result-image {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.result-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.result {
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
}

.result-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

.result-image-container {
    flex: 0 0 300px; /* Fixed width for image container */
    margin: 0;
    height: auto;
}

.result-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.result-title {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
color:#333;
}

.result-features {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0;
Color:#333;}

.result-features li {
    margin-bottom: 1.1rem;
    font-size: 1rem;
    line-height: 1.4;
    align-items: center;
}

@media (max-width: 768px) {
    .result-content {
        flex-direction: column;
    }
    
    .result-image-container {
        width: 100%;
        margin-bottom: 20px;
    }
}