* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Tahoma, Arial;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}
:root {
  --background: #fff;
  --padding: 20px;
  --linear-background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --radius: 30px;
}
.quiz-app {
  margin: 20px auto;
  max-width: 800px;
  width: 100%;
  padding: 15px;
  background-color: #f8f8f8;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.quiz-app .quiz-info {
  display: flex;
  justify-content: space-between;
  background: var(--linear-background);
  padding: var(--padding);
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.quiz-app .quiz-area {
  background-color: var(--background);
  padding: var(--padding);
  margin: 15px 0 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.quiz-app .answers-area {
  background-color: var(--background);
  padding: var(--padding);
  border-radius: 0 0 var(--radius) var(--radius);
}
.quiz-app .answers-area .answer {
  background: var(--linear-background);
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.answer input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e0;
  border-radius: 50%;
  margin-right: 5px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}
.answer input[type="radio"]:checked {
  border-color: #667eea;
  background: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.answer input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.answer label {
  font-size: 17px;
  color: #4a5568;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
}
.submit-btn {
  display: block;
  width: calc(100% - 60px);
  margin: 30px;
  padding: 18px 30px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.bullets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}
.bullets .spans {
  display: flex;
  flex-wrap: wrap;
}
.bullets .spans span {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: white;
  border: 3px solid #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #4a5568;
  transition: all 0.3s ease;
  margin-right: 5px;
}
.bullets .spans .on {
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.quiz-app .results {
  font-size: 24px;
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  margin: 20px;
  border-radius: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.quiz-app .results span {
  font-weight: bold;
}
.quiz-app .results .bad {
  color: #f56565;
}
.quiz-app .results .good {
  color: #ecc94b;
}
.quiz-app .results .perfect {
  color: #48bb78;
}
