.elementor-1548 .elementor-element.elementor-element-a10c7be{--spacer-size:5px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}/* Start custom CSS for button, class: .elementor-element-84de365 *//* Force Elementor button colors over Astra defaults */
.elementor-button,
.elementor-button:link,
.elementor-button:visited {
  background-color: #f59e0b !important; /* your yellow */
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;       /* keep Astra-like rounded look */
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

/* Hover effect */
.elementor-button:hover {
  background-color: #d97706 !important; /* darker amber on hover */
  color: #ffffff !important;
  transform: scale(1.03) !important;
}

/* Optional: override Astra focus outline */
.elementor-button:focus {
  outline: none !important;
  box-shadow: none !important;
}

.elementor-button {
  cursor: pointer !important;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-c5362d2 *//* === WP Pro Quiz - Wide Modern Card Style (Fully Responsive Buttons) === */
.wpProQuiz_content {
  font-family: "Inter", "Poppins", sans-serif;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px 50px;
  margin: 30px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 1000px; /* Wider layout for normal page section */
}

/* Question text */
.wpProQuiz_question_text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
}

/* Answers styling */
.wpProQuiz_listItem {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.wpProQuiz_listItem:hover {
  background: #eef2ff;
  border-color: #6366f1;
}

/* Selected or correct/incorrect answers */
.wpProQuiz_answerCorrect,
.wpProQuiz_answerIncorrect {
  border-left: 4px solid #2563eb;
  background: #eef2ff;
}

/* Buttons - general styling */
.wpProQuiz_button {
  background: #2563eb;
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 10px 26px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  display: inline-block;
}
.wpProQuiz_button:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

/* Center Start Quiz button */
.wpProQuiz input.wpProQuiz_button[name="startQuiz"] {
  display: block;
  margin: 30px auto 10px auto;
  text-align: center;
}

/* Progress bar */
.wpProQuiz_progress {
  background: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  height: 8px;
  margin: 20px 0;
}
.wpProQuiz_progress .wpProQuiz_progress_inner {
  background: #2563eb;
  height: 8px;
  border-radius: 8px;
}

/* Result summary */
.wpProQuiz_results {
  background: #f9fafb;
  border-radius: 12px;
  padding: 25px;
  margin-top: 25px;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 1rem;
  text-align: center; /* center buttons inside results */
}

/* Hide unnecessary lines */
.wpProQuiz_clear {
  border: none !important;
}

/* Footer (Next / Back) */
.wpProQuiz_footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.wpProQuiz_footer .wpProQuiz_button {
  background-color: #2563eb !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: background 0.3s;
  min-width: 120px;
}

.wpProQuiz_footer .wpProQuiz_button:hover {
  background-color: #1e4bb8 !important;
}

/* Results buttons (Restart / View Answers) */
.wpProQuiz_results .wpProQuiz_button {
  background-color: #2563eb;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 8px 5px;
  display: inline-block; /* default inline-block for desktop */
}
.wpProQuiz_results .wpProQuiz_button:hover {
  background-color: #1e4bb8;
}

/* === ✅ Fully Responsive Layout for All Buttons === */
@media (max-width: 768px) {
  .wpProQuiz_content {
    padding: 25px 20px;
    max-width: 100%;
  }
  .wpProQuiz_question_text {
    font-size: 1.1rem;
  }

  /* Footer (Next / Back) buttons stack on mobile */
  .wpProQuiz_footer {
    flex-direction: column;
  }
  .wpProQuiz_footer .wpProQuiz_button {
    width: 90% !important;
    min-width: unset;
    margin: 8px auto;
  }

  /* Start Quiz button responsive */
  .wpProQuiz input.wpProQuiz_button[name="startQuiz"] {
    width: 90%;
    margin: 20px auto;
  }

  /* Restart / View Answers buttons stack and center on mobile */
  .wpProQuiz_results .wpProQuiz_button {
    display: block;       /* full-width block */
    width: 90%;           /* responsive width */
    margin: 8px auto;     /* center horizontally */
  }
}





.elementor-1548 .elementor-element.elementor-element-c5362d2 {
  text-align: justify;
  text-justify: inter-word;
}






/* === Fix: Responsive results box & buttons alignment === */

/* Make the result box fit inside the page on all screens */
.wpProQuiz_results {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  margin: 20px auto !important;
  text-align: center !important;
}

/* Make the result buttons stack and align neatly on smaller screens */
.wpProQuiz_results .wpProQuiz_button {
  display: inline-block !important;
  width: auto !important;
  margin: 8px 5px !important;
}

/* Mobile and tablet: stack buttons full-width */
@media (max-width: 768px) {
  .wpProQuiz_results .wpProQuiz_button {
    display: block !important;
    width: 90% !important;
    margin: 8px auto !important;
    font-size: 16px !important;
  }
}

/* Prevent horizontal scrolling caused by wide inner elements */
.wpProQuiz_content {
  overflow-x: hidden !important;
  max-width: 100% !important;
}





/* === Strong Fix: Contain results table inside .wpProQuiz_results === */
.wpProQuiz_results {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  box-sizing: border-box !important;
  padding: 20px !important;
  background: #f9fafb !important;
  max-width: 100% !important;
}

/* Target any tables inside results and make them fully responsive */
.wpProQuiz_results table {
  display: block !important;          /* breaks old fixed layout */
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;        /* allow scroll if ever needed */
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Table cells stay aligned and wrap properly */
.wpProQuiz_results td,
.wpProQuiz_results th {
  padding: 10px !important;
  border: 1px solid #e5e7eb !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: break-word !important;
}

/* Remove any outer line that causes the “edge” overflow */
.wpProQuiz_results > table {
  border: none !important;
}

/* Optional: prevent other plugin CSS from forcing table width */
.wpProQuiz_results table[style] {
  width: 100% !important;
}/* End custom CSS */