/* General Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7fdf7;
    color: #333;
}

header {
    background-color: #2d6a4f;
    color: white;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 1rem;
    gap: 1rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #2d6a4f;
    color: white;
    font-size: 0.9rem;
}

/* Section Styles */
.side-panel {
    width: 25%;
    background-color: #e9f5e9;
    border: 1px solid #d3e4d1;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#visualization-section {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px solid #d3e4d1;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#visualization-canvas {
    width: 100%;
    max-width: 600px;
    height: 300px;
}

h2 {
    color: #1b4332;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Input Section */
#gene-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d3e4d1;
    border-radius: 4px;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s ease;
}

#gene-input:focus {
    border-color: #40916c;
    outline: none;
}

#analyze-button {
    margin-top: 1rem;
    display: inline-block;
    background-color: #40916c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#analyze-button:hover {
    background-color: #2d6a4f;
    transform: translateY(-2px);
}

#analyze-button:active {
    transform: translateY(0);
}

/* Results Section */
#results-container {
    border-top: 1px solid #d3e4d1;
    padding-top: 1rem;
    margin-top: 1rem;
}

#results-container p {
    margin: 0.5rem 0;
}

#mutations-list {
    list-style: disc;
    margin: 0;
    padding-left: 1rem;
}

#mutations-list li {
    margin-bottom: 0.5rem;
}

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

    .side-panel {
        width: 100%;
    }

    #visualization-section {
        width: 100%;
        margin-top: 1rem;
    }
}