@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    /* Color Palette */
    --frame-color: #95D2B3;
    --icon-color: #2B6055;
    --search-color: linear-gradient(90deg, rgba(241, 249, 233, 1) 0%, rgba(196, 230, 207, 1) 100%);
    --text-color: #2C5F54;
    --shadow-color: #55AD9B;
    --table-color: #F2FFFC;
    --base-color: linear-gradient(180deg, rgba(241, 248, 232, 1) 0%, rgba(216, 239, 211, 1) 75%, rgba(190, 249, 219, 1) 100%);
    --cancel-color: #DD7777;
    --save-color: #558BAD;
    --diagram1-color: #55AD9B;
    --diagram2-color: #2C5F54;
    --diagram3-color: #60B98A;
    --diagram4-color: #95D2B3;
    --diagram1-color-50: #55ad9b80;
    --diagram2-color-50: #2C5F5480;
    --diagram3-color-50: #60B98A80;
    --diagram4-color-50: #95D2B380;
    --success-color: #55AD6C;
    --pending-color: #CBC520;
    --new-color: #5590AD;
    --fail-color: #AD5556;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-color);
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

i.mi {
    color: inherit;
    user-select: none;
}

a {
    text-decoration: none;
}

th {
    font-weight: bold !important;
}

input.mi,
label.mi,
i.mi {
    font-family: 'Material Icons';
    font-style: normal;
    transform-origin: center;
    display: inline-block;
}

.r90 {
    transform: rotate(90deg) !important
}

.r180 {
    transform: rotate(180deg) !important
}

.r270 {
    transform: rotate(270deg) !important
}

.mb-10 {
    margin-bottom: 1em;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    cursor: pointer;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--frame-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--shadow-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--text-color);
}

body {
    background: var(--frame-color);
}

.app {
    display: flex;
}

/* SIDEBAR */
.app .sidebar {
    flex: 1;
    height: 100vh;
    min-width: 0px;
    max-width: 0px;
    background: var(--frame-color);
    position: sticky;
    top: 0;
    transition: .3s ease;
}

.app .sidebar.open {
    min-width: 230px;
    max-width: 230px;
}

.app .sidebar .toggle {
    width: 40px;
    height: 40px;

    position: absolute;
    top: 15px;
    right: -55px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 30px;
    color: var(--text-color);

    cursor: pointer;

    transition: .3s ease;
    background: white;
    border: 2px solid var(--diagram2-color-50);

    transform: rotate(180deg);
    border-radius: 50px;
    box-shadow: 4px -4px 4px rgba(0, 0, 0, .25);

    z-index: 1000;
}

.app .sidebar.open .toggle {
    right: -10px;
    background: transparent;
    color: white;
    transform: rotate(0);
    box-shadow: none;
    border: 2px solid transparent;
}

.app .sidebar.open .toggle:hover {
    color: var(--icon-color);
    background: transparent;
    box-shadow: none;
}

.app .sidebar .toggle:hover {
    color: white;
    background: var(--text-color);
}

.app .sidebar .logo {
    height: 70px;
    width: 170px;
    margin: auto;
    /* background: url('/assets/img/logo.png') left no-repeat; */
    background: url('/assets/img/logo-bayu.png') left no-repeat;
    background-size: contain;
    transition: .3s ease;
}

.app .sidebar .menus * {
    transition: .15s ease;
}

.app .sidebar .menus {
    padding: 16px;
    overflow: hidden;
    height: calc(100vh - 110px);
    opacity: 0;
    transition: .3s ease;
}

.app .sidebar.open .menus {
    overflow: auto;
    opacity: 1;
}

.app .sidebar .menus .menu {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 5px;
    cursor: pointer;
}

.app .sidebar .menus .menu.has-sub {
    align-items: start;
}

.app .sidebar .menus .menu .sidebar-icon {
    padding: 10px;
    font-size: 18px;
    margin-right: 10px;
    border-radius: 10px;
    color: var(--text-color);
}

