:root {
  --text: rgb(255, 255, 255); 
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background: #000; 
  color: var(--text); 
}

.app {
  background: #333; 
  width: 90%;
  max-width: 600px;
  margin: 100px auto 0;
  border-radius: 10px;
  padding: 30px;
  color: var(--text); 
}

.app h1 {
  font-size: 25px;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--text);
  padding-bottom: 30px;
  text-align: center;
}

.quiz-section {
  display: none;
  padding: 20px 0;
}

.quiz-section h2 {
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
}

.btn {
  background: #444;
  color: var(--text); 
  font-weight: 500;
  width: 100%;
  border: 1px solid var(--text);
  padding: 10px;
  margin: 10px 0;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.btn:hover:not([disabled]) {
  background: var(--text); 
  color: #000; 
}

.btn:disabled {
  cursor: no-drop;
}

#next-btn {
  background: var(--text); 
  color: #000; 
  font-weight: 500;
  width: 150px;
  border: 0;
  padding: 10px;
  margin: 20px auto 0;
  border-radius: 4px;
  cursor: pointer;
  display: none;
}

.correct {
  background: #9aeabc;
}

.incorrect {
  background: #ff9393;
}

#creator-form .question-block {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #555; 
  border-radius: 5px;
  background: #444; 
}

#creator-form .question-block label {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

#creator-form .question-block input[type="text"],
#creator-form .question-block input[type="number"] {
  width: calc(100% - 20px);
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #555; 
  border-radius: 5px;
  background: #333; 
  color: var(--text); 
}

.quiz-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.delete-btn {
  width: auto;
  margin-left: 10px;
  flex-shrink: 0;
}

.celebration {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333; 
  color: var(--text); 
  padding: 20px;
  border: 2px solid var(--text);
  border-radius: 10px;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); 
}
