
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}
h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}
.hidden {
    display: none !important;
}
.control-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 5px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}
input[type="range"] {
    width: 100%;
}
.value-display {
    display: inline-block;
    width: 50px;
    text-align: right;
    margin-left: 10px;
}
.view-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.view-btn {
    padding: 8px 15px;
    margin: 5px;
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.view-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}
.plot-container {
    width: 100%;
    height: 450px;
    margin-top: 2em;
}
.description {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    line-height: 1.6;
}

/* Hamburger Menu */
.hamburger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s;
}
.menu-btn:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}
.menu-btn i {
    color: white;
    font-size: 24px;
}
.menu-content {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}
.menu-content.show {
    display: block;
    animation: fadeIn 0.3s;
}
.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}
.menu-item:hover {
    background-color: #f1f1f1;
}
.menu-item i {
    margin-right: 10px;
    color: #3498db;
}

/* Modal Dialogs */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
    overflow-y: auto;
}
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s;
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}
.close-btn:hover {
    color: #333;
}
.modal-header {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}
.modal-header h2 {
    margin: 0;
    color: #2c3e50;
}
.modal-body {
    padding: 10px 0;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .control-panel {
        grid-template-columns: 1fr;
    }
    .view-selector {
        flex-direction: column;
    }
    .view-btn {
        width: 100%;
        margin: 5px 0;
    }
    .menu-content {
        width: 100%;
        right: 0;
        left: 0;
    }
}

/* Arrow styling */
.arrow-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #3498db;
    font-size: 14px;
}