body {
    font-family: 'Roboto', sans-serif;
    color: #444;
    background-color: #F8F9FC;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #e28743;
}

.label-checkbox {
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

    .label-checkbox + .label-checkbox {
        margin-top: 1em;
    }

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    font: inherit;
    color: #e28743;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid #e28743;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

    input[type="checkbox"]::before {
        content: "";
        width: 0.65em;
        height: 0.65em;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        transform: scale(0);
        transform-origin: bottom left;
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em #e28743;
        background-color: #e28743;
    }

    input[type="checkbox"]:checked::before {
        transform: scale(1);
    }

    input[type="checkbox"]:focus {
        outline: max(2px, 0.15em) solid #e28743;
        outline-offset: max(2px, 0.15em);
    }

.form-container {
    padding: 1em;
}
    .form-container h1 {
        margin-bottom: 20px;
        text-align: center;
    }


.app-form {    
    flex-direction: column;
    display: flex;
    justify-items: center;
    align-items: stretch;
}

    .app-form > div {
        margin-bottom: 0.5em;
    }

    .app-form > div > label{
        font-weight:500;
    }

@media(width >= 600px) {
    .app-form {
        flex-direction: row;
        flex-wrap: wrap;
        flex-grow: 1;
        gap: 1em;
        padding: 1em;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

        .app-form > div {
            min-width: calc(50% - 0.5em);
            margin-bottom: 0;
            border: 1px solid #ddd;
            padding: 1em;
            border-radius: 4px;
        }

            .app-form > div:last-child {
                flex-basis: 100%;
                display: flex;
                justify-content: flex-end;
                border: none;
                padding: 0;
                margin-top: 1em;
            }

                .app-form > div:last-child > .form-button {
                    width: auto;
                }
    .page-items{
        max-width:15em;
    }
}


.form-input-text {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #375A7F;
    border-radius: 5px;
    background-color: #F8F9FC;
    color: #375A7F;
}

.form-input-modified {
    border: 2px solid #e28743;
    background-color: #fffbe6;
}

.form-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #375A7F;
    color: #dcdbdb;
    font-size: 18px;
    cursor: pointer;
}

    .form-button[disabled] {
        background-color: #b0b0b0;
        cursor: not-allowed;
    }

    .form-button:hover {
        background-color: #2a4866;
    }

.border {
    border: 2px dashed green !important;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1em;
}

.padding-1{
    padding:1em;
}

.details-div {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    border-bottom: 1px solid #375A7F;
}

    .details-div:first-of-type {
        margin-top: 1.5em;
    }

.btn-cancel {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #e28743;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

    .btn-cancel:hover {
        background-color: #b85f27;
    }

    .btn-cancel[disabled] {
        background-color: #b0b0b0;
        cursor: not-allowed;
    }

.btn-delete {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 0.5em;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-left: 1em;
}

.delete-container {
    display: flex;
    flex-direction: row;
    justify-items: stretch;
    align-items: center;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 600px;
    height: 100%;
    background-color: #f8f9fc;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
    z-index:1;
}

    .drawer.open {
        right: 0;
    }

@media(width >= 600px) {
    .drawer {
        width: 100%;
        max-width: 1000px;
    }
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: #375A7F;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #e28743;
}

    .drawer-close:hover {
        color: #b85f27;
    }

.sideNavOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.edit-in-cell {
    color: #e28743;
    cursor:pointer;
    margin-left: 0.2em;
}

.success {
    background-color: #4CAF50;
    color: white;
}

.error {
    background-color: #F44336;
    color: white;
}

.warning {
    background-color: #FFC107;
    color: black;
}

@media(width >=600px){
    .margin-hr-1 {
        margin: 0 1em;
    }
}
.anchor {
    color: #e28743;
    text-decoration: underline;
}