@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#SKF-Planning-Module canvas{
    background-color: hsla(0, 0%, 100%, 0.05);
    border: 3px dotted hsla(200, 100%, 10%, 1);
    cursor: grab;
}

#SKF-Planning-Module{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    width: min(95%, 50rem);
    color: hsla(200, 100%, 10%, 1);
    border-radius: 1rem;
    border: 2px solid black;
    padding: 1rem;
    margin: 2rem 0rem;
    font-family: 'Geologica', sans-serif;
}

#SKF-Planning-Options{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    height: min(20%, 10rem);
    color: whitesmoke;
    background-color: hsla(200, 100%, 20%, 1);
    border-radius: 0.5rem;
    
}

#SKF-Planning-Options>form{
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

#SKF-Planning-Options #lineSep{
    position: absolute;
    background-color: whitesmoke;
}

#SKF-Planning-Options>form.SKF-Planning-Options-Line>div{
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 3fr 1fr;
    gap: 5%;
}

#SKF-Planning-Options>form.SKF-Planning-Options-Line>div label{
    width: 100%;
    grid-column-end: span 2;
}

#SKF-Planning-Options>form.SKF-Planning-Options-Material>div{
    display: grid;
    grid-template-columns: initial;
    grid-template-rows: repeat(2, 1fr);    
    gap: 2%;
}

#SKF-Planning-Options>form>div>*{
    height: 100%;
    width: 100%;
}

#SKF-Planning-canvas-control{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: min(2.5%, 1rem);
}

#SKF-Planning-canvas-control button{
    font-family: 'Geologica', sans-serif;
    cursor: pointer;
    color: whitesmoke;
    aspect-ratio: 4/1;
    width: min(40%, 9rem);
    border: none;
    appearance: none;
    border-radius: 0.2rem;
    background-color: hsla(200, 100%, 20%, 1);
}

#SKF-Planning-paths{
    width: 100%;
    background-color: hsla(200, 100%, 25%, 1);
    color: whitesmoke;
    border-radius: 0.5rem;
}

#SKF-Planning-paths thead{
    background-color: hsla(200, 100%, 20%, 1);
    text-align: center;
}

#SKF-Planning-paths th:nth-of-type(1), #SKF-Planning-paths td:nth-of-type(1){
    display: none;
}
#SKF-Planning-paths tr{
    position: relative;
    text-align: center;
    height: 2rem;
    background-color: hsla(0, 0%, 0%, 0.1);
}
#SKF-Planning-paths tr td input[type="number"]{
    background: none;
    border: none;
    color: whitesmoke;
    background-color: hsla(0, 0%, 90%, 0.1);
    height: 1.5rem;
    border-radius: 0.2rem;
    border: 1px solid whitesmoke;
    padding: 0rem 0.2rem;
    width: 90%;
}

#SKF-Planning-Module input:hover, #SKF-Planning-Module select:hover{
    background-color: hsla(0, 0%, 90%, 0.2);
}

#SKF-Planning-Module input, #SKF-Planning-Module select{
    background: none;
    border: none;
    color: whitesmoke;
    background-color: hsla(0, 0%, 90%, 0.1);
    border-radius: 0.2rem;
    border: 1px solid whitesmoke;
    padding: 0rem 0.2rem;
    width: 90%;
}

#SKF-Planning-Module select option{
    background-color: hsla(200, 100%, 30%, 1);
    border: none;
}

#SKF-Planning-Module select{
    cursor: pointer;
}

#SKF-Planning-Module .SKF-Planning-DeleteRow{
    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    width: 2rem;
    cursor: pointer;
    color: hsl(0, 90%, 60%);
}

#SKF-Planning-Delete-Head{
    display: none;
}

@media (min-width: 850px) {
    #SKF-Planning-Options{
        position: relative;
        display: grid;
        place-items: center;
        height: min(20%, 10rem);
        grid-template-rows: initial;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    #SKF-Planning-Options>form.SKF-Planning-Options-Line>div{
        grid-template-rows: initial;
        grid-template-columns: 0.8fr 2fr 1fr;
        gap: 5%;
    }
    #SKF-Planning-Options>form.SKF-Planning-Options-Line>div label{
        width: initial;
        grid-column-end: initial;
    }
}

@media (min-width: 650px) {
    #SKF-Planning-paths th:nth-of-type(1), #SKF-Planning-paths td:nth-of-type(1){
        display: table-cell;
    }    
    #SKF-Planning-canvas-control button{
        width: min(30%, 9rem);
    }
    #SKF-Planning-Options>form.SKF-Planning-Options-Material>div{
        grid-template-columns: 1fr 1.5fr;
        grid-template-rows: initial;
        gap: 2%;
    }
}