body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100vw;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e1f22 0%, #2c2f33 100%);
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.timer {
  position: fixed;
  top: 20px;
  left: 20px;

  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.4rem;
  color: #fff;
  z-index: 1000;
  line-height: 60px;
  transform: translate(2px, 2px);
}


.background-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.light {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(242, 88, 88, 0.3);;
  filter: blur(120px);
  animation: pulse 6s ease-in-out infinite alternate;
}

.light.one {
  top: 10%;
  left: 15%;
}

.light.two {
  bottom: 20%;
  right: 10%;
}

.light.three {
  top: 40%;
  right: 30%;
  
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}
#main-blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
}

.popup {
  z-index: 10000;
}

.user-profile {
  z-index: 1001;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(44, 47, 51, 0.9);
  border-radius: 32px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 72px 48px;
  width: 100%;
  max-width: 1050px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 2.2rem;
  color: #00b7ff;
  margin-bottom: 24px;
  font-weight: 600;
}

.test-select-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.test-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.test-btn {
  flex: 1 1 200px;
  padding: 20px 0;
  font-size: 1.25rem;
  background: linear-gradient(90deg, #00b7ff 0%, #2600ff 100%);
  color: #fff;
  border: 0px solid rgba(180, 0, 32, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  cursor: pointer;
  transition: all 0.4s ease;
  min-width: 180px;
}
.test-btn.selected {
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.644);
  transform: translateY(-2px);
  animation: button-glow 1.5s ease-in-out infinite alternate;
}
.test-btn:hover {
  background: linear-gradient(90deg, #00b7ff 0%, #2600ff 100%);
  box-shadow: 0 0 20px rgba(255, 145, 0, 0.3),
              0 0 25px rgba(255, 145, 0, 0.2);
  transform: translateY(-2px);
}



@keyframes button-glow {
  0% { box-shadow: 0 0 10px rgba(180, 0, 32, 0.3); }
  100% { box-shadow: 0 0 25px rgba(180, 0, 32, 0.5); }
}
.code-section {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  margin-left: 10px;
  justify-content: center;
  margin-right: 15px;
}

.code-section input[type="text"] {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  width: 200px;
  text-align: center;
}

.code-section button {
  background: linear-gradient(90deg, #00b7ff 0%, #2600ff 100%);
  color: #fff;
  border: 0px solid rgba(95, 218, 105, 0.459);
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}

.code-section button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 400px;
  align-items: center;
  margin: 0 auto;
}


.start-btn {
  background: linear-gradient(90deg, #3cff00 0%, #218602 100%);
  color: #fff;
  border: 1px solid rgba(95, 218, 105, 0.459);
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
  width: 100%;
}

.start-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.next-btn {
  background: linear-gradient(90deg, #00b7ff 0%, #2600ff 100%);
  color: #fff;
  border: 0px solid rgba(95, 218, 105, 0.459);
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}

.defer-btn {
  background: linear-gradient(90deg, #00b7ff 0%, #2600ff 100%);
  color: #fff;
  border: 0px solid rgba(95, 218, 105, 0.459);
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}

.defer-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.learn-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 14px 24px;
  text-decoration: none;
  transition: all 0.4s ease;
    width: 87%;
}

.learn-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}


.user-profile {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(44, 47, 51, 0.95);
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ff6b6b;
}

.user-profile span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.question-header {
  color: aliceblue;
    font-size: 24px;
}
.notification-badge {
  background: #ff6b6b;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.75rem;
  margin-left: 8px;
}


.question-card {
  background: rgba(44, 47, 51, 0.95);
  border-radius: 24px;
  padding: 32px;
  margin: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  min-height: 220px;
  min-width: 1200px;    
  max-width: 1200px;    
  width: 100%;          
  box-sizing: border-box; 
}


.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px; /* ← Adaugă aici mărimea dorită */
  font-weight: 500;
}

.option-btn:hover {
  background: rgba(255, 121, 12, 0.3);
  transform: translateY(-2px);
}

.option-btn.selected {
  background: rgba(255, 121, 12, 0.3)!important;
  border-color: rgba(255, 121, 12, 0.6);
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 20px 0;
}

.progress-fill {
  background: linear-gradient(90deg, #00b7ff 0%, #2600ff 100%);
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}
#status {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 47, 51, 0.95);
  color: #ff6b6b;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 80%;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

#status::before {
  content: '❗';
  margin-right: 8px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: rgba(44, 47, 51, 0.95);
  padding: 32px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  text-align: center;
}

.popup-close {
  background: rgba(17, 79, 214, 0.459);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup h3 {
  color: #00b7ff !important;
  margin-bottom: 16px;
}

.popup p {
  color: #fff !important;
  font-size: 1.1rem;
}

.light {
  background: rgba(242, 88, 88, 0.3);
}

.light.two {
  background: rgba(180, 0, 32, 0.3);
}

.result-card {
  width: 80%;
  height: 60%;
  background: rgba(44, 47, 51, 0.95);
  border-radius: 60px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.result-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: aliceblue;
}

.result-card p {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: aliceblue;
}

.result-card.passed h2 {
  color: #4CAF50;
}

.result-card.failed h2 {
  color: #f44336;
}

.result-card.passed {
  background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
}

.result-card.failed {
  background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
}
h1, h2, h3 {
  font-weight: 500;
  color: aliceblue;
}

.result-card button {
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 16px; /* ← adaugă linia asta sau ajustează după preferință */
}
.background-image-rotator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

@media (max-width: 768px) {
  .main-container {
    padding: 24px 16px;
    border-radius: 16px;
  }
  
  .test-buttons {
    gap: 22px;
  }
  
  .test-btn {
    font-size: 1rem;
    padding: 16px 0;
    min-width: 120px;
  }
  
  .code-section input,
  .code-section button {
    width: 100%;
    margin: 8px 0;
  }
  
  .subtitle {
    font-size: 1.8rem;
  }

  
  .code-section button {
    width: 100%;
  }
    .user-profile {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
  }
  
  .user-profile img {
    width: 28px;
    height: 28px;
  }
  
  .user-profile span {
    font-size: 0.9rem;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #2b2b2b;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  min-width: 350px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.popup-content h3 {
  color: orange;
  margin-bottom: 15px;
  font-weight: bold;
}

.popup-content p {
  color: white;
}

.popup-input {
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background-color: #121212;
  color: white;
  font-size: 14px;
}

.styled-btn {
  padding: 12px 24px;
  min-width: 120px;
  text-align: center;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

.primary-btn {
  background: linear-gradient(to right, #00b7ff, #2600ff);
  color: white;
}

.secondary-btn {
  background: linear-gradient(to right, #00b7ff, #2600ff);
  color: white;
}

.orange-btn {
  background: linear-gradient(to right, #00b7ff, #2600ff);
  color: white;
  font-weight: bold;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 140px;
  height: 45px;                /* <- fixăm și înălțimea */
  text-align: center;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;         /* <- centrăm vertical textul */
  justify-content: center;     /* <- centrăm orizontal textul */
}



