/* Styles for the canvas */
.canvas-draw {
    width: 100%;
    height: 400px;
    /* Fixed height for the canvas */
    background-color: #ffffff;
    /* White background */
    border: 1px solid #d1d5db;
    /* Gray-300 equivalent border */
    border-radius: 0.375rem;
    /* 6px, rounded-md equivalent */
    /* margin-bottom: 24px; */
    /* 1.5rem, space below the canvas */
    flex-shrink: 0;
    /* Prevent canvas from shrinking */
}


/* Panel styling and positioning using ID selector for position */

.canvasControlPanel {

    width: 80px;
    z-index: 10;
    background: #FFFFFF;
    border: 1px solid rgba(34, 36, 38, .15);
    box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, .12), 0px 2px 10px 0px rgba(34, 36, 38, .15);
    padding: 8px !important;
    border-radius: .28571429rem;
}

/* Adjustments for list items and other elements within the panel (using class selector) */
.canvasControlPanel .ui.list .item {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

.canvasControlPanel .ui.list .item:first-child {
    padding-top: 0.5em;
}

.canvasControlPanel .ui.list .item:last-child {
    padding-bottom: 0.5em;
}

.canvasControlPanel .ui.input input[type="number"] {
    padding: 0.5em 0.7em;
}

.canvasControlPanel .ui.button {
    font-size: 0.85rem;
    padding: 0.7em 0.5em;
}

.canvasControlPanel .ui.list .item .icon {
    font-size: 0.9em;
}

.canvasControlPanel .ui.list .item .content {
    line-height: 1.3;
}


/* Custom Range Slider Styling from canvas.css */

.canvas-draw-modal {
    width: 100%;
    margin-top:35px;
    height: 335px;
    background-color: #f8f8f9;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #e0e1e2;
    border-radius: 3px;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #e0e1e2;
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #d4d4d5;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
}

input[type=range]::-moz-range-thumb {
    border: 1px solid #d4d4d5;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
}