* {
    /* font-family: 'Abel', sans-serif; */
    font-family: "Montserrat", serif;
    /* text-align: center; */
    /* background-color: #232323; */
}

h1 {
    margin:0px;
}

header {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 2rem;
}

.dashed-line {
    width: 100%;
    border-top: 2px dashed rgb(166, 166, 166);
    margin: 0;
}

footer {
    /* margin-top: auto;  */
}

a {
    text-decoration: none;
    
}

.wholeinterface {
    display: flex;
    flex-direction: column;
    /* background-color: rgb(246, 246, 246); */
    /* background-color: #fff7fa; */
    /* background-color: #fff0f4; */
    background-color: #f8fafd;

    border-radius: 20px;
    padding: 10px;
    min-width:max-content;

}

.toolToggle {
    margin: 0px;
    border-radius: 10px 10px 0px 0px;
}

.tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    min-width:max-content;
    /* margin-left: 330px;
    margin-right: 330px; */
}
.shapes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* align-items: center; */
    /* margin-left: 330px;
    margin-right: 330px; */
}

/* .checkboxFeatures {
    display: flex;
    flex-direction: horizontal;
} */

/* #fillCheckbox, #closeCheckbox, #curveCheckbox, #zeroCheckbox, #pDotCheckbox {
} */


.shapecodegeneratorMain {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* margin-top: 10px; */
    margin: 10px;
}

.shapeType {
    font-size: 14px;
    display: flex;
    background-color: #f9fafd;
    border-radius: 8px;
    align-items: center;
    padding-left: 0.6rem;
}

#myCanvas {
    display: flex;
    justify-content: center;
    margin: 15px;
    margin-bottom: 0px;
    border: 1px dashed rgb(166, 166, 166);
    height: max-content;

}

#shapeCode-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
    /* background-color: rgb(246, 246, 246); */
    background-color: #f9fafd;
    /* align-items: center; */
    /* margin-left: 200px;
    margin-right: 200px; */
    margin-top: 10px;
    /* border: 1px solid rgb(166, 166, 166); */
    border-radius: 15px;
    /* width: 600px; */
    margin-bottom: 30px;
}

.previousShapeCodes, #shapeCode {
    margin-left: 5px;
    text-align: start;
    font-family: "Inconsolata", serif;

}

button {
    font-size: 12px;
    text-align: center;
    margin-top: 3px;
    margin-bottom: 3px;
    border: 0px solid rgb(246, 246, 246);
    /* background-color: #d6d6d6; */
    /* background-color: #eeb9cc; */
    background-color: #ccdaf1;
    /* border-radius: 15px; */
    border-radius: 5px;
    cursor: pointer;
    width: 167px;
    transition: background-color 0.1s;
}

button:hover {
    background-color: #cee1ff;
    transition: 0.1s;
}

button:active {
    background-color: #c2d0e7; /* Style for click/active state */
    transition: 0.1s;
}

#helpButton {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ccdaf1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background-color 0.1s;
}

#helpButton:hover {
    background: #cee1ff;
}

#helpPopup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    width: max-content;
    max-width: 250px;
    font-size: 14px;
}

#helpPopup:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.help-popup-content {
    position: relative;
    background: white;
}

.popup-arrow {
    position: absolute;
    top: -5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
}

.sliders {
    display: flex;
    /* flex-direction: column; */
    /* justify-content: center; */
    /* align-items: center; */
    /* gap: 10px; */

}

input[type="range"] {
    -webkit-appearance: none;
}

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

input[type="range"] {
    /* flex: 1; */
    height: 5px;
    width: 100px;
    -webkit-appearance: none;
    appearance: none;
    background: rgb(165, 165, 165);
    border-radius: 10px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}


input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 10px;
    width: 10px;
    background: rgb(75, 75, 75);
    /* background: pink;
    margin-top: -5px; */
    border-radius: 50%;
   }

#selectableRangeValue {
    /* margin-left: 0px; */
    /* text-align: right; */
    font-size: 12px;
}

#strokeWeightValue {
    /* margin-left: 0px; */
    /* text-align: right; */
    font-size: 12px;
}
.tool {
    display: none;
    gap: 0.6rem;
    background: rgb(232, 232, 232);
    /* border: 1.5px solid; */
    border-radius: 0px 15px 15px 15px;
    padding: 10px;
    width: 100%;
    /* margin: 10px; */
    height: 2rem;
}
#shapeFeature {
    display: flex;
}
.tool-detail {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3rem;
    font-size: 14px;
    /* background-color: rgb(246, 246, 246); */
    /* background-color: #edf8ff; */
    background-color: #f9fafd;
    /* background-color: #fff0f4; */
    /* background-color: #fff7fa; */
    /* padding-top: 0.1rem; */
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    border-radius: 8px;
}



.toolToggle_container {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    /* background: rgb(232, 232, 232); */
    background-color: #ebf0f8;
    /* background-color: #fbdee6; */

    padding: 10px;
    border-radius: 15px;
}
/* canvas {
    border: 1px solid #333; /* Optional: add a border to the canvas */
/* }  */

#shape-container{
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    /* border: 1px solid rgb(214, 214, 214); */
    padding: 10px;
    width:147px;
    border-radius: 15px;
    /* background-color: rgb(246, 246, 246); */
    background-color: #f9fafd;
    margin-top: 10px;

}

.shapeLayer {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid rgb(166, 166, 166); */
    background-color: #ccdaf1;
    width: 28px;
    padding: 10px;
    margin: 2px;
    border-radius: 15px;
}

.shapeLayer.selected {
    background-color: #ffd700;  
}