

body, html {
    
    
  }




.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    background: rgb(0 0 0 / 91%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }


  .spinner {
    margin: 0 auto 20px;
    /* border: 6px solid rgba(255, 255, 255, 0.3); */
    /* border-top: 6px solid white; */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 5s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  .overlay-content {
    text-align: center;
  }

  .overlay-text {
    font-size: 1.5em;
    margin-bottom: 0.5em;
  }

  .overlay-timer {
    font-size: 3em;
    font-weight: bold;
  }


  .login-container {
    background-color: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    /* max-width: 500px; */
  }

  .login-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #333;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 0.95rem;
  }

  .form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.3s;
  }

  .form-group input:focus {
    border-color: #667eea;
    outline: none;
  }

  .login-button {
    width: 100%;
    padding: 12px;
    background-color: #02066F;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .login-button:hover {
    /* background-color: #02066F; */
    opacity: 0.8;
  }

  .login-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .login-footer a {
    color: #667eea;
    text-decoration: none;
  }

  .login-footer a:hover {
    text-decoration: underline;
  }

  @media (max-width: 500px) {
    .login-container {
      padding: 30px 20px;
    }
  }


  .vot-spacing{
    margin-top:20px;
    margin-bottom: 50px;
  }

  .main-dashbaord {
    text-align: center !important;
  }

  .main-dashbaord {
    /* position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      text-align: center; */
  }


  /* .choice-item.taken {
    opacity: 0.5;
    pointer-events: none;
} */

/* Container */
.box-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Back Box */
.box-back {
  position: absolute;
  width: 80%;
  height: 110px;
  background-color: #f0f0f0;
  border-radius: 20px;
  top: calc(50% + 10px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.5s ease;
  /* transition: margin-top 3s ease; */
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* Front Box */
.box-front {
  position: absolute;
  width: 90%;
  height: 110px;
  background-color: white;
  /* border: 2px solid #e0e0e0; */
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* font-family: 'Arial', sans-serif; */
  z-index: 1;
  /* opacity: 0;
  transform: translateY(30px);
  animation: slideUp 5s forwards; */
  transition: margin-top 0.5s ease;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* Content */
.content .title {
  font-size: 26px;
  font-weight: bold;
  color: black;
}

.content .subtitle {
  font-size: 13px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
  /* margin-top: 5px; */
}

/* Icon */
.icon {
  background: linear-gradient(to left, #0019ff, #4a90e2); /* right to left */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.icon span {
  color: white;
  font-size: 24px;
}

/* Hover effect to fade out back box */
.box-wrapper:active .box-front { 
  /* bottom:2px; */
  margin-top:10px; 
}

.box-wrapper:active .box-back {
  opacity: 0;
}

.box-wrapper:hover .icon { 
  background:  linear-gradient(to right, #0019ff, #4a90e2);
}

/* Slide animation */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

 
/* Smooth rounded modal with soft shadow */
.custom-modal .modal-content {
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 1.5rem;
  transition: all 0.3s ease-in-out;
}

/* Modal header & footer spacing */
.modal-header,
.modal-footer {
  border: none;
  padding: 1rem 1.5rem;
}

/* Modal body spacing */
.modal-body {
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  color: #333;
}

/* Vertically center the modal */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

/* Optional: smooth background fade */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translateY(-20px);
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
} 



.admin_users button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  background-color: #2e86de;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.admin_users button:hover {
  background-color: #1e70c1;
}

.admin_users {
  margin-top:100px;
}

.admins_users button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  background-color: #2e86de;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.admins_users button:hover {
  background-color: #1e70c1;
}



 
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.results-table thead {
    background-color: #f0f4f8;
}

.results-table th, .results-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e6ed;
}

.results-table tbody tr:nth-child(even) {
    background-color: #f9fbfc;
}

.results-table tbody tr:hover {
    background-color: #eef5fa;
} 