@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto
}

body {
    background-color: #e7eefe;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

td {
    align-content: center;
}

button {
    border: 0;
    background-color: transparent;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: auto;
    min-width: 300px
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    transition: all 0.35s ease-in-out;
    background-color: #343a40;
    display: flex;
    flex-direction: column;
}

#sidebar.collapsed {
    margin-left: -264px;
}

.toggler-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
}

.toggler-btn i {
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
}

.navbar {
    padding: 0.75rem 0.5rem 0.5rem 0.5rem;
}

.sidebar-nav {
    flex: 1 1 auto;
}

.sidebar-logo {
    text-align: center;
}

.sidebar-logo a {
    color: #FFF;
    font-weight: 800;
    font-size: 1.25rem;
}

.sidebar-header {
    color: #FFF;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    position: relative;
    transition: all 0.35s;
    display: block;
}

a.sidebar-link:hover {
    background-color: #f9f6f630;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

#dash {
    margin-top: 1rem;
}

#dashlast {
    margin-top: 1rem;
}

#reminderList {
    justify-content: center;
}

#graphic {
    margin-top: 1rem;
}

#dashitem {
    border: 0px solid white;
    border-radius: 5px;
    line-height: 80%;
    font-weight: 600;
    background-color: #282f37;
    color: white;
}

#dashReminder {
    border: 0px solid white;
    border-radius: 5px;
    line-height: 80%;
    font-weight: 600;
    background-color: #282f37;
    color: white;
}

#graphicitem {
    border: 0px solid white;
    border-radius: 5px;
    line-height: 80%;
    font-weight: 600;
    background-color: #282f37;
    color: white;
    height: 34rem;
}

#graphicitem button {
    width: 35px;
    height: 35px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #6c757d;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#graphicitem button:hover {
    background-color: #495057;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#archiveLabelCheck[type=checkbox]:checked+#archiveLabel {
    background: green;
    color: #fff;
}

#archiveLabel {
    font-weight: bold;
    color: black;
    border: 2px solid black;
    border-radius: 50%;
    padding: 0.5rem;
}

#archiveLabelCheck[type=checkbox] {
    display: none;
}

#clientInfo {
    display: flex;
}

#password {
    display: flex;
    line-height: 30px;
    align-items: center;
    position: relative;
    min-width: 250px;
}

#passwordInput {
    width: 100%;
    height: 45px;
    line-height: 30px;
    color: #94a3b8;
    padding: 0 2rem;
    padding-left: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    outline: none;
    background-color: #f8fafc;
    color: #0d0c22;
    transition: .5s ease;
}

#passwordInput::placeholder {
    color: #94a3b8;
    padding: 0 5rem;
    padding-left: 1rem;
}

#passwordInput:focus,
#passwordInput:hover {
    outline: none;
    border-color: rgba(129, 140, 248);
    background-color: #fff;
    box-shadow: 0 0 0 5px rgb(129 140 248 / 30%);
}

#passwordIcon {
    position: absolute;
    right: 1rem;
    font-weight: bold;
}

#login {
    display: flex;
    line-height: 30px;
    align-items: center;
    position: relative;
    min-width: 250px;
}

#loginInput {
    width: 100%;
    height: 45px;
    line-height: 30px;
    color: #94a3b8;
    padding-left: 1rem;
    outline: none;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: #f8fafc;
    transition: .5s ease;
}

#loginInput::placeholder {
    color: #94a3b8;
    padding: 0 5rem;
    padding-left: 1rem;
}

#loginInput:focus,
#loginInput:hover {
    outline: none;
    border-color: rgba(129, 140, 248);
    background-color: #fff;
    box-shadow: 0 0 0 5px rgb(129 140 248 / 30%);
}

.loginbtn {
    width: 100px;
    height: 50px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    color: white;
    background-color: #198754;
}

#modalbtn {
    width: 100px;
    height: 40px;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    color: white;
    background-color: #198754;
}

#configTab {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #EEE;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    font-size: 14px;
}

#configTab li {
    flex: 1 1 auto;
    text-align: center;
}

#configTab li button {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: rgba(51, 65, 85, 1);
    transition: all .15s ease-in-out;
}

#configTab li button:focus {
    box-shadow: none;
}

#editSwitch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3em;
    height: 1.7em;
}

/* Hide default HTML checkbox */
#editSwitch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
#editSlider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 1px solid #adb5bd;
    transition: .4s;
    border-radius: 30px;
}

#editSlider:before {
    position: absolute;
    content: "";
    height: 1.1em;
    width: 1.2em;
    border-radius: 20px;
    left: 0.27em;
    bottom: 0.25em;
    background-color: #adb5bd;
    transition: .4s;
}

.editCheckBox:checked+#editSlider {
    background-color: #198754;
    border: 1px solid #198754;
}

.editCheckBox:focus+#editSlider {
    box-shadow: 0 0 1px #007bff;
}

.editCheckBox:checked+#editSlider:before {
    transform: translateX(1.2em);
    background-color: #fff;
}

#editLabelInput {
    border-radius: 0px;
    border-color: transparent;
    background-color: #dbe2f1;
    height: 3rem;
}

.editLabelInput {
    border-radius: 0px;
    border-color: transparent;
    background-color: #dbe2f1;
    height: 3rem;
}

#editLabel {
    font-weight: 700;
}

#address {
    display: flex;
    flex-direction: row;
}

#hrAddress {
    margin: 0;
}

#refreshBtn {
    color: white;
    background-color: #222;
    font-weight: 500;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    border: none;
}

#refreshBtn:hover {
    background-color: #333;
}

#refreshBtn svg {
    display: inline;
    width: 1.3rem;
    height: 1.3rem;
    margin-right: 0.75rem;
    color: white;
}

#refreshBtn:focus svg {
    animation: spin 0.5s linear;
}

.zoomable {
    /* cursor: pointer;
    transition: width 0.3s ease-in-out; */
    width: 50rem;
    height: auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width:768px) {

    .zoomable {
        /* cursor: pointer;
        transition: width 0.3s ease-in-out; */
        width: 20rem;
        height: auto;
    }

    #reminderList {
        justify-content: start;
    }

    #dashReminder {
        width: 11rem;
    }

    #pReminder {
        display: flex;
        width: 110%;
    }

    #dashmain {
        justify-content: center;
    }

    #dash {
        width: 50%;
    }

    #dashitem {
        height: 14rem;
    }

    #graphicitem {
        height: 30rem;
    }

    .sidebar-toggle {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0px;
    }

    #clientInfo {
        display: flex;
    }

    #address {
        display: flex;
        flex-direction: column;
    }

    #checkboxesEdit {
        justify-content: center;
    }
}