:root {
    --light_orange: #e8dbcd;
    --mid_orange: #A27B5C;
    --dark_orange: #cd8157;

    --light_blue: #247684;
    --mid_blue: #0d4954;
    --dark_blue: #2C3639;

}
html {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
html::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}
body {
    user-select: none;
    font-family: "Fira Mono", monospace;
    color: var(--dark_blue);
    background-color: var(--light_orange);
    margin: 5px 5px 0 5px;
}
h2 {
    color: var(--mid_blue);
    font-weight: bolder;
}

.basic-form {
    text-align: center;
    width: fit-content;
    height: fit-content;
    margin: auto;
    font-size: 1.2em;
}

.basic-form .section-left {
    width: 35vh;
    text-align: left;
    margin: 0 auto;
}

.basic-form h2 {
    text-align: center;
}

.basic-form label, input[type=text], input[type=password] {
    margin: 15px auto 15px 2vh;
}

.basic-form .eye-label {
    margin-left: 0;
}

.basic-form input[type=text], input[type=password] {
    height: 20px;
    border-radius: 3px;
    border: 1.5px solid var(--mid_blue);
}

.basic-form label {
    color: var(--mid_blue);
}

.submit-section {
    margin-top: 20px;
}

.submit-section p {
    margin: 4vh auto 1vh auto;
    font-size: .9em;
    font-style: italic;
}

.submit-section input[type=submit] {
    background-color: var(--light_blue);
    color: var(--light_orange);
    border:2px solid var(--light_blue);
    padding: 4px 8px;
    font-size: .8em;
    border-radius: 4px;
    cursor: pointer;
}
.submit-section input[type=submit]:hover {
    color: var(--dark_blue);
    background-color: var(--light_orange);
    border: 2px solid var(--dark_blue);
}
.msg {
    position: fixed;
    width: fit-content;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background-color: whitesmoke;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 5px;
    opacity: 1;
    animation: fadeOut 2s ease-out 1s forwards;
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}
.msg-error {
    color: #f44336;
    background-color: #e8e8e8;
    border: 2px solid #f44336;
}

.msg-success {
    color: forestgreen;
    background-color: #e8e8e8;
    border: 2px solid forestgreen;
}

.primary-color {
    color: var(--mid_blue);
}
.center {
    text-align: center;
}
/* PASSWORD */
input[type=text], input[type=password] {
    font-size: 1em;
    width: 25vh;
}
.hidden-checkbox {
    display: none;
}

.eye-label {
    cursor: pointer;
}
.eye-label > img {
    /*TODO -> center to line*/
}
/* SIDEBAR */
.disabled {
    pointer-events: none;
    cursor: default;
}
.sidebar-logout {
    color: var(--mid_blue);
    background-color: var(--light_orange);
    border: 2px solid var(--dark_blue);
    border-radius: 4px;
    cursor: pointer;
    padding: 5px 8px;
    font-size: 18px;
    position: absolute;
    bottom: 3vh;
}
.sidebar-logout:hover {
    background-color: var(--light_blue);
    color: var(--light_orange);
    border-color: var(--light_blue);
}
.sidepanel {
    height: 350px;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: var(--dark_blue);
    overflow: hidden;
    padding-top: 60px; /* content from the top */
    transition: 0.5s;
}
.sidepanel a {
    width: 30vh;
    padding: 1vh 2vh;
    text-decoration: none;
    font-size: 25px;
    color: var(--mid_orange);
    display: block;
    transition: 0.3s;
}
.sidepanel a:hover {
    color: var(--light_orange);
}
a .highlight {
    color: var(--light_orange);
}
.user-icon {
    margin-right: 1vh;
}
.sidepanel .closebtn {
    width: initial;
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: var(--dark_orange);
}

/* button that opens sidepanel */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: var(--dark_blue);
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    background-color: var(--light_blue);
}


