        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .controls {
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            width: 90%;
            max-width: 600px;
            background-color: #f9f9f9;
        }

        .control-group {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        label {
            margin-right: 10px;
            min-width: 180px;
        }

        input, select, button {
            padding: 8px;
            border-radius: 4px;
            border: 1px solid #ccc;
        }

        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
            margin-top: 10px;
            padding: 10px 15px;
            width: 100%;
        }

        button:hover {
            background-color: #45a049;
        }

        .preview-container {
            position: relative;
            margin: 20px 0;
            border: 1px solid #ddd;
            padding: 10px;
            overflow: hidden;
            max-width: 100%;
        }

        canvas {
            display: block;
            margin: 0 auto;
            max-width: 100%;
        }

        .circle-container {
            position: relative;
            margin: 0 auto;
        }

        .quadrant-line {
            position: absolute;
            background-color: rgba(200, 200, 200, 0.6);
            transform-origin: 0% 0%;
        }

        /* Estilos para el carrusel de previsualización */
        .carousel-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 20px auto;
            overflow: hidden;
        }

        .carousel {
            display: flex;
            transition: transform 0.5s ease;
        }

        .carousel-item {
            min-width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px;
        }

        .carousel-nav {
            display: flex;
            justify-content: space-between;
            width: 100%;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }

        .carousel-button {
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 15px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .carousel-button:hover {
            background-color: rgba(0, 0, 0, 0.7);
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }

        .carousel-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #bbb;
            margin: 0 5px;
            cursor: pointer;
        }

        .carousel-dot.active {
            background-color: #4CAF50;
        }

        .carousel-title {
            margin-bottom: 10px;
            text-align: center;
            font-weight: bold;
        }

        @media print {
            .controls, button, .carousel-nav, .carousel-dots {
                display: none;
            }

            body {
                padding: 0;
                margin: 0;
            }

            .preview-container {
                border: none;
                padding: 0;
            }
        }
.control-group span {
    margin-left: 10px;
    min-width: 50px;
}

input[type="range"] {
    width: 150px;
}