@font-face {
    font-family: 'Seven Segment';
    src: url('Assets/SevenSegment.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.icon-btn {
    background-color: #4073A5; /* Button background color */
    color: white; /* Icon color */
    border-radius: 50%; /* Circle shape */
    width: 80px;
    height: 80px;
    border: none; /* Remove default border */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.1); /* Adjust the values for shadow */
}

.icon-btn-animation {
    -webkit-animation: pulse 1.5s infinite ease-in-out;
    -moz-animation: pulse 1.5s infinite ease-in-out;
    -o-animation: pulse 1.5s infinite ease-in-out;
    animation: pulse 1.5s infinite ease-in-out;
}

.icon-btn:hover {
    background-color: #DEEAF7; /* Darker color on hover */
    cursor: pointer;
}

.bi {
    font-size: 3rem; /* Adjust icon size */
}

.e-spinner-pane .e-spinner-inner .e-spin-bootstrap5 {
    stroke: #4073A5;
}

.rounded-frame {
    border-radius: 15px; /* Adjust the value for roundness */
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.1); /* Adjust the values for shadow */
    border-width: thin;
    border-color: gray;
    padding: 20px;
    background-color: white;
    border: 3px solid #4073A5;
}

.rounded-frame-register {
    border-radius: 15px; /* Adjust the value for roundness */
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.1); /* Adjust the values for shadow */
    border-width: 0px;
    border-color: gray;
    padding: 20px;
    background-color: white;
    border: 0px;
}

.rounded-frame-label {
    border-radius: 30px; /* Adjust the value for roundness */
    box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.1); /* Adjust the values for shadow */
    border-width: thin;
    border-color: gray;
    background-color: white;
    border: 1px solid #4073A5;
}

.vh-100 {
    min-height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}


body, html {
    margin: 0;

    padding: 0;
    height: 100%;
    overflow: hidden; /* Prevents the entire page from scrolling */
}

.candidate-name {
    font-size: large;
    color: #467CB2;
    display: block;
    text-align: left;
}

.radio-size {
    width: 50px;
    height: 50px;
}

input[type="radio"]:checked {
    background-color: #4073A5; /* Green background */
    border-color: #4073A5; /* Green border */
}

input[type="checkbox"]:checked {
    background-color: #4073A5; /* Green background */
    border-color: #4073A5; /* Green border */
}

.toggle-button {
    padding: 10px 20px;
    border-radius: 40px;
    border: 2px solid #4073A5;
    background-color: white;
    color: #4073A5;
    font-size: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
    height: 80px;
}

    .toggle-button.selected {
        background-color: #4073A5;
        color: white;
        border: 2px solid #4073A5;
    }

    .toggle-button:hover {
        opacity: 0.8;
    }

.label-container {
    display: flex; /* Ensures labels are side by side */
    align-items: center; /* Aligns labels vertically */
}

.me-3 {
    margin-right: 1rem; /* Adds space between labels */
}

.custom-btn {
    background-color: #4073A5;
    color: white; /* Matches the header's blue color */
    
    font-weight: bold;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    border-radius: 30px;
    transition: all 0.3s ease;
    width: 120px;
    height: 60px;
    font-size: x-large;
    
}

.custom-dialog-btn {
    background-color: white;
    color: #4073A5; /* Matches the header's blue color */
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    border: 2px solid #4073A5;
    transition: all 0.3s ease;
    width: 100px;
    height: 50px;
    font-size: large;
}

.custom-btn:hover {
    background-color: lightgray;
    color: #4073A5;
}

.btn-label1 {
    color: white;
    font-size: x-large;
    display: block;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-label2 {
    color: white;
    font-size: xx-large;
    display: block;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.label-overlay {
    position: absolute;
    top: 145px; /* Adjust to sit between header & content */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 1000; /* Ensures it's above other elements */
    display: flex;
    align-items: center;
}

.label-overlay-register {
    position: absolute;
    top: 210px; /* Adjust to sit between header & content */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 1000; /* Ensures it's above other elements */
    display: flex;
    align-items: center;
}

.btn-label-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 50px;
    border-radius: 40px;
    background-color: white;
    color: #4073A5;
    font-size: large;
    font-weight: bold;
    text-shadow: none;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    border: 1px solid #4073A5;
}
.btn-label-circle-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 50px;
    border-radius: 40px;
    background-color: white;
    color: #4073A5;
    font-size: xx-large;
    font-weight: bold;
    text-shadow: none;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    border: 1px solid #4073A5;
}

.header {
    position: fixed; /* Fixes the header at the top */
    top: 0;
    left: 0;
    right: 0;
    background-color: #DEEAF7;
    display: flex;
    align-items: center;
    justify-content: safe center;
    padding-bottom: 40px;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    z-index: 1000; /* Ensures the header stays on top */
    height: 180px; /* Adjust header height */
}

.content-below-header {
    margin-top: 200px; /* Adds top margin to push content below the header */
    padding: 20px;
    background-color: white;
    height: calc(100vh - 200px); /* Takes up remaining height below the fixed header */
    overflow-y: auto; /* Allows scrolling for the content */
}

.header-image {
    width: 110px; /* Adjust image size */
    height: 110px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    border-radius: 20px;
}

.table {
    width: 430px; /* Set the width of the table */
    margin: 0 auto; /* Centers the table horizontally */
    border-collapse: collapse; /* Collapses borders to create a cleaner look */
}

    .table td, .table th {
        /* padding: 10px; Adds padding inside table cells */
        text-align: left; /* Centers the text inside the cells */
    }

    .table tr {
        border-bottom: 1px solid #ddd; /* Horizontal border between rows */
    }

    .table td, .table th {
        border-left: none; /* Remove vertical borders on the left */
        border-right: none; /* Remove vertical borders on the right */
    }

.photo-image {
    width: 100px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    border-radius: 20px;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.text-center {
    text-align: center;
}


@-webkit-keyframes pulse { /* Safari and Chrome */
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {
    0% {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@-o-keyframes pulse {
    0% {
        -o-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -o-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}
