/* Möbius transformation section styles */
#mobius-section {
    font-family: Arial, sans-serif;
}

.input-section, .mobius-section, .grid-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.input-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.input-row label {
    min-width: 200px;
}

.input-row input[type="text"],
.input-row input[type="number"] {
    width: 120px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
}

.input-row select {
    width: 120px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

#complex-plot,
#sphere-plot {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    margin-top: 1rem;
}

.operation-btn {
    padding: 0.5rem 1rem;
    background: #2d3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 120px;
}

.operation-btn:hover {
    background: #1a2634;
}

.range-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

#complex-input {
    width: 200px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .input-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-row label {
        margin-bottom: 0.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .operation-btn {
        width: 100%;
    }
}

/* Plot containers */
.plot-container {
    margin-top: 2rem;
}
