:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --accent: #28998b;
  --muted: #6b7280;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 10px;
  --shadow: 0 6px 18px rgba(20, 24, 40, 0.06);
}



.field-wrap {
  flex: 1 1 220px;
  min-width: 220px;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea,
.select2 {
  width: 100%;
  padding: 13px 12px;
  border-radius: 8px;
  border: 1px solid #808396;
  background: white;
  box-sizing: border-box;
  outline: none;
  font-size: 0.95rem;
  appearance: none;
}

.form-control[readonly],
.form-control[disabled],
select[readonly],
select:disabled {
  background-color: #e9ecef !important;
  opacity: 1 !important;
}

.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12) !important;
}

input:focus,
select:focus,
textarea:focus,
.select2:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* OPTION GROUP */
.options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fbfdff;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #eef2ff;
  font-size: 0.95rem;
}

.option input {
  transform: scale(1.05);
}

/* CUSTOM SELECT2 */
.select2 {
  position: relative;
  cursor: text;
}

.select2-container {
  position: relative;
}

.select2-panel {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e6e9ef;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  max-height: 220px;
  overflow: auto;
}

.select2-search {
  padding: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.select2-item {
  padding: 10px 12px;
  cursor: pointer;
}

.select2-item[aria-selected="true"],
.select2-item:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.03));
}

.helper {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

.controls {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
}

button {
  background: var(--accent);
  color: white;
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

button.secondary {
  background: transparent;
  border: 1px solid #e6e9ef;
  color: #0f172a;
  font-weight: 500;
}

.result {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed rgba(15, 23, 42, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
  font-size: 0.92rem;
  white-space: pre-wrap;
}

/* CHECKBOX FANCY */
.interest-fieldset {
  border: none;
  padding: 0;
  margin-bottom: 12px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 16px;
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  min-width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  margin-right: 10px;
  position: relative;
  transition: 0.3s ease;
}

.custom-checkbox::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  top: 2px;
  left: 6px;
  transform: rotate(45deg) scale(0);
  transition: 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked+.custom-checkbox {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkbox-option input[type="checkbox"]:checked+.custom-checkbox::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-option:hover .custom-checkbox {
  border-color: var(--accent);
}

/* RADIO FANCY */
.contact-fieldset {
  border: none;
  padding: 0;
  margin-bottom: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 16px;
}

.radio-option input[type="radio"] {
  display: none;
}

.custom-radio {
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: 0.3s ease;
}

.custom-radio::after {
  content: "";
  height: 12px;
  width: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.3s ease;
}

.radio-option input[type="radio"]:checked+.custom-radio {
  border-color: var(--accent);
}

.radio-option input[type="radio"]:checked+.custom-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

.radio-option:hover .custom-radio {
  border-color: #0f2b8a;
}




/*==============================defoult input,textaria,dropdown css start ==============================*/
.white_space_unset {
  white-space: unset !important;
}

button.box_over_cancle_btn:after {
  line-height: normal;
}

.dfllabel {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  letter-spacing: 0.6px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  white-space: pre;
  line-height: normal;
}

.default_form .form-group>label {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  letter-spacing: 0.6px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  /* white-space: pre; */
  text-align: left;
}

.default_form input,
.default_form textarea,
.default_form select {
  width: 100%;
  min-height: 45px;
  border-radius: 8px;
  border: solid 1px #979797;
  /* margin-bottom: 10px; */
  font-size: 14px;
  padding: 8px 12px;
  color: #747474;
  background: #fff;
}

.default_form .select2-container {
  margin-bottom: 5px;
}

.default_form input[type=checkbox] {
  width: auto !important;
  min-height: auto;
}

.default_form .invalid-feedback {
  display: block;
}

.default_form input[type='file'] {
  padding: 9px 15px;
}

.default_down_arrow img {
  position: absolute;
  right: 16px;
  top: 19px;
  pointer-events: none;
  width: 19px;
  display: none;
}

.default_down_arrow:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  transform: rotate(225deg);
  position: absolute;
  top: 16px;
  line-height: 50px;
  right: 15px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  /* z-index: 999; */
  pointer-events: none;
}

.default_down_arrow {
  position: relative;
  display: block;
}

.text-red {
  color: #f31e1e !important;
}

/*==============================defoult input,textaria,dropdown css End ==============================*/

/* button css start */

/* button css End */

/* switchbutton css start */
.power-toggle-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.power-switch-wrapper {
  position: relative;
  width: 120px;
  height: 55px;
}

.power-switch-input {
  display: none;
}

.power-switch-label {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.power-switch-background {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  transition: all 0.4s ease;
}

.power-switch-input:not(:checked)+.power-switch-label .power-switch-background {
  background: var(--accent);
}

.power-switch-input:checked+.power-switch-label .power-switch-background {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.power-switch-slider {
  position: absolute;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  left: 5px;
}

.power-switch-input:not(:checked)+.power-switch-label .power-switch-slider {
  transform: translateX(0);
}

.power-switch-input:checked+.power-switch-label .power-switch-slider {
  transform: translateX(70px);
}

.power-icon-svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.power-icon-circle {
  fill: none;
  stroke-width: 3;
  transition: stroke 0.3s ease;
}

.power-icon-line {
  fill: none;
  stroke-width: 3;
  transition: stroke 0.3s ease;
}

.power-switch-input:checked+.power-switch-label .power-icon-circle,
.power-switch-input:checked+.power-switch-label .power-icon-line {
  stroke: #11998e;
}

.power-switch-input:not(:checked)+.power-switch-label .power-icon-circle,
.power-switch-input:not(:checked)+.power-switch-label .power-icon-line {
  stroke: var(--accent);
}

.power-switch-text {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.power-text-on {
  left: 15px;
  opacity: 0;
}

.power-text-off {
  right: 15px;
  opacity: 0;
}

.power-switch-input:checked+.power-switch-label .power-text-on {
  opacity: 1;
}

.power-switch-input:not(:checked)+.power-switch-label .power-text-off {
  opacity: 1;
}

.power-switch-label:hover {
  transform: scale(1.02);
}

.power-switch-label:active {
  transform: scale(0.98);
}

.status-display-box {
  text-align: center;
  color: white;
  font-size: 14px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.status-text-label {
  font-weight: 600;
}

/* switchbutton css End */

.default_down_arrow select.is-invalid {
  border-color: var(--bs-form-invalid-border-color);
}

/* address search box */
/* Main reusable wrapper */
.getaddress-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Input */
.getaddress-wrapper #getaddress_input {
  width: 200px;
  /* padding: 13px 12px; */
  border-radius: 8px;
  border: 1px solid #808396;
  background: white;
  box-sizing: border-box;
  outline: none;
  font-size: 0.95rem;
  appearance: none;
  margin-bottom: 0;
}

.getaddress-wrapper p#getaddress_error_message {
  margin: 0;
  color: red;
}

/* Button */
.getaddress-wrapper #getaddress_button {
  flex: 0 0 auto;
  border: 1px solid var(--accent);
  background-color: var(--accent);
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  font-weight: 600;
  height: 45px;
  border-radius: 4px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  min-width: 120px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}


.getaddress-wrapper #getaddress_button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.getaddress-wrapper #getaddress_button:hover::before {
  width: 300px;
  height: 300px;
}

.getaddress-wrapper #getaddress_button:hover {
  color: #fff;
  background: #0f2a99;

  box-shadow: 0 5px 15px rgba(19, 51, 180, 0.3);
}



.getaddress-wrapper #getaddress_button:hover {
  background: #0f2a99;
  box-shadow: 0 5px 15px rgba(19, 51, 180, 0.3);
}

/* Dropdown */
.getaddress-wrapper #getaddress_dropdown {
  min-height: 38px;
  flex: 1 1 200px;
  width: 100%;
  /* padding: 13px 12px; */
  border-radius: 8px;
  border: 1px solid #808396;
  background: white;
  box-sizing: border-box;
  outline: none;
  font-size: 0.95rem;
  appearance: none;
  margin-bottom: 0;
}

