:root {
  --fs-26-60: clamp(26px, 2.5297vw + 11.43px, 60px) !important;
  --fs-20-42: clamp(20px, 1.636vw + 10.5766px, 42px) !important;
  --fs-16-32: clamp(16px, 9.15px + 1.19vw, 32px) !important;
  --fs-12-24: clamp(12px, 6.8576px + 0.8928vw, 24px) !important;
  --fs-12-20: clamp(12px, 0.595vw + 8.57px, 20px) !important;
  --fs-12-18: clamp(12px, 0.44vw + 9.43px, 18px) !important;
  --fs-12-16: clamp(12px, 10.29px + 0.297vw, 16px) !important;
  --fs-10-16: clamp(10px, 8.525px + 0.3703vw, 16px) !important;
  --primary-bg: #f5f4ed;
  --secondary-bg: #ffc62f;
  --accent-yellow: #ffdb4d;
  --dark-yellow: #e6b82a;
  --text-dark: #333333;
  --text-light: #2c2c2c;
  --shadow-color: rgba(255, 198, 47, 0.3);
}

.tools-parent-container {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.tools-parent-container .container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.tools-parent-container {
  /* Header Styles */
}
.tools-parent-container header {
  background: linear-gradient(90deg, #ffd166 0%, #ffb347 100%);
  color: #333;
  text-align: center;
  padding: 30px 20px;
  border-bottom: 5px solid #ff9a3c;
}
.tools-parent-container .header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.tools-parent-container .header-icon {
  width: 50px;
  height: 50px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}
.tools-parent-container header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.tools-parent-container .subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}
.tools-parent-container {
  /* Main Content Styles */
}
.tools-parent-container main {
  padding: 30px;
}
.tools-parent-container {
  /* Quiz Container */
}
.tools-parent-container .quiz-container,
.tools-parent-container .results-container {
  padding: 20px 0;
}
.tools-parent-container .hidden {
  display: none;
}
.tools-parent-container {
  /* Progress Section */
}
.tools-parent-container .progress-section {
  margin-bottom: 30px;
}
.tools-parent-container .progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
  color: #555;
}
.tools-parent-container #progress-percent {
  color: #4dabf7;
  font-size: 1.1rem;
}
.tools-parent-container .progress-bar {
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
}
.tools-parent-container .progress {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  width: 0%;
  transition: width 0.5s ease;
}
.tools-parent-container {
  /* Question Container */
}
.tools-parent-container #question-container {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  border-left: 5px solid #ffb347;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.tools-parent-container .question-text {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  line-height: 1.5;
}
.tools-parent-container .question-number {
  background-color: #ffb347;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
.tools-parent-container {
  /* Options Styling */
}
.tools-parent-container .options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tools-parent-container .option {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background-color: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tools-parent-container .option:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.tools-parent-container .option input {
  display: none;
}
.tools-parent-container .option-label {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  cursor: pointer;
  font-size: 1.1rem;
}
.tools-parent-container .checkmark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.tools-parent-container .option.selected {
  background-color: #e8f4fd;
  border-color: #4dabf7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(77, 171, 247, 0.2);
}
.tools-parent-container .option.selected .checkmark {
  background-color: #4dabf7;
  border-color: #4dabf7;
}
.tools-parent-container .option.selected .checkmark::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
}
.tools-parent-container {
  /* Button Styles */
}
.tools-parent-container .btn {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.tools-parent-container .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.tools-parent-container .btn-icon {
  width: 20px;
  height: 20px;
}
.tools-parent-container .btn-primary {
  background: linear-gradient(90deg, #4dabf7, #339af0);
  color: white;
}
.tools-parent-container .btn-primary:hover {
  background: linear-gradient(90deg, #339af0, #228be6);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(52, 152, 219, 0.3);
}
.tools-parent-container .btn-secondary {
  background-color: #f1f3f4;
  color: #333;
}
.tools-parent-container .btn-secondary:hover {
  background-color: #e4e6e8;
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}
.tools-parent-container .btn-submit {
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.tools-parent-container .btn-submit:hover {
  background: linear-gradient(90deg, #ff5722, #f44336);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(244, 67, 54, 0.3);
}
.tools-parent-container .quiz-controls,
.tools-parent-container .result-controls {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}
.tools-parent-container {
  /* Tips Section */
}
.tools-parent-container .tips-section {
  background-color: #f0f9ff;
  padding: 25px;
  border-radius: 15px;
  margin-top: 40px;
  border-left: 5px solid #4dabf7;
}
.tools-parent-container .tips-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.tools-parent-container .section-icon {
  width: 30px;
  height: 30px;
}
.tools-parent-container .tips-section h3 {
  color: #333;
  font-size: 1.5rem;
}
.tools-parent-container .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.tools-parent-container .tip-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.tools-parent-container .tip-card:hover {
  transform: translateY(-5px);
}
.tools-parent-container .tip-card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #339af0;
}
.tools-parent-container .tip-icon {
  width: 24px;
  height: 24px;
}
.tools-parent-container {
  /* Results Container */
}
.tools-parent-container .result-header {
  text-align: center;
  margin-bottom: 40px;
}
.tools-parent-container .result-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.tools-parent-container .result-header h2 {
  color: #333;
  font-size: 2.2rem;
}
.tools-parent-container .result-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
.tools-parent-container {
  /* Stress Meter */
}
.tools-parent-container .meter-container {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 40px;
}
.tools-parent-container .meter {
  max-width: 700px;
  margin: 0 auto;
}
.tools-parent-container .meter-scale {
  margin-bottom: 20px;
}
.tools-parent-container .meter-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 600;
  color: #555;
}
.tools-parent-container .meter-bar {
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.tools-parent-container .meter-color-segments {
  display: flex;
  height: 100%;
  width: 100%;
}
.tools-parent-container .segment {
  flex: 1;
  height: 100%;
}
.tools-parent-container .segment.low {
  background-color: #4caf50;
}
.tools-parent-container .segment.moderate {
  background-color: #ffc107;
}
.tools-parent-container .segment.high {
  background-color: #ff9800;
}
.tools-parent-container .segment.severe {
  background-color: #f44336;
}
.tools-parent-container .meter-fill {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  transition: width 1.5s ease;
}
.tools-parent-container .meter-pin {
  position: absolute;
  top: -15px;
  left: 0%;
  transform: translateX(-50%);
  transition: left 1.5s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tools-parent-container .pin-circle {
  width: 30px;
  height: 30px;
  background-color: #333;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .pin-line {
  width: 4px;
  height: 25px;
  background-color: #333;
  margin-top: -2px;
}
.tools-parent-container .meter-value {
  text-align: center;
  margin-top: 30px;
}
.tools-parent-container #stress-level-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  display: block;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.tools-parent-container #stress-score {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}
.tools-parent-container {
  /* Result Description */
}
.tools-parent-container .result-description {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}
.tools-parent-container .desc-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.tools-parent-container .result-description h3 {
  color: #333;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  word-break: break-all;
}
.tools-parent-container #result-description-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}
.tools-parent-container #recommendations {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tools-parent-container .recommendation {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.tools-parent-container .recommendation-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.tools-parent-container {
  /* Toast Notification */
}
.tools-parent-container .toast {
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 18px 25px;
  background-color: #333;
  color: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateX(150%);
  transition: transform 0.5s ease;
  z-index: 1000;
  max-width: 350px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
  background-color: rgba(51, 51, 51, 0.95);
}
.tools-parent-container .toast.show {
  transform: translateX(0);
}
.tools-parent-container .toast-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.tools-parent-container #toast-message {
  display: flex;
  justify-content: center;
  /* align-items: center ; */
  gap: 5px;
}
.tools-parent-container .btn-download {
  background: linear-gradient(90deg, #28a745, #20c997);
  color: white;
}
.tools-parent-container .btn-download:hover {
  background: linear-gradient(90deg, #20c997, #198754);
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(40, 167, 69, 0.3);
}
.tools-parent-container .download-icon {
  width: 20px;
  height: 20px;
}
.tools-parent-container {
  /* Footer */
}
.tools-parent-container footer {
  background-color: #f8f9fa;
  padding: 25px 30px;
  text-align: center;
  border-top: 1px solid #eaeaea;
  color: #666;
}
.tools-parent-container footer p {
  margin-bottom: 10px;
  line-height: 1.5;
}
.tools-parent-container .copyright {
  font-size: 0.9rem;
  color: #999;
}
.tools-parent-container {
  /* Responsive Design */
}
@media (max-width: 768px) {
  .tools-parent-container .container {
    border-radius: 15px;
  }
  .tools-parent-container .header-content {
    flex-direction: column;
    gap: 10px;
  }
  .tools-parent-container header h1 {
    font-size: 2.2rem;
    text-align: center;
  }
  .tools-parent-container .header-icon {
    width: 40px;
    height: 40px;
  }
  .tools-parent-container .subtitle {
    font-size: 1rem;
  }
  .tools-parent-container main {
    padding: 20px;
  }
  .tools-parent-container .quiz-controls,
  .tools-parent-container .result-controls {
    flex-direction: column;
  }
  .tools-parent-container .btn {
    width: 100%;
    justify-content: center;
  }
  .tools-parent-container .tips-grid {
    grid-template-columns: 1fr;
  }
  .tools-parent-container .meter-labels {
    font-size: 0.9rem;
  }
  .tools-parent-container .meter-bar {
    height: 30px;
  }
  .tools-parent-container .result-title {
    flex-direction: column;
    gap: 10px;
  }
  .tools-parent-container .result-header h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .tools-parent-container .toast {
    top: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
  .tools-parent-container .section-icon {
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 480px) {
  .tools-parent-container body {
    padding: 10px;
  }
  .tools-parent-container .question-text {
    font-size: 1.2rem;
  }
  .tools-parent-container .option-label {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
  }
  .tools-parent-container #stress-level-text {
    font-size: 1.5rem;
  }
  .tools-parent-container #stress-score {
    font-size: 2rem;
  }
  .tools-parent-container .meter-labels span {
    font-size: 0.8rem;
  }
  .tools-parent-container .pin-circle {
    width: 25px;
    height: 25px;
  }
  .tools-parent-container .pin-line {
    height: 20px;
  }
}