body{
    background-color: #171720 !important;
    background-image:url(images/PYRAND\ VOID\ BLASTER\ GAME.png);
    background-position: center;
    background-size: cover;
     font-family: "Goldman", sans-serif;
}


/* Login/Auth Styles */
    .login-card {
      background: #E6E6E2;
      border: 2px solid rgb(123, 109, 249);
      border-radius: 12px;
      box-shadow: 0px 0px 12px rgb(123, 109, 249);
      max-width: 400px;
      margin: 0 auto;
      margin-top: 40px;
    }

    .loading-spinner {
      border: 3px solid rgba(40, 167, 69, 0.3);
      border-top: 3px solid #28a745;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .icon-wrapper {
      background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(34, 136, 56, 0.1));
      border-radius: 50%;
      padding: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .animate-fade-in {
      animation: fadeIn 0.6s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }



/* Header Card */
.header-card {
    width: 100%;
  border: 2px solid rgb(123, 109, 249);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Logout Button */
.logout-btn {
  color: #e74c3c;   /* light red text */
  font-weight: 500;
  border: none;
  background: transparent;
}

.logout-btn i {
  color: #e74c3c;   /* same icon color */
}

.logout-btn:hover {
  color: #c0392b;
}

.logout-btn:hover i {
  color: #c0392b;
}


/* Typing Animation (looping) */
/* .typing-text {
  font-size: 28px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #cb2929;
  animation: typing 3s steps(12, end) infinite,
             blink 0.7s infinite;
} */

@keyframes typing {
  0% { width: 0 }
  40% { width: 12ch }   /* full text typed */
  60% { width: 12ch }   /* hold for a moment */
  100% { width: 0 }     /* erase */
}

@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #cb2929 }
}

.poll-card-1 {
    width: 100%;
  background: #E6E6E2;
  border: 2px solid #cb2929;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.poll-card {
  background: #E6E6E2;
  border: 2px solid #cb2929;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Blinking green dot */
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28a745;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

#pollsRecord{
    border: 2px solid rgb(123, 109, 249);
    border-radius: 12px;
    background-color: #000;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-right: 45px !important;
    padding-left: 45px !important;
}

.poll-creation{
     border: 2px solid rgb(123, 109, 249);
    border-radius: 12px;
    padding: 20px;
    background-color: #000;
}

.card{
    border: 2px solid rgb(123, 109, 249);
    border-radius: 12px;
}


@media (max-width:768px){
    .stats{
        margin-top: 20px;
    }
}