/* Plugin-generated empty span */
.getaddress-wrapper>span {
  display: none;
}

/* Address Look-up UI */
#ideal-postcode-wrapper .ipsf_submit {
  background: var(--green-default);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .65rem 1.6rem;
  font-size: .92rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  min-width: 150px;
  min-height: 45px;

  & :hover {
    background: var(--green-default);
    transform: translateX(2px);
  }
}

/* select2 dropdown library start*/
.select2.select2-container.select2-container--default {
  padding: 0;
  border: 0;
}


.select2.select2-container.select2-container--default .select2-search.select2-search--inline {
  border: 0;
}

.select2-selection.select2-selection--multiple {
  border-radius: 8px !important;
  border: 1px solid #979797 !important;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
  color: #6e6b7b !important;
  font-size: 0.95rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--accent) !important;
  color: white;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #f5f5f5;
}

/* dropdown start*/
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 50px !important;
  line-height: 50px !important;
}

.select2-container .select2-selection--single {
  height: 50px !important;
}

.select2-container--default .select2-selection--single {
  border-radius: 8px !important;
  border: 1px solid #979797 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  transform: rotate(225deg);
  position: absolute;
  top: -9px;
  line-height: 50px;
  right: 0px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  pointer-events: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff !important;
}

/* dropdown End*/

/* select2 dropdown library End*/


input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--blackcolor);
  font-size: 14px;
}

input::placeholder,
textarea::placeholder {
  color: var(--blackcolor);
  font-size: 14px;
}

input:-ms-input-placeholder {
  color: var(--blackcolor);
}

input::-ms-input-placeholder {
  color: var(--blackcolor);
}

select:focus {
  color: #6e6b7b;
  background-color: #fff;
  border-color: #005158;
  outline: 0;
  box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);
}

select:focus-visible {
  outline: none;
}

/* input.form-control {
  color: #6e6b7b;
  background: #fff !important;
  height: 45px;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
} */

/* input.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(123, 11, 255, 0.1) !important;
} */

select {
  min-height: 45px;
  border: 1px solid #d9d9d9;
  color: #6e6b7b;
}



@media (max-width: 620px) {
  .field-wrap {
    min-width: 100%;
  }
}

/* Mobile responsive */
@media (max-width: 576px) {
  .getaddress-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .getaddress-wrapper #getaddress_input,
  .getaddress-wrapper #getaddress_button,
  .getaddress-wrapper #getaddress_dropdown {
    width: 100%;
  }
}