@font-face {
  font-family: "Roboto-extrabold";
  src: url("fonts/Roboto-ExtraBold.woff2") format("woff2"),
    url("fonts/Roboto-ExtraBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-black";
  src: url("fonts/Roboto-Black.woff2") format("woff2"),
    url("fonts/Roboto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-bold";
  src: url("fonts/Roboto-Bold.woff2") format("woff2"),
    url("fonts/Roboto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-extralight";
  src: url("fonts/Roboto-ExtraLight.woff2") format("woff2"),
    url("fonts/Roboto-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-light";
  src: url("fonts/Roboto-Light.woff2") format("woff2"),
    url("fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-medium";
  src: url("fonts/Roboto-Medium.woff2") format("woff2"),
    url("fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-regular";
  src: url("fonts/Roboto-Regular.woff2") format("woff2"),
    url("fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-semibold";
  src: url("fonts/Roboto-SemiBold.woff2") format("woff2"),
    url("fonts/Roboto-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto-thin";
  src: url("fonts/Roboto-Thin.woff2") format("woff2"),
    url("fonts/Roboto-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100% !important;
}

input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="email"],
input[type="tel"],
textarea,
.input-checkbox {
  outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0px;
}

input:focus {
  outline: 0;
}

textarea:focus {
  outline: 0;
}

button:focus {
  outline: 0;
}

a {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.5s ease;
}

a:focus,
a:hover {
  text-decoration: none;
  outline: 0;
}

.TC {
  text-align: center;
}

.TL {
  text-align: left;
}

.TR {
  text-align: right;
}

.margin_auto {
  margin: auto;
  float: none;
}

.padding {
  padding: 0;
}

.al {
  width: 100%;
  height: 100%;
  display: table;
}

.alm {
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}

abbr[title] {
  border-bottom: none !important;
  cursor: inherit !important;
  text-decoration: none !important;
}

body {
  background-color: #fff;
  font-family: "Sora-regular";
}

.jcc {
  justify-content: center;
}
.jsb {
  justify-content: space-between;
}
.aic {
  align-items: center;
}

.d-flex {
  flex-wrap: wrap;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  text-align: center;
}

.voting-section {
  width: 100%;
  max-width: 50%;
  margin: auto;
}
/* Timer */
.timer-box {
  text-align: center;
  margin: 20px 0;
}
#timer {
  font-size: 22px;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  font-family: "Roboto-regular";
}

/* Candidates */
.candidates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}
.candidate {
  border-radius: 12px;
  width: 330px;
  cursor: pointer;
}
.candidate img {
  width: 100%;
  border-radius: 12px !important;;
}
.candidate label {
  display: block;
  margin-top: 10px;
  cursor: pointer;
  font-size: 20px;
  font-family: "Roboto-regular";
  color: #0a2754;
}

/* Button */
.voting-section .btn {
  background: #0a2754;
  color: #fff;
  border: none;
  padding: 12px 5px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  border: 1px solid #0a2754;
  transition: all ease-in-out 0.5s;
  font-family: "Roboto-regular";
  width: 100%;
}
.btn:hover {
  background: transparent;
  color: #0a2754;
}

/* Popup Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 510px;
  text-align: center;
  animation: slideDown 0.4s ease;
}
.popup h2 {
  margin-bottom: 30px;
  font-family: "Roboto-regular";
  font-size: 20px;
  color: #0a2754;
}
.popup button {
  margin: 10px;
}
.popup img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.timer-box p {
  font-family: "Roboto-regular";
  font-size: 16px;
}

video#candidateVideo {
  width: 100%;
  border-radius: 30px;
}
.popup-btn {
  display: flex;
}
.btn.close {
  background-color: #aeb7ef;
  color: #0a2754;
  border: 1px solid #aeb7ef;
}
.btn.close:hover {
  background-color: transparent;
}

.candidate-selection .checkbox-group {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
  margin-bottom: 5px;
  margin-top: 30px;
}
.candidate-selection input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.candidate-selection .btn {
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.candidate-selection .btn-back {
  background-color: #aeb7ef;
  color: #0a2754;
  border: 1px solid #aeb7ef;
  margin-right: 15px;
  font-family: "Roboto-regular";
  font-size: 16px;
  transition: all ease-in-out 0.5s;
}

.candidate-selection .btn-confirm {
  background: #0a2754;
  color: white;
  font-family: "Roboto-regular";
  font-size: 16px;
  transition: all ease-in-out 0.5s;
  border: 1px solid #0a2754;
}

.candidate-selection .btn-confirm:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.candidate-selection .btn-back:hover,
.candidate-selection .btn-confirm:hover {
  background-color: transparent;
  color: #0a2754;
}

.modals-popup {
  padding: 50px 30px;
}
.modal-header {
  border-bottom: 0px;
}
.modal-footer {
  border-top: 0px;
      justify-content: center;

}
.modal-body {
    border: 0px;
    padding: 50px 30px 10px;
}

.modal-body h2 {
  font-size: 24px;
  color: #0a2754;
  margin-bottom: 10px;
  font-family: "Roboto-regular";
}

.modal-body h3 {
  font-size: 20px;
  color: #0a2754;
  margin-bottom: 10px;
  font-family: "Roboto-regular";
}


.modal-body p 
{
  font-size: 15px;
  color: #0a2754;
  margin-bottom: 25px;
  font-family: "Roboto-regular";
}
.modal-body a
{
  
  font-size: 15px;
  color: #0a2754;
  margin-bottom: 25px;
  font-family: "Roboto-regular";
  text-align: left;
  display: block;
    width: 100%;
}
.modal-content

{
   border-radius: 20px;
}
/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #1a2b57;

}

.checkbox input {
    width: 25px;
    height: 25px;
    border-radius: 40px;
}

.checkbox  label
{
   font-size: 15px;
  color: #0a2754;
 
  font-family: "Roboto-regular";
}

button.btn.btn-secondary.back {
    background-color: #aeb7ef;
    color: #0a2754;
    border: 1px solid #aeb7ef;
    margin-right: 15px;
    font-family: "Roboto-regular";
    font-size: 16px;
    width: 40%;
    transition: all ease-in-out 0.5s;
}

button.btn.btn-primary.confirm {
  background: #0a2754;
  color: white;
  font-family: "Roboto-regular";
  font-size: 16px;
  transition: all ease-in-out 0.5s;
  border: 1px solid #0a2754;
    width: 40%;
}
button.btn.btn-primary.home {
    background: #0a2754;
    color: white;
    font-family: "Roboto-regular";
    font-size: 16px;
    transition: all 
ease-in-out 0.5s;
    border: 1px solid #0a2754;
    width: 40%;
    margin: 0px auto 20px;
}
button.btn.btn-secondary.back:hover,
button.btn.btn-primary.confirm:hover ,
button.btn.btn-primary.home:hover {
  background-color: transparent;
  color: #0a2754;
}

.check-img {
    width: 100%;
    margin-bottom: 20px;
}
.check-img img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.thankyou-modal
{
 padding: 50px 0px;
}

.thankyou-modal .modal-body p {

  margin-top: 30px;
}

.modal-body p {

  font-size: 15px;
   margin-top: 30px;
}

.thank-you-line h4
{
   background-color: #4DAE4F;
  color: white;
  font-family: "Roboto-regular";
  font-size: 16px;
  padding: 20px 15px;
  border-radius: 12px;
  margin-top: 20px;
  
}

.candidate{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28%;
}
.candidate .checkbox {
    position: absolute;
    bottom: 10%;
    left: 40%;
    border: 0px;
    border-radius: 50%;
    background-color: #ffffff50;
}

.candidate .checkbox input {
  width: 40px;
  height: 40px;
  border: 0px ;
  border-radius: 50%;
  background-color: #ffffff50;
}

.candidate.selected {
    border: 2px solid #007bff;
    background: #f0f8ff;
}

.modal-backdrop.show {
    --bs-backdrop-zindex: 1 !important;
}
.time-unit {
    padding: 10px;
}
.countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#candidateOverlay{
  padding:20px 0;
  max-height: 100%;
  height: 100vh;
  overflow-y: auto;
}
.modal-content.thankyou-modal {
    text-align: center;
}
.modal-content.voting-complete {
    text-align: center;
}