.julia-set-app * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.julia-set-app {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    width: 800px;
    margin: 0 auto;
}

/* Add specific styling for headings to ensure they don't inherit from parent document */
.julia-set-app h2 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-family: Arial, sans-serif;
}

.julia-set-app h3 {
    font-size: 12px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-family: Arial, sans-serif;
}

.julia-set-app .container {
    display: flex;
    width: 800px;
    height: 600px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.julia-set-app .canvas-container {
    position: relative;
    width: 600px;
    height: 600px;
}

.julia-set-app #juliaCanvas {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.julia-set-app .control-panel {
    width: 200px;
    height: 600px;
    padding: 10px;
    background-color: #f8f8f8;
    border-left: 1px solid #ddd;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.julia-set-app .control-group {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.julia-set-app .slider-container {
    margin: 3px 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.julia-set-app .slider-container label {
    display: inline-block;
    font-size: 10px;
    margin-right: 5px;
    width: 55px;
    white-space: nowrap;
}

.julia-set-app input[type="range"] {
    width: 90px;
    margin: 0 5px 0 0;
    flex: 1;
}

/* Style the value displays */
.julia-set-app .slider-container span {
    font-size: 11px;
    min-width: 25px;
    text-align: right;
}

/* Make the iterations slider container layout better */
.julia-set-app .control-group:nth-child(4) .slider-container {
    display: flex;
    align-items: center;
}

.julia-set-app .control-group:nth-child(4) .slider-container span {
    margin-left: 5px;
}

.julia-set-app button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 8px;
    margin: 3px 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    width: 100%;
    height: 24px;
}

.julia-set-app button:hover {
    background-color: #45a049;
}

.julia-set-app select {
    width: 100%;
    padding: 3px 5px;
    margin: 3px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    height: 24px;
}

.julia-set-app #coordinates, 
.julia-set-app #c-value {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
}

.julia-set-app #coordinates {
    bottom: 10px;
    left: 10px;
}

.julia-set-app #c-value {
    top: 10px;
    left: 10px;
}

.julia-set-app #loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
}

.julia-set-app .hidden {
    display: none;
}

.julia-set-app .zoom-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3px 0;
}

.julia-set-app .zoom-controls button {
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 11px;
    margin: 0 2px;
}

.julia-set-app .zoom-controls span {
    font-size: 11px;
    color: #666;
    margin: 0 3px;
    min-width: 30px;
    text-align: center;
}

.julia-set-app #zoomLevel {
    font-size: 12px;
    color: #666;
}

.julia-set-app .checkbox-container {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.julia-set-app .checkbox-container input[type="checkbox"] {
    margin-right: 5px;
}

.julia-set-app #fps {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Add styling for reset button at bottom */
.julia-set-app #resetView {
    margin-top: auto;
    background-color: #f44336;
    margin-top: 10px;
}

.julia-set-app #resetView:hover {
    background-color: #d32f2f;
} 