.btn{
    font-size: 13px!important;
}

.form-control{
    height: 32px!important;
}

/*-------------Left side bar section--------------------*/
.tool-canvas{
    display: flex;
}

.bigsection-left-sidebar{
    padding-right: 0px;

}

.subsection-left-sidebar{
    border: solid 1px lightgray;
    /*border-radius: 7px;*/
    margin-left: 0px;
    margin-right: 5px;
    margin-top: 0px;
    margin-bottom: 8px;
    padding: 5px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0px 2px 0 rgba(0, 0, 0, 0.19);
}

.section-input-elements{
    margin-bottom: 10px;
    margin-top: 10px;
}

.btn-import-csv-wrapper{
    margin-top: 5px;
    margin-bottom: 8px;
    border: 1px solid gray;
}

.img-thumbnail{
    padding: 3px;
    max-width: 90%;
}

.each-options{
    width: 18%;
    margin-right: 2%;
    float: left;
}

.each-color-option{
    width: 18%;
    margin-right: 2%;
    float: left;
}


.tool-container-segments{
    display: table-cell;
    float: none;
    vertical-align: middle;
}

.tool_label
{
    font-size: 14px;
    font-weight: bold;
    padding-left: 0%;
}

.tool-label-mm{
    width: auto;
    padding-left: 0px;
}

.tool-vertical-align{
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.tool-container{
    margin-bottom: 10px;
}

.shape-hole-container{
    display: table;
    margin-bottom: 10px;
}

.tool-container-no-bottom{
    margin-bottom: 0px;
}

.shape-selected{
    background-color: #558B2F;
}

.hole-selected{
    background-color: #558B2F;
}

.color-selected{
    background-color: #558B2F;
}

.hole-diameter-selected{
    /*dummy class*/
}

.alignment-selected{
    /*dummy class*/
}

.accessories{
    margin-bottom: 8px;
}
/*-------------Canvas section--------------------*/
.bigsection-canvas{
    padding-left: 5px;
}

.section-canvas{
    border: solid 1px lightgray;
    /*border-radius: 7px;*/
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 8px;
    padding: 5px;
    padding-bottom: 16px;
    /*height: calc(100% - 12px);*/
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0px 2px 0 rgba(0, 0, 0, 0.19);
}

.drawing_canvas {
    border:1px solid whitesmoke;
}

.align-options{
    margin-left: 3px;
    margin-right: 3px;
    display: inline;
}

.action-buttons-container{
    margin-bottom: auto;
}

.check-auto-adjust{
    margin-left: 15px;
}

.btn-clear-canvas{
    margin-right: 15px;
}

.label-sign-id{
    color: red;
    font-weight: bold;
}
hr{
    margin-top: 5px;
    margin-bottom: 10px;
}

/*-------------Cart section--------------------*/
.section-cart{
    position: relative;
    border: solid 1px lightgray;
    /*border-radius: 7px;*/
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 0px;
    margin-bottom: 15px;
    padding: 5px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0px 2px 0 rgba(0, 0, 0, 0.19);
}

.empty-cart-msg{
    margin-left: 20px;
    color: #9b0000;
}

.cart-container{
    margin-bottom: 20px;
}

.table {
    text-align:center;
    margin-bottom: 0px;
}

.table th {
    text-align:center;
}

.table tbody>tr>td {
    vertical-align: middle;
}

.alert {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
    background-color: #455A64;
    color: white;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

.item-on-edit{
    /*border: 2px solid lightsalmon;*/
    background-color: #FFFF9C!important;
}

.item-on-save{
    border: 2px solid green;
    /*background-color: lightgreen;*/
}

.cart-options{
    margin-left: 30px;
    margin-bottom: 0px;
    margin-top: 30px;
}

.cart-details{
    float: right;
    margin-right: 60px;
}

.cart-delete-item{
    color: #C9302C;
}

.total-price{
    margin-right: 35px;
    margin-top: 20px;
}


/*Others*/
.highlight-new{
    background-color: #c6ff9c;
}

.highlight-remove{
    background-color: #ff927b;
}

/* ── Custom Material Dropdown ── */
.cs-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.cs-wrap select.cs-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    border: none;
}
.cs-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 32px;
    padding: 0 10px 0 12px;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    user-select: none;
    transition: border-color .15s, box-shadow .15s;
    white-space: nowrap;
    overflow: hidden;
}
.cs-trigger:hover {
    border-color: #adb5bd;
}
.cs-trigger.cs-open,
.cs-trigger:focus {
    outline: none;
    border-color: #558B2F;
    box-shadow: 0 0 0 3px rgba(85, 139, 47, .18);
}
.cs-trigger-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cs-chevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: transform .2s ease;
}
.cs-chevron svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cs-trigger.cs-open .cs-chevron {
    transform: rotate(180deg);
    color: #558B2F;
}
.cs-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1050;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}
.cs-panel.cs-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.cs-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background .1s;
}
.cs-option:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}
.cs-option:hover {
    background: #F1F8E9;
}
.cs-option.cs-selected {
    background: #DCEDC8;
    color: #33691E;
    font-weight: 600;
}
.cs-tick svg {
    width: 13px;
    height: 13px;
    stroke: #558B2F;
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity .1s;
}
.cs-option.cs-selected .cs-tick svg {
    opacity: 1;
}