/* ABOUT DROPDOWN */
.collapsible {
    background-color: var(--dark_blue);
    color: white;
    cursor: pointer;
    padding: 18px 18px 18px 40px;
    width: 75vw;
    margin: 15px auto 0 auto;
    border: none;
    text-align: center;
    outline: none;
    font-size: 15px;
    user-select: none;
}
.active, .collapsible:hover {
    background-color: var(--light_blue);
}
.contentCollapsible {
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: whitesmoke;
    width: 76vw;
    margin: 0 auto 3vh auto;
    user-select: none;
    color: var(--dark_blue);
}
.contentCollapsible p {
    font-size: 1em;
    width: 70vw;
    margin: 15px auto 25px auto;
    text-align: justify;
    user-select: none;
    line-height: 1.5em;
}
.contentCollapsible ul {
    padding: 0;
}
.contentCollapsible li {
    font-size: 1em;
    width: 70vw;
    margin: 10px auto 20px 5vw;
    text-align: justify;
    user-select: none;
    list-style-type: square;
    line-break: auto;
}
.contentCollapsible li span {
    text-align: left;
    line-break: auto;
    font-weight: bold;
}
#listDo {color: green;}
#listSchedule {color: orange;}
#listDelegate {color: blue;}
#listDelete {color: maroon;}

/* Main section setup */
.section-matrix {
    width: 100vw;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -8vh;
}

.container {
    display: flex;
    align-items: flex-start; /* Align items at the top */
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    width: 90%;
    margin: 4vh auto 0 auto;
}

.matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px;
    justify-content: center;
    width: 85vw;
    max-width: 900px;
}

.dropBox {
    width: 100%;
    min-height: 45vh;
    border: 2px solid var(--dark_blue);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
    font-weight: bold;
}

/* Side box */
#box_create {
    width: 30vw;
    min-height: 86.5vh;
    border: 2px solid var(--dark_blue);
    text-align: center;
    padding-top: 50px;
    background-color: whitesmoke;
    place-content: start;
}

#box_do { background-color: #c9ee82; }
#box_schedule { background-color: #eedd82; }
#box_delegate { background-color: #8293ee; }
#box_delete { background-color: #eea782; }

/* RESPONSIVE DESIGN */
@media (max-width: 850px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .matrix {
        grid-template-columns: 1fr;
    }

    .section-matrix {
        margin-top: -3vh;
    }

    #box_create {
        width: 84.5vw;
        min-height: 20vh;
        order: -1;
    }
}

.boxText {
    font-size: 4vmin;
    font-weight: bold;
    color: var(--dark_blue);
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.createButton {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 35px;
    height: 35px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    border: 2px solid var(--light_blue);
    margin: 10px 0 0 10px;
}
.createButton:after {
    content: '';
    position: absolute;
    transform: translate(-50%, -50%);
    height: 4px;
    width: 50%;
    background: var(--light_blue);
    top: 50%;
    left: 50%;
}
.createButton:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--light_blue);
    height: 50%;
    width: 4px;
}
.createButton:hover:before,
.createButton:hover:after {
    background: #fff;
    transition: 0.2s;
}
.createButton:hover {
    background-color: var(--mid_blue);
    border-color: var(--mid_blue);
    transition: 0.2s;
}
.list_item {
    background-color: white;
    height: 50px;
    margin: 4px 15px;
    color: var(--dark_blue);
    display: flex;
    align-items: center;
    cursor: grab;
    border: 1.7px solid var(--dark_blue);
    border-radius: 4px;
    max-width: 280px;
    z-index: 1;
}
.list_item input[type=text] {
    background-color: transparent;
    color: var(--dark_blue);
    font-weight: bold;
    margin: 0;
    margin-left: 10px;
    width: 200px;
    outline: none;
    border: none;
}
.list_item input[type=text]::placeholder {
    color: #808080;
    font-weight: bold;
}
.delButt {
    margin: 0 10px 0 auto;
    background-color: #e8e8e8;
    border: none;
    border-radius: 15px;
    position: relative;
    padding: 5px 6px 2px 6px;
    cursor: pointer;
}
.delButt img {
    display: inline-flex;
    margin: 0;
    height: 20px;
    width: 20px;
    user-select: none;
}