.app .sidebar .menus .menu:hover .sidebar-icon,
.app .sidebar .menus .menu.active .sidebar-icon {
    background: var(--shadow-color);
    color: white;
}

.app .sidebar .menus .menu .dropdown {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.app .sidebar .menus .menu .menu-content {
    width: 100%;
    padding: 10px 10px;
    border-radius: 10px;
}

.app .sidebar .menus .menu.has-sub .menu-content {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
}

.app .sidebar .menus .menu:hover .menu-content,
.app .sidebar .menus .menu.active .menu-content {
    background: var(--shadow-color);
    color: white;
}

.app .sidebar .menus .menu .menu-content span {
    display: flex;
    flex-grow: 1;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.app .sidebar .menus .menu.has-sub .menu-content span {
    margin-bottom: 0;
}

.app .sidebar .menus .menu:hover span .menu-name,
.app .sidebar .menus .menu.active span .menu-name,
.app .sidebar .menus .menu:hover span .main-menu-name,
.app .sidebar .menus .menu.active span .main-menu-name {
    background: var(--shadow-color);
    color: white;
}

.app .sidebar .menus .menu span .dropdown {
    font-size: 14px;
    color: var(--text-color);
    border-radius: 10px;
}

.app .sidebar .menus .menu:hover span .dropdown,
.app .sidebar .menus .menu.active span .dropdown {
    color: white;
}

.app .sidebar .menus .menu .menu-content .submenus {
    overflow: hidden;
}

.app .sidebar .menus .menu .menu-content .submenus.close {
    height: 0px !important;
}

.app .sidebar .menus .menu .menu-content .submenus .submenu {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-top: 18px;
    color: var(--text-color);
    text-decoration: none;
}

.app .sidebar .menus .menu .menu-content .submenus .submenu .menu-name {
    flex: 1;
}

.app .sidebar .menus .menu .menu-content .submenus .submenu:hover .menu-name,
.app .sidebar .menus .menu .menu-content .submenus .submenu.active .menu-name {
    color: white;
}

/* END OF SIDEBAR */

.content {
    padding: 10px;
    width: calc(100% - 10px);
    transition: .3s ease;
}

@keyframes pop {
    0% {
        transform: scale(0)
    }

    50% {
        transform: scale(1.1)
    }

    100% {
        transform: scale(1)
    }
}

.pmiAlert {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    padding: 20px !important;
    border-radius: 20px !important;
    display: none;
    flex-direction: column !important;
    gap: 10px !important;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25) !important;

    z-index: 99999 !important;
    animation: pop .3s ease !important;
    cursor: pointer !important;
}

.alert-timer {
    position: absolute !important;
    width: 0%;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    background: rgba(0, 0, 0, .075) !important;
    border-radius: 20px !important;
}

.pmiAlert.error {
    background: var(--cancel-color);
    border: 2px solid var(--frame-color);
}

.pmiAlert.error * {
    color: white
}

.pmiAlert.success {
    background: var(--base-color);
    border: 2px solid var(--frame-color);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert .alert-header .alert-icon {
    font-size: 20px;
}

.alert .alert-header .alert-title {
    font-weight: bold;
    font-size: 20px;
}

.main-card {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    padding: 30px;
    border-radius: 50px;
    background: var(--base-color);
}

.main-card .main-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.main-card .main-card-header .breadcumb {
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.main-card * {
    text-shadow: none;
    font-weight: normal;
}

.main-card .main-card-header .profile {
    display: flex;
    gap: 15px;
}

.main-card .main-card-header .profile .me {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
}

.main-card .main-card-header .profile .logout {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--icon-color);

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.main-card .main-card-content {
    display: flex;
    flex-wrap: wrap;
}

.main-card .main-card-content .card {
    padding: 25px;
    background: rgba(255, 255, 255, .25);
    border: 1px solid var(--shadow-color);
    margin: 5px;
    border-radius: 25px;
}

.card.collapsable {
    height: fit-content;
    overflow: hidden;
    transition: .5s ease;
}

.card.collapsable.close {
    height: 75px !important;
    overflow: hidden;
    transition: .5s ease;
}

.card.collapsable .card-title {
    cursor: pointer;
}

.main-card .main-card-content .card {
    font-weight: bold;
    font-size: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.parent {
    display: flex;
}

.parent.column {
    flex-direction: column;
}

.c252 {
    width: calc(25% / 2)
}

.c25 {
    width: 25%
}

.c50 {
    width: 50%
}

.c75 {
    width: 75%
}

.c100 {
    width: 100%
}

.c103 {
    width: calc(100%/3)
}

.card.c25 {
    width: calc(25% - 65px)
}

.card.c50 {
    width: calc(50% - 65px)
}

.card.c75 {
    width: calc(75% - 65px)
}

.card.c100 {
    width: calc(100% - 65px)
}

.card.c103 {
    width: calc(calc(100%/3) - 65px)
}

.flex {
    display: flex;
    flex-direction: row;
}

.flex.col {
    flex-direction: column;
}

.flex.center {
    justify-content: center;
    align-items: center;
}

.grow {
    flex: 1;
}

.blood-type-stock {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--shadow-color);
}

.blood-type-stock .blood-type {
    font-size: 30px;
    font-weight: bold;
}

.blood-type-stock .blood-stock {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blood-type-stock .blood-stock .blood-count {
    font-size: 20px;
    font-weight: bold;
}

.blood-type-stock .blood-stock .blood-stock {
    font-size: 14px;
    font-weight: bold;
}

.stock-details {
    display: flex;
    flex-wrap: wrap;
}

.stock-details .stock-detail {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stock-details .stock-detail div {
    padding: 8px 0;
    font-weight: bold;
}

.stock-details .stock-detail .stock-count {
    background: var(--frame-color);
    width: calc(100% - 4px);
    margin: auto;
    text-align: center;
    font-size: 15px;
}

.dt-container * {
    font-weight: normal;
    font-size: 12px;
    text-shadow: none;
}

.dashboard-table {
    margin-top: 20px !important;
}

thead {
    background: rgba(255, 255, 255, 1) !important;
}

tbody>tr:nth-child(even) {
    background: rgba(255, 255, 255, 1) !important;
}

tbody>tr:nth-child(odd) {
    background: rgba(255, 255, 255, .25) !important;
}

.card-content * {
    text-shadow: none;
    font-weight: normal;
}

/* Custom DataTables Styles */
div.dt-container .dt-paging .dt-paging-button {
    background: transparent;
    border: none;
    border-radius: 5px;
    transition: .1s ease;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    background: var(--frame-color);
    border: none;
    border-radius: 5px;
    transition: .1s ease;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
    border: none;
    background: var(--text-color);
    color: white !important;
}

/* Custom Timeline */
.timeline {
    font-weight: normal;
    text-shadow: none;
}

.timeline ul.line.left {
    border-left: 3px solid black;
    list-style-type: none;
    margin-left: 20px;
    padding: 0;
}

.timeline ul.line.right {
    border-right: 4px solid black;
    list-style-type: none;
    margin-right: 20px;
    padding: 0;
}

.timeline ul.line li.item {
    display: flex;
    align-items: start;
    margin: 35px auto;
}

.timeline ul.line li.item::before {
    content: '';
    min-width: 15px;
    min-height: 15px;
    border-radius: 15px;
    position: relative;
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;
    margin-left: -9px;
    z-index: 100;
    background-color: var(--diagram4-color);
}

.timeline ul.line li.item:nth-child(4n+1)::before {
    background-color: var(--diagram1-color);
    /* Item ke-1, ke-5, ke-9, dst */
}

.timeline ul.line li.item:nth-child(4n+2)::before {
    background-color: var(--diagram2-color);
    /* Item ke-2, ke-6, ke-10, dst */
}

.timeline ul.line li.item:nth-child(4n+3)::before {
    background-color: var(--diagram3-color);
    /* Item ke-3, ke-7, ke-11, dst */
}

.timeline ul.line li.item:nth-child(4n) ::before {
    background-color: var(--diagram4-color);
    /* Item ke-4, ke-8, ke-12, dst */
}

/* INPUTS */
input,
select {
    padding: 10px !important;
}

.dt-search {
    display: flex;
    align-items: center;
}

input.search-input {
    padding-left: 35px !important;
    background: var(--search-color);
    outline: none !important;
    border: 2px solid var(--text-color) !important;
    border-radius: 10px !important;
}

input[type="reset"],
input[type="submit"] {
    outline: none;
    border: none;
}

label[for^="dt-search-"] {
    margin-right: -35px;
    font-size: 20px;
    z-index: 1;
}

table .actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: pink;
    padding: 7px 8px;
    border-radius: 5px;

    cursor: pointer;
    transition: .3s ease;

    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
}

.btn:hover {
    filter: grayscale(0.5);
    text-shadow: 4px 4px 4px rgba(0, 0, 0, .25);
}

.btn.new {
    background: var(--new-color);
    color: white;
}

.btn.primary {
    background: var(--success-color);
    color: white;
}

.btn.secondary {
    background: var(--pending-color);
    color: white;
}

.btn.danger {
    background: var(--cancel-color);
    color: white;
}

.btn.base {
    background: var(--search-color);
    color: var(--text-color);
    box-shadow: 0 0 4px var(--search-color);
    font-weight: normal;
}

.btn i.mi {
    font-size: 15px;
}

button.svg-button {
    outline: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 10px; */
    width: 100px;
    min-width: 100px;
    min-height: 55px;
    color: white;

    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
    text-decoration: none !important;

    cursor: pointer;
    transition: .3s ease;
}

.svg-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    width: fit-content;
    min-width: 100px;
    min-height: 55px;
    color: white;

    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .25);
    text-decoration: none !important;

    cursor: pointer;
    transition: .3s ease;
}

.svg-button.new {
    background: url('/assets/img/buttons/new.svg') center no-repeat;
    background-size: 100% 100%;
}

.svg-button.primary {
    background: url('/assets/img/buttons/primary.svg') center no-repeat;
    background-size: 100% 100%;
}

.svg-button.secondary {
    background: url('/assets/img/buttons/secondary.svg') center no-repeat;
    background-size: 100% 100%;
}

.svg-button.danger {
    background: url('/assets/img/buttons/danger.svg') center no-repeat;
    background-size: 100% 100%;
}

.svg-button:hover {
    filter: grayscale(0.5)
}

button.logout {
    outline: none;
    border: none;
    box-shadow: none;
}

/* Profile Page */
.donor-profile .profile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.donor-profile .profile .photo {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    margin-right: 20px;
}

.donor-profile .profile .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: normal;
    text-shadow: none;
    margin-left: 20px;
}

.donor-profile .profile .details .detail {
    font-size: larger;
    opacity: .75;
}

.donor-profile .profile .details .detail#name {
    color: var(--text-color);
    font-size: 24px;
    opacity: 1;
    margin-bottom: 10px;
}

