html,body {
    height: 100%;
}

.body {
    margin: 0;
}

#signin-container {
    background: var(--bs-gray-200);
}

#sign-card {
    width: 370px;
}

#admin-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: 65px 1fr;
    grid-template-areas:
        "sidebar topbar"
        "sidebar main-content";
    height: 100vh;
}

#sidebar {
    grid-area: sidebar;
    background-color: #13376d;
    height: 100vh;
    z-index: 2;
    width: 0;
    overflow: hidden;
    transition: width 0.1s;
    position: fixed;
}

#topbar {
    grid-area: topbar;
    background-color: #EEEEEE;
    z-index: 1;
}

.svg-icon-link {
    fill: white;
}

#user-avatar {
    background: #2196F3;
    color: white;
}

#main-content {
    grid-area: main-content;
    z-index: 1;
}

#accordion-button  {
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    display: block;

}

.no-voter-data {
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.no-voter-highlight {
    color: #c0392b;
    font-weight: bold;
}

.no-voter-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

.no-voter-data h1 {
    font-size: 24px;
    color: #333;
}
.no-voter-data p {
    font-size: 18px;
    line-height: 1.6;
}

.on-hover:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.accordion-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.nav-link.active {
    background-color: rgb(55 155 62);
    border-radius: 4px;
}

.fixed-height {
    height: 50px !important;
}

.tel-link {
    color: #e74c3c !important;
}

#close-button-container {
    display: block;
}

#open-button-container {
    display: block;
}

#toggle-container {
    justify-content: space-between !important;
}

.ui-chkbox-box .ui-chkbox-icon {
    margin-top: -12px !important;
}

@media (min-width: 993px) {
    #close-button-container {
        display: none !important;
    }

    #open-button-container {
        display: none !important;
    }

    #toggle-container {
        justify-content: end !important;
    }
}

@media (max-width: 992px) {

    #admin-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "topbar"
            "main-content";
        height: 100vh;
    }
}

@media (max-width: 640px) {
    .ui-datatable-data>tr>td {
        padding: 0 !important;
    }

    .ui-column-title {
        font-weight: bold !important;
    }
}

@media (min-width: 993px) {
    #sidebar {
        width: 250px !important;
    }
}

@media (max-width: 400px) {
    #sign-card {
        width: 90% !important;
        padding: 1rem !important;
        min-width: 300px !important;
    }
}