body {
    margin: 0px;
}


/* SIDEBAR */

.dashboard-sidebar {
    position: fixed;
    height: 100vh;
    color: #FFFFFF;
    background-color: #00010F;
    z-index: 999;
    width: 480px;
}

.db-sidebar {
    padding: 60px;
}

.db-logo {
    margin-bottom: 80px;
}

.db-logo img {
    height: 60px;
} 

.dbnav a {
    padding: 14px 20px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.db-active a {
    background-color: #FF9900;
    color: #00010F;
}

.dbnav a:hover {
    background-color: #FF9900;
    transition: 0.5s;
}

.dbnav a {
    display: flex;
    align-items: center;
}

.dbnav img {
    width: 32px;
    margin-right: 16px;
}

.dbnav p {
    font-size: 16px;
    font-weight: 600;
}



/* DESKTOP HEADER */

.db-desktop-header {
    padding: 40px 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



/* CHECK DETAILS */

.check-details {
    margin-left: 480px;
    overflow: hidden;
}

.chd {
    padding: 20px 40px 60px 40px;
}

.cd-intro h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

span.username {
    font-weight: 600;
}

/* Info Box */

.cd-infobox {
    background-color: #00010F;
    color: #FFFFFF;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.info-box {
    display: flex;
    align-items: center;
    padding: 24px 36px;
}

.election-deadline h4,
.total-votes h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.e-deadline {
    display: flex;
    align-items: center;
}

.e-deadline div {
    text-align: center;
    background-color: #FF9900;
    padding: 16px 22px;
    border-radius: 12px;
    width: 46px;
    height: 54px;
    margin-right: 24px;
}

.e-deadline h3,
.t-votes h3 {
    font-size: 24px;
    font-weight: 700;
    color: #00010F;
    margin-bottom: 4px;
}

.e-deadline p,
.t-votes p {
    font-size: 16px;
}

.t-votes {
    text-align: center;
    background-color: #FF9900;
    padding: 16px 22px;
    border-radius: 12px;
    width: 180px;
    height: 54px;
}

.total-votes {
    margin-left: 8px;
    padding-left: 32px;
    border-left: 3px solid #FFFFFF;
}

.cdvd {
    margin-bottom: 16px;
}

.cdvd-head h3,
.cdap-head h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cdvd-head p,
.cdap-head p {
    font-size: 16px;
    margin-bottom: 4px;
}

.vd-listitem,
.ap-listitem {
    display: flex;
    align-items: center;
}

.vd-listitem img,
.ap-listitem img {
    margin-right: 6px;
    width: 36px;
}

.vd-listitem p,
.ap-listitem p {
    font-size: 16px;
    font-weight: 500;
}

.vd-bold {
    font-weight: bold;
    margin-right: 16px;
}

.cdap-body {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-gap: 0px 2px;
}

.cd-cta {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.cd-cta a {
    width: 100%;
    max-width: 400px;
    cursor: pointer;
}

.cd-cta p {
    cursor: pointer;
    background-color: #FF9900;
    padding: 12px 20px;
    border: 1px solid #FF9900;
    border-radius: 8px;
    color: #00010F;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.cd-cta p:hover,
.cd-cta button:hover {
    background-color: #00010F;
    border: 1px solid #00010F;
    color: #FFFFFF;
    transition: 1s;
}

.cd-cta button {
    cursor: pointer;
    background-color: #FF9900;
    padding: 12px 20px;
    border: 1px solid #FF9900;
    border-radius: 8px;
    color: #00010F;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    max-width: 400px;
}

.cd-cta button p {
    cursor: pointer;
    background-color: transparent;
    padding: 0px;
    border: none;
    border-radius: 8px;
    color: #00010F;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}


@media (max-width: 1354px) {
    .cd-infobox {
        width: auto;
    }
    
    .info-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 24px 48px;
    }

    .election-deadline {
        margin-bottom: 20px;
    }
    
    .election-deadline h4,
    .total-votes h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .e-deadline div {
        padding: 16px 22px;
        border-radius: 12px;
        width: 46px;
        height: 54px;
        margin-right: 24px;
    }

    .e-deadline div:last-of-type {
        margin-right: 0px;
    }
    
    .e-deadline h3,
    .t-votes h3 {
        font-size: 24px;
        font-weight: 700;
        color: #00010F;
        margin-bottom: 4px;
    }
    
    .e-deadline p,
    .t-votes p {
        font-size: 16px;
    }
    
    .total-votes {
        margin-left: 8px;
        padding-left: 0px;
        border-left: none;
    }
}

@media (max-width: 1200px) {
    .dashboard-sidebar {
        width: 400px;
    }

    .check-details {
        margin-left: 400px;
    }
}

@media (max-width: 1000px) {
    .dashboard-sidebar {
        display: none;
    }

    .check-details {
        margin-left: 0px;
    }

    .db-desktop-header {
        display: none;
    }

    .chd {
        padding: 84px 24px 54px 24px;
    }

    .cd-intro h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .cd-infobox {
        width: auto;
        margin-top: 12px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .info-box {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 20px 20px;
    }

    .election-deadline {
        margin-bottom: 0px;
    }
    
    .election-deadline h4,
    .total-votes h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .e-deadline {
        display: flex;
        align-items: center;
    }
    
    .e-deadline div {
        padding: 16px 22px;
        border-radius: 8px;
        width: 40px;
        height: 40px;
        margin-right: 16px;
    }    
    
    .e-deadline div:last-of-type {
        margin-right: 16px;
    }
    
    .e-deadline h3,
    .t-votes h3 {
        font-size: 18px;
        font-weight: 700;
        color: #00010F;
        margin-bottom: 3px;
    }
    
    .e-deadline p,
    .t-votes p {
        font-size: 14px;
    }
    
    .t-votes {
        padding: 16px 22px;
        border-radius: 12px;
        width: 140px;
        height: 40px;
    }
    
    .total-votes {
        margin-left: 0px;
        padding-left: 16px;
        border-left: 2px solid #FFFFFF;
    }

    .cdvd {
        margin-bottom: 12px;
    }
    
    .cdvd-head h3,
    .cdap-head h3 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 4px;
    }
    
    .cdvd-head p,
    .cdap-head p {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .vd-listitem img,
    .ap-listitem img {
        margin-right: 4px;
        width: 28px;
    }
    
    .vd-listitem p,
    .ap-listitem p {
        font-size: 14px;
        font-weight: 500;
    }
    
    .vd-bold {
        font-weight: bold;
        margin-right: 8px;
    }
    
    .cdap-body {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-gap: 0px 2px;
    }
    
    .cd-cta {
        margin-top: 14px;
        text-align: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .cd-cta a,
    .cd-cta button {
        width: 100%;
        max-width: 500px;
        cursor: pointer;
        height: 40px;
    }
    
    .cd-cta p {
        cursor: pointer;
        background-color: #FF9900;
        padding: 12px 0px;
        border: 1px solid #FF9900;
        border-radius: 8px;
        color: #00010F;
        font-size: 14px;
        font-weight: 600;
        width: 100%;
    }
    
    .cd-cta p:hover {
        background-color: #00010F;
        border: 1px solid #00010F;
        color: #FFFFFF;
        transition: 1s;
    }
}

@media (max-width: 700px) {
    .cd-infobox {
        width: auto;
    }
    
    .info-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .election-deadline {
        margin-bottom: 20px;
    }

    .election-deadline h4,
    .total-votes h4 {
        text-align: center;
    }
    
    .e-deadline div:last-of-type {
        margin-right: 0px;
    }
    
    .total-votes {
        border-left: none;
        margin-left: 0px;
        padding-left: 0px;
    }
}

@media (max-width: 474px) {
    .e-deadline {
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-gap: 16px 16px;
        flex-direction: column;
        align-items: center;
    }

    .e-deadline div {
        margin-right: 0px;
    }

    .t-votes {
        width: 130px;
    }

    .cdap-body {
        display: grid;
        grid-template-columns: repeat(1, 100%);
        grid-gap: 0px;
    }
}



/* CAST VOTE */

.cast-vote {
    margin-left: 480px;
    overflow: hidden;
}

.cav {
    padding: 16px 40px 60px 40px;
}

.cv-candidates-box {
    margin-top: 20px;
    border-radius: 24px;
    border: 2px solid rgba(0, 0, 0, 0.50);
    background: #FFFFFF;
    padding: 24px 28px 12px 28px;
}

.cvcb-head h3 {
    font-size: 20px;
    font-weight: 700;
}

.cvcb-body {
    display: flex;
    justify-content: center;
}

.candidates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.candidate {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #FFFFFF;
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.25);
    padding: 0px;
    width: fit-content;
    margin: 12px 12px;
}

.candidate img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    max-width: 190px;
    padding: 20px 20px 0 20px;
}

.candidate p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 20px;
}

/* Hide the default radio button */
.candidate input[type="radio"] {
    display: none;
}

/* Style the custom radio button container */
.candidate label {
    position: relative;
    padding-left: 10px; /* Space for the custom checkbox */
    cursor: pointer;
    display: inline-block;
    line-height: 1.5;
}

/* Style the custom checkbox */
.candidate label::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    width: 20px; /* Width of the custom checkbox */
    height: 20px; /* Height of the custom checkbox */
    border: 1px solid #00010F; /* Border color */
    background-color: white; /* Background color */
    border-radius: 4px; /* Rounded corners */
}

/* Style the checkmark (hidden by default) */
.candidate input[type="radio"]:checked + label::before {
    content: '\2713'; /* Unicode checkmark character */
    font-size: 18px; /* Font size of the checkmark */
    color: #FF9900; /* Color of the checkmark */
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

/* Change background color of .candidate when radio is checked */
.candidate input[type="radio"]:checked ~ label {
    background-color: rgba(255, 153, 0, 0.9);
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .cast-vote {
        margin-left: 400px;
    }
}

@media (max-width: 1000px) {
    .cast-vote {
        margin-left: 0px;
    }

    .cav {
        padding: 88px 24px 60px 24px;
    }
    
    .cv-candidates-box {
        margin-top: 12px;
        border-radius: 16px;
        padding: 16px 16px 8px 16px;
    }
    
    .cvcb-head h3 {
        font-size: 18px;
        font-weight: 700;
    }
    
    .candidate {
        border-radius: 12px;
        margin: 10px 10px;
    }
    
    .candidate p {
        margin-top: 8px;
        font-size: 14px;
        font-weight: 600;
    }
}

@media (max-width: 440px) {
    .candidate {
        margin: 10px 0px;
    }
}

@media (max-width: 340px) {
    .candidate img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        max-width: 140px;
    }
}



/* VERIFY CHOICES */

.verify-choices {
    margin-left: 480px;
    overflow: hidden;
}

.vrc {
    padding: 24px 40px 60px 40px;
}

.vrc-head {
    margin-bottom: 12px;
}

.vrc-head h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

.vrc-head p {
    font-size: 15px;
    font-weight: 500;
}

.vrc-body {
    margin-bottom: 12px;
}

.vrc-listitem {
    display: flex;
    align-items: center;
}

.vrc-listitem img {
    margin-right: 6px;
    width: 36px;
}

.vrc-listitem p {
    font-size: 16px;
    font-weight: 500;
}

.vrc-null {
    display: none;
    margin-bottom: 14px;
    font-size: 16px;
}

span.divider {
    margin: 0px 14px;
}

span.vrc-cand {
    font-weight: 600;
}

.vrc-ctas {
    display: grid;
    grid-template-columns: repeat(2, 49%);
    grid-gap: 16px;
}

.vrc-cta1 {
    text-align: center;
    display: flex;
    justify-content: flex-end;
}

.vrc-cta2 {
    text-align: center;
    display: flex;
    justify-content: flex-start;
}

.vrc-cta2 button {
    cursor: pointer;
    background-color: #FF9900;
    padding: 12px 0px;
    border: 1px solid #FF9900;
    border-radius: 8px;
    color: #00010F;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vrc-cta1 a,
.vrc-cta2 button {
    width: 100%;
    max-width: 360px;
    cursor: pointer;
}

.vrc-cta1 p {
    cursor: pointer;
    background-color: #FFFFFF;
    padding: 12px 0px;
    border: 1px solid #00010F;
    border-radius: 8px;
    color: #00010F;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.vrc-cta2 p {
    font-size: 16px;
    font-weight: 600;
}

.vrc-cta1 p:hover,
.vrc-cta2 button:hover {
    background-color: #00010F;
    border: 1px solid #00010F;
    color: #FFFFFF;
    transition: 1s;
}

@media (max-width: 1200px) {
    .verify-choices {
        margin-left: 400px;
    }
}

@media (max-width: 1000px) {
    .verify-choices {
        margin-left: 0px;
    }

    .vrc {
        padding: 88px 24px 60px 24px;
    }
    
    .vrc-head {
        margin-bottom: 10px;
    }
    
    .vrc-head h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 2px;
    }
    
    .vrc-head p {
        font-size: 14px;
    }
    
    .vrc-body {
        margin-bottom: 12px;
    }
    
    .vrc-listitem img {
        margin-right: 4px;
        width: 28px;
    }
    
    .vrc-listitem p {
        font-size: 14px;
    }

    .vrc-null {
        display: none;
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    span.divider {
        margin: 0px 10px;
    }
    
    .vrc-ctas {
        display: grid;
        grid-template-columns: repeat(2, 49%);
        grid-gap: 12px;
    }
    
    .vrc-cta1 {
        height: 40px;
    }
    
    .vrc-cta2 {
        height: 40px;
    }
    
    .vrc-cta1 p {
        font-size: 14px;
        font-weight: 600;
        width: 100%;
    }
    
    .vrc-cta2 button,
    .vrc-cta2 p {
        font-size: 14px;
        font-weight: 600;
        width: 100%;
    }
    
    .vrc-cta1 p:hover,
    .vrc-cta2 button:hover {
        background-color: #00010F;
        border: 1px solid #00010F;
        color: #FFFFFF;
        transition: 1s;
    }
}

@media (max-width: 580px) {
    .vrc-ctas {
        display: block;
    }

    .vrc-cta1 {
        justify-content: center;
    }
    
    .vrc-cta2 {
        justify-content: center;
    }

    .vrc-cta1 {
        margin-bottom: 12px;
    }

    .vrc-listitem {
        margin-bottom: 6px;
    }
}



/* ELECTION RESULT */

.election-results {
    margin-left: 480px;
    overflow: hidden;
}

.elr {
    padding: 24px 40px 60px 40px;
}

.elr-total h4 {
    font-size: 16px;
    font-weight: 600;
}

.elrb-head {
    margin-bottom: 16px;
}

@media (max-width: 1200px) {
    .election-results {
        margin-left: 400px;
    }
}

@media (max-width: 1000px) {
    .election-results {
        margin-left: 0px;
    }

    .elr {
        padding: 88px 24px 60px 24px;
    }

    .elrb-head {
        margin-bottom: 12px;
    }
}