/* Scoped styles for All Calculators */

.singleCal .mTop {
  margin-top: 50px;
}

.singleCal .calSection {
  padding: 10px;
  margin-top: 10px;
  background-color: #f2f2f2;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

.singleCal .calSection.calNoAuto {
  display: block !important;
}

.singleCal .calSection h3 {
  margin-top: 0;
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 24px;
  padding-bottom: 5px;
}

.singleCal .calSection h4 {
  font-size: 18px;
}

.singleCal .calSection label {
  display: block;
  margin-bottom: 5px;
}

.singleCal .calSection label span {
  display: block;
  font-size: 14px;
  font-style: italic;
}

.singleCal .calSection .radioCheck {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 10px;
}

.singleCal .calSection .radioCheck input[type="radio"],
.singleCal .calSection .radioCheck input[type="checkbox"] {
  margin: 0;
}

.singleCal .calSection .radioCheck label {
  margin: 0;
  cursor: pointer;
}

.singleCal .calSection .conditionContentHidden {
  display: none;
  border: 1px solid rgb(204, 204, 204);
}

.singleCal .calSection .radioCheckHidden {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 10px;
  margin-top: 10px;
}

.singleCal .calSection input[type="radio"],
.singleCal .calSection input[type="checkbox"] {
  margin-right: 5px;
}

.singleCal .calSection select,
.singleCal .calSection input[type="number"],
.singleCal .calSection input[type="text"],
.singleCal .calSection input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #fff;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

.singleCal .calSection input[type="checkbox"],
.singleCal .calSection input[type="radio"] {
  border: 2px solid var(--theme-color-1) !important;
  position: relative;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  line-height: 0;
  margin: 0 0.6em 0 0;
  outline: 0;
  padding: 0 !important;
  vertical-align: text-top;
  height: 20px;
  width: 20px;
  -webkit-appearance: none;
  opacity: 1;
  --bs-gutter-x: 0;
  --bs-gutter-x: 0;
  flex-shrink: 0;
}

.singleCal .calSection input[type="checkbox"]::before,
.singleCal .calSection input[type="radio"]::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  z-index: 2;
  font: var(--fa-font-solid);
  width: 20px;
  height: 20px;
  padding: 3px;
  color: #fff;
  flex-shrink: 0;
}

.calSection {
  display: none;
}

.calSection:first-of-type {
  display: block;
}

.singleCal .qrswCalSubmit:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.6;
}

.singleCal .qrswCalEmail:disabled {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Sending State (Same as Default Button) */
.singleCal .qrswCalEmail.sending {
  background-color: var(--theme-color-1) !important; /* Keep the same red color */
  color: #fff !important;
  opacity: 1 !important; /* Fully visible */
}

/* Success State (Highlighted Green) */
.singleCal .qrswCalEmail.success {
  background-color: #83c11f !important; /* Bright Green */
  color: #fff !important;
  opacity: 1 !important; /* Fully visible */
}

.calculatedResults {
  padding: 20px;
  background-color: #f2f2f2;
  border: 1px solid #cccccc;
  border-radius: 5px;
  display: none;
}

.calculatedResults .calResults {
  padding: 10px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
}

.calculatedResults .calResults th {
  background-color: var(--theme-color-2);
  color: #fff;
  padding: 10px;
  border: 1px solid #eee;
}

.calculatedResults .calResults td {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #eee;
}

.calculatedResults .calResults .results {
  text-align: right;
}

.skipped {
  opacity: 0.5;
  pointer-events: none;
}

.skip-section-header {
  margin-bottom: 10px;
}

.calculatedResults .alert {
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
  gap: 10px;
}

/* Scoped styles for Passing Marks Table */
.calculatedResults .passingMarks {
  padding: 10px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  width: 100%;
  margin-top: 20px;
}

.calculatedResults .passingMarks th {
  background-color: var(--theme-color-2);
  color: #fff;
  padding: 10px;
  border: 1px solid #eee;
  text-align: left;
}

.calculatedResults .passingMarks td {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #eee;
  text-align: left;
}

/* Add consistent spacing and styling */
.mailSection label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.mailSection input,
.mailSection select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.mailSection {
  margin-bottom: 20px;
  margin-top: 20px;
}

.radioSection {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 10px;
}

.gradientHighlight {
  background: linear-gradient(135deg, #0b172a, #1b3045, #1b3045);
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding-left: 20px;
}

.gradientHighlight h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.gradientHighlight p {
  font-size: 1.1rem;
  margin: 0;
  color: #f0f0f0;
}

.radioSection input[type="checkbox"],
.radioSection input[type="radio"] {
  border: 2px solid var(--theme-color-1) !important;
  position: relative;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  margin: 0 0.6em 0 0;
  outline: 0;
  padding: 0 !important;
  vertical-align: text-top;
  height: 20px;
  width: 20px;
  -webkit-appearance: none;
  opacity: 1;
  --bs-gutter-x: 0;
  --bs-gutter-x: 0;
  flex-shrink: 0;
}

.btnmail {
  background: transparent !important;
}

.btnmail:hover {
  background: var(--theme-color-1) !important;
}

.btnBlank {
  background-color: var(--theme-color-2);
  border: 0px transparent;
}

.btnBlank:hover {
  background-color: var(--theme-color-3);
}

.disclaimerContent {
  color: var(--theme-color-2) !important;
}

.helperTextCustom{
  display: block;
  line-height: 20px;
  color: #868686;
  margin-bottom: 10px;
  font-size: 14px;
}
