/* ===============================
   Module Calculator Styles
   =============================== */

#mc-calculator {
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  padding: 40px;
	background: linear-gradient(180deg, #000103 5%, rgba(0, 13, 43, 0.9) 100%);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

#mc-calculator h2 {
  margin-top: 0;
  text-align: center;
      border-bottom: 2px solid #399cda;
  padding-bottom: 10px;
}

.mc-module {
  border: 1px solid #e2e2e2;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.mc-module label {
  font-weight: bold;
  cursor: pointer;
}

.mc-desc {
  font-size: 13px;
  color: #555;
  margin: 5px 0 10px;
}

.mc-submodules {
  margin-left: 25px;
  margin-top: 10px;
}

.mc-sub {
  display: block;
  font-weight: normal;
  margin-bottom: 5px;
}

.mc-total {
  margin-top: 20px;
  text-align: right;
  font-size: 18px;
  font-weight: bold;
	display: none;
}

#mc-send-offer {
     background-color: #61CE7000;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 36px;
    fill: #FFFFFF;
    color: #399CDA;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #399CDA;
    border-radius: 4px 4px 4px 4px;
    padding: 8px 30px 8px 30px;
	  cursor: pointer;
	  margin: 20px auto 0;
}

#mc-send-offer:hover {
  background: #399CDA;
	color: white;
}

.mc-module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mc-module-header button {
	border: none;
    color: #399CDA;
    font-size: 22px;
    font-weight: bold;
    height: 40px;
    width: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-module-header button:hover{
	background: #399CDA;
	color: white;
}

.mc-toggle-submodules {
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.mc-toggle-submodules:hover {
  background: #005d88;
}

/* ===== Custom Checkbox Styles ===== */

/* Hide the default checkbox */
.mc-module-checkbox,
.mc-submodule-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #843179;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  top: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Checked state */
.mc-module-checkbox:checked,
.mc-submodule-checkbox:checked {
  background-color: #843179;
  border-color: #843179;
}

/* Add checkmark using pseudo-element */
.mc-module-checkbox:checked::after,
.mc-submodule-checkbox:checked::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: -2px;
  left: 3px;
}

/* Hover effect */
.mc-module-checkbox:hover,
.mc-submodule-checkbox:hover {
  border-color: #843179;
}

/* Disabled submodules */
.mc-submodule-checkbox:disabled {
  border-color: #ccc;
  background-color: #f5f5f5;
  cursor: not-allowed;
}


/* ===============================
   Popup Styles
   =============================== */

.mc-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.mc-popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
}

.mc-popup-content input {
  width: 90%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.mc-popup-content button {
  margin: 5px;
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.mc-popup-content button[type="submit"] {
  background: #0073aa;
  color: #fff;
}

.mc-popup-content button[type="submit"]:hover {
  background: #005d88;
}

.mc-popup-content #mc-close-popup {
  background: #ccc;
}

#mc-popup-message {
  margin-top: 10px;
  font-weight: bold;
}
