#dashboard {
    position: absolute;
    top: 50%;
    left: 3rem;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#filter {
    background: #fff;
    border-radius: 2rem;
    padding: 0.5rem;
    height: 6.5rem;
    display: grid;
    align-content: space-between;
}

.fixed-modal {
    position: fixed;
    top: 0;
    left: 3rem;
    transform: translate(-50%, -50%);
    width: auto;
    /* Adjust as needed */
    max-width: 100%;
    /* Ensure it doesn't overflow */
    max-height: 100%;
    /* Ensure it doesn't overflow */
}

.modal-content {
    width: 30rem;
    height: 48rem;
    background-color: rgba(255, 255, 255, 0.8);
}

.modal-backdrop.fade.show {
    z-index: auto !important;
}

.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translateX(-50px);
}

.modal.show .modal-dialog {
    transform: translateX(0);
}

.modal-backdrop.show {
    opacity: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #3b71ca;
}

input:focus+.slider {
    box-shadow: 0 0 1px #3b71ca;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.area {
    border: 2px solid white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background-color: #1e90ff;
    opacity: 0.75;
    margin-left: 1.5rem;
}

.area-rice {
    border: 2px solid white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background-color: #32CD32;
    opacity: 0.5;
    margin-left: 1.5rem;
}

.area-corn {
    border: 2px solid white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background-color: #FFD700;
    opacity: 0.5;
    margin-left: 1.5rem;
}

.area-sugar-cane {
    border: 2px solid white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background-color: #057d05;
    opacity: 0.5;
    margin-left: 1.5rem;
}

.area-cassava {
    border: 2px solid white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background-color: #A52A2A;
    opacity: 0.5;
    margin-left: 1.5rem;
}

.select-item {
    border-radius: 5px;
    min-width: 22rem;
    min-height: 2rem;
    border-color: #3b71ca;
}
