/* Popup Background Overlay */
#maxen-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

/* Hidden initially (if needed) */
/* #maxen-popup { display: none; } */

/* Popup Container */
.maxen-popup-content {
  background: #fff;
  width: 1041px;
  max-width: 95%;
  display: flex;
  overflow: hidden;
  position: relative;
  padding-left: 15px;
}

/* Left Side */
.maxen-popup-left {
  width: 34%;
  background: #f5f5f5;
  padding: 30px 20px;
  box-sizing: border-box;
}

.maxen-logo {
  max-width: 200px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.maxen-heading {
    font-size: 17px;
    margin-bottom: 15px;
    color: #464646;
    padding-top: 22px;
    font-family: "Outfit";
}

.maxen-text {
  font-size: 15px;
  line-height: 1.6;
  color: #464646;
  font-family: "Outfit";
  }

/* Right Side */
.maxen-popup-right {
  width: 60%;
  padding: 30px 30px 20px 30px;
  position: relative;
}

.maxen-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Progress */
.maxen-progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.maxen-progress-bar {
  background: #eee;
  flex-grow: 1;
  height: 11px;
  overflow: hidden;
  margin-right: 10px;
  margin-top: 50px;
}

.maxen-progress {
  background: #008e4e;
  width: 7%;
  height: 100%;
  transition: width 0.3s ease;
}

.maxen-progress-percentage {
  font-size: 14px;
  color: #00061A;
  margin-top: 50px;
}

/* Form Steps */
.maxen-step {
  display: none;
}

.maxen-step.active {
  display: block;
  margin-top: 60px;
}
.maxen-number{
  color: #828282;
  font-family: "Outfit";
}

.maxen-question {
  font-size: 23px !important;
  margin-bottom: 12px;
  font-family: "Outfit";
  color: #464646;

}

.maxen-input {
  width: 96%;
  padding: 13px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 17px;
  font-family: "Outfit";
  color: #464646;
}

.maxen-next-btn {
  background: #13A36B;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  top: 88%;
  left: 82%;
  font-family: "Outfit";
}

.maxen-back-btn {
  background: #13A36B;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Outfit";
  position: absolute;
  top: 88%;
  right: 82%;
  display: none !important;
}

.maxen-next-btn:hover {
  background: #006f3b;
}

.maxen-btn-group {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.maxen-btn-option {
  padding: 7px 17px !important;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  color: #464646;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Outfit";
  width: 110px !important;
}

.maxen-btn-option.selected {
  background: #13A36B;
  color: white;
}

.maxen-btn-option input[type="radio"] {
  display: none;
}
.maxen-refer{
  font-family: "Outfit";
  color: #464646;
  font-size: 14px;
}
.maxen-textarea{
  margin-bottom: 0px;
  height: 93px !important;
}
.elementor img{
  max-width: 55% !important;
}

/* Success message styling */
.maxen-success-message {
  display: none;
  color: #28a745;
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin: 20px 0;
  border-left: 4px solid #28a745;
  font-weight: 500;
}

.maxen-success-message.show {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Responsive */
@media(max-width: 768px) {
  .maxen-popup-content {
    flex-direction: column;
  }
  .maxen-popup-left, .maxen-popup-right {
    width: 100%;
  }
  .maxen-popup-left {
    padding: 20px;
  }
}


/* Responsive */
@media(max-width: 768px) {
  .maxen-popup-content {
    flex-direction: column;
  }
  .maxen-popup-left, .maxen-popup-right {
    width: 100%;
  }
  .maxen-popup-left {
    padding: 20px;
  }
}