.profile-cards {
    display: flex;
    gap: 10px;
    justify-content: space-around;
    margin-top: 50px;
}

.profile-cards .profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('/assets/img/card.png');
    background-size: cover;
    box-shadow: 4px 4px 8px #0002;
    border-radius: 20px;
    border: 1px solid var(--frame-color);
    padding: 20px 60px;
}

.profile-cards .profile-card .profile-card-title {
    text-shadow: none;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.profile-cards .profile-card .profile-card-content {
    text-shadow: none;
    color: var(--text-color);
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

.profile-separator {
    background: var(--frame-color);
    color: white;
    margin: 20px auto;
    padding: 10px 5px;
    font-weight: normal;
    text-shadow: none;
    text-align: center;
}

.profile-details * {
    font-weight: normal;
    text-shadow: none;
    color: var(--text-color);
}

.profile-details {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-details .detail {
    display: flex;
    align-items: center;
    padding: 5px 0;
    width: calc(95% / 2);
}

.profile-details .detail i.mi {
    font-size: 20px;
    margin-right: 10px;
}

.profile-timeline .box {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 0 20px 20px 20px;
    background-color: var(--diagram4-color-50);
}

.profile-timeline:nth-child(4n+1) .box {
    background-color: var(--diagram1-color-50);
    /* Item ke-1, ke-5, ke-9, dst */
}

.profile-timeline:nth-child(4n+2) .box {
    background-color: var(--diagram2-color-50);
    /* Item ke-2, ke-6, ke-10, dst */
}

.profile-timeline:nth-child(4n+3) .box {
    background-color: var(--diagram3-color-50);
    /* Item ke-3, ke-7, ke-11, dst */
}

.profile-timeline:nth-child(4n) .box {
    background-color: var(--diagram4-color-50);
    /* Item ke-4, ke-8, ke-12, dst */
}

.profile-timeline .box .timeline-title {
    font-size: 18px;
    color: var(--text-color);
    text-shadow: none;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-timeline .box .timeline-details {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-color);
}

.profile-timeline .box .timeline-details * {
    text-shadow: none;
}

.add-photo {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.icon-add-photo {
    width: 50px;
    height: 50px;
    background: url('/assets/img/add_photo.svg') center no-repeat;
    background-size: cover;
    cursor: pointer;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: 'expand_more';
    font-family: 'Material Icons';
    position: absolute;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    height: 42px;
    width: 42px;
}

textarea.form-input,
select.form-input,
input.form-input {
    width: calc(100% - 40px);
    outline: none;
    border: 1px solid var(--frame-color);
    border-radius: 13px;
    padding: 10px;
}

.input-group .form-control:first-child {
    border-radius: 13px 0 0 13px;
    border-right: 1px solid var(--transparent);
}

.input-group .input-group-text {
    background: white;
}

.input-group .input-group-text:last-child {
    border-radius: 0 13px 13px 0;
    border: 1px solid var(--icon-color);
    border-left: 1px solid var(--transparent);
}

.preview {
    width: 90%;
    margin: auto;
}

.preview .header {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--text-color);
    margin-bottom: 20px;
}

.preview .header .vendor-section {
    display: block;
    position: relative;
}

.preview .header .vendor-section * {
    display: block;
    font-weight: bold;
    line-height: 1.5;
}

.preview .header .vendor-section .vendor-item {
    margin-left: 20px;
}

.preview .header .order-section {
    display: block;
    width: 40%;
    position: relative;
}

.preview .header .order-section * {
    font-weight: bold;
    display: block;
    line-height: 1.5;
}

.modal {
    display: none;
    opacity: 0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: #0005;
    backdrop-filter: blur(2px);
    z-index: 2700;
}

.modal-body {
    width: 80%;
    background: var(--base-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 4px 4px 4px #0002;
}

.modal-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .modal-title {
    font-size: 20px;
    font-weight: bold;
}

.modal-header .modal-close * {
    font-size: 30px;
    cursor: pointer;
}

.modal-content {
    background: rgba(255, 255, 255, .25);
    padding: 20px;
    border-radius: 10px;
}

.modal-footer {
    margin-top: 20px;
}

.survey-pembatas {
    font-weight: bold;
    margin-bottom: .5em;
}

.survey-pembatas:not(:first-child) {
    margin-top: 25px;
}

.survey-pertanyaan {
    display: flex;
    gap: 15px;
    padding-left: 10px;
    line-height: 2.5;
}

.survey-pertanyaan .nomor {
    width: 15px;
    text-align: right;
}

.tabs {
    display: flex;
    margin-left: 40px;
    gap: 1px;
}

.tabs .tab {
    padding: 10px 20px;
    border: 1px solid var(--diagram2-color);
    border-bottom: none;
    margin-bottom: -5px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    opacity: .5;
    font-weight: bold;
}

.tabs .tab.active {
    opacity: 1;
}

.popup {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    backdrop-filter: blur(2px);
    background: #0008;
    z-index: 100;
    top: 0px;
    left: 0;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background: var(--base-color);
    width: 450px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 6px #0004;
}

.popup-container .popup-title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--diagram1-color)
}

.popup-container .popup-content {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup.container .popup-content .popup-text {
    width: fit-content;
}

.popup-container .popup-content textarea.form-input {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.popup-container .popup-footer {
    display: flex;
    gap: 10px;
    justify-content: end;
}

/* LEAFLET CUSTOM CSS */
.leaflet-top .leaflet-control,
.leaflet-right .leaflet-control {
    margin: 0 !important;
}

.leaflet-right {
    padding: 10px;
    margin: 5px;
    border-radius: 5px !important;
    background: #fff7;
    backdrop-filter: blur(2px);
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-right .leaflet-bar {
    border: none !important;
    width: 300px !important;
}

.leaflet-control-geocoder-form input {
    width: 100%;
}

.leaflet-control-geocoder-icon,
.leaflet-control-geocoder-form-no-error {
    display: none !important;
}

.leaflet-touch .leaflet-bar a {
    width: calc(100% - 10px) !important;
    height: fit-content !important;
    text-align: left !important;
    padding: 5px !important;
    line-height: 15px !important;
    cursor: pointer;
}

.leaflet-touch .leaflet-bar a span {
    font-size: smaller;
}

ul.leaflet-control-geocoder-alternatives li {
    list-style: none !important;
    display: none;
}

ul.leaflet-control-geocoder-alternatives li:nth-child(1),
ul.leaflet-control-geocoder-alternatives li:nth-child(2),
ul.leaflet-control-geocoder-alternatives li:nth-child(3) {
    display: block;
}

/* END OF LEAFLET CUSTOM CSS */

/* RESPONSIVE */
@media (max-width: 1199px) {
    .content {
        padding: 10px;
        width: calc(100% - 20px);
    }

    .flex {
        flex-direction: column;
    }

    .main-card .main-card-content div.card,
    .main-card .main-card-content div.parent {
        flex-direction: column;
        width: calc(100% - 30px);
        padding: 15px
    }

    .donor-profile .profile {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .donor-profile .profile>.photo {
        margin-right: 0;
    }

    .donor-profile .profile>.details {
        text-align: center;
        margin-left: 0;
        margin-top: 20px;
    }

    .profile-cards {
        flex-direction: column;
    }

    .profile-details .detail {
        width: 100%;
    }

    div.parent {
        width: calc(100% - 65px) !important;
    }

    canvas {
        width: 100%;
        height: auto;
    }

    .dt-search {
        justify-content: center;
    }

}

.slidecontainer {
    position: relative;
    display: flex;
    width: 100%;
    padding: 0;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 50px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    padding: 0;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    /* -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #04AA6D;
    cursor: pointer;
    border-radius: 25px; */

    -moz-appearance: none !important;
    appearance: none !important;
    position: relative;
    height: 30px;
    width: 30px;
    border-radius: 30px;
    background: #04AA6D;
    cursor: pointer;
    z-index: 4;
}

.slider::-moz-range-thumb {
    /* width: 10px;
    height: 10px;
    background: #04AA6D;
    cursor: pointer; */

    -moz-appearance: none !important;
    appearance: none !important;
    position: relative;
    height: 30px;
    width: 30px;
    border-radius: 30px;
    background: #04AA6D;
    cursor: pointer;
    z-index: 4;
}

.range-text {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    text-align: center;
    line-height: 1;
    height: 20px;
    width: 20px;
}