@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap");

.rform-editform-modal,
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.rform-modal-content {
  display: flex;
  gap: 5px;
  flex-direction: column;
  background-color: #1e2124;
  color: white;
  margin: auto;
  width: 30%;
  /* height: 90%; */
  min-width: 622px;
  box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -webkit-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -moz-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 80vh;
  overflow: auto;
  border-radius: 5px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.rform-modal-content::-webkit-scrollbar-track {
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
  border-radius: 10px;
  background-color: transparent;
}

.rform-modal-content::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
  border-radius: 10px;
}

.rform-modal-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

.modal-content {
  display: flex;
  gap: 5px;
  flex-direction: column;
  background: rgb(36, 36, 36);
  background: linear-gradient(
    166deg,
    rgba(36, 36, 36, 1) 0%,
    rgba(21, 21, 21, 1) 25%,
    rgba(0, 0, 0, 1) 100%
  );
  color: white;
  margin: auto;
  width: 80vw;
  height: 90vh;
  box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -webkit-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  -moz-box-shadow: 0px 0px 49px -19px rgba(0, 0, 0, 0.82);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-block: 1rem;
}

.rform-radiobtn-container {
  display: flex;
  color: #ffffff;
  padding-left: 35px;
  cursor: pointer;
  font-size: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0.5rem;
}

/* Hide the browser's default radio button */
.rform-radiobtn-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #3b3b3b;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.rform-radiobtn-container:hover input ~ .checkmark {
  background-color: #6c6c6c;
}

/* When the radio button is checked, add a blue background */
.rform-radiobtn-container input:checked ~ .checkmark {
  background-color: #3b3b3b;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: block;
}

/* Show the indicator (dot/circle) when checked */
.rform-radiobtn-container input:checked ~ .checkmark:after {
  display: block;
  background: #00cea6;
}

/* Style the indicator (dot/circle) */
.rform-radiobtn-container .checkmark:after {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #252525;
  transform: translate(-50%, -50%);
}

.rform-tab-content {
  display: none;
  padding: 1.5rem 1rem;
}

.rform-radiobtn-container > .rform-radio-btn:checked + .rform-tab-content {
  display: block;
}

.rform-modal-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.rform-modal-header {
  display: flex;
  justify-content: space-between;
  /* box-shadow: 0px -6px 13px 0px gray; */
  border-bottom: 1px solid #4b4b4b;
  padding: 0.5rem;
  position: sticky;
  top: 0;
  background: #0b0b0b1c;
  backdrop-filter: blur(100px);
  z-index: 999;
}

.rform-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 16px;
}

.rform-close-btn {
  height: 100%;
  background-color: transparent;
  border: none;
  padding-inline: 1rem;
  color: rgb(191, 191, 191);
  font-size: 20px;
  cursor: pointer;
}

.rform-close-btn:hover {
  /* background-color: rgb(206, 30, 30); */
  color: #f3f3f3;
}

.ifr-editor {
  height: 100%;
  width: 100%;
}

.ifr-editor[src] {
  background-color: #34383c;
}

/* The Close Button */
.close {
  color: rgb(255, 255, 255);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.elementor-editor-container {
  width: 100%;
  height: 100%;
}

.flex-direction-col {
  display: flex;
  flex-direction: column;
}

.elementor-modal-iframe-btn-control {
  padding: 15px;
}

.elementor-editor-header-iframe {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.edit-form-wrapper {
  padding: 5px;
  display: flex;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rform-editor-header {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  padding-inline: 1rem;
}

.rform-editor-header > strong {
  font-size: 1rem;
}

.rform-tab-select {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rform-label-select {
  color: #b0b0b0;
  font-size: 15px;
}

.rform-select-form {
  height: 3.5rem;
  display: block;
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  background-color: #2b2e32;
  border: 1px solid #3c4146;
  color: #b0b0b0;
  background-clip: padding-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.7rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  margin-bottom: 0.6rem;
}

.rform-tab-select-footer,
.rform-tab-new-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.rform-modal-btn {
  /* padding-inline: 1rem; */
  height: 2.5rem;
  border-radius: 0.35rem;
  background-color: #00cea6;
  color: black;
  transition: 0.5s;
  font-weight: 600;
  padding: 12px 24px 12px 24px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  justify-content: center;
  width: 10rem;
  border: none;
}

.rform-modal-btn:hover {
  color: black;
  border: none;
  filter: brightness(0.9);
}

.newform-tabs {
  width: 100%;
}

.newform-tab-header {
  display: flex;
  display: flex;
  padding: 8px;
  border: 1px solid #3c4146;
  border-radius: 8px;
}

.tab-item {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
  border-radius: 0.375rem;
  font-size: 16px;
  cursor: pointer;
  color: #b0b0b0;
  border-width: 0px 0px 2px 0px;
  border-style: solid;
  border-color: transparent;
  background-color: transparent;
  outline: none;
  box-shadow: none;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
}

.tab-item.active {
  /* border-color: #00cea6; */
  background: linear-gradient(90deg, rgba(53, 52, 52, 0) 0%, #353434 100%);
  -webkit-box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.4);
}

.tab-pane {
  display: none;
  padding: 2rem 10px;
}

.tab-pane.active {
  display: block;
}

.rform-input-control {
  display: block;
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  background-color: #2b2e32;
  border: 1px solid #3c4146;
  color: #b0b0b0;
  background-clip: padding-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.7rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  margin-bottom: 0.6rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(53, 52, 52, 0) 0%, #353434 100%);
  box-shadow: inset 0px 1px 4px hsla(0, 0%, 100%, 0.25);
  filter: drop-shadow(-3px 5px 10px rgba(0, 0, 0, 0.6));
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: #b0b0b0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  -webkit-box-shadow: 12px 0px 12px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 12px 0px 12px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 12px 0px 12px 0px rgba(0, 0, 0, 0.75);
}

input:checked + .slider {
  background: linear-gradient(90deg, rgba(53, 52, 52, 0) 0%, #353434 100%);
  box-shadow: inset 0px 1px 4px rgba(0, 206, 166, 0.8);
  filter: drop-shadow(-3px 5px 10px rgba(0, 0, 0, 0.6));
}

input:checked + .slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  -webkit-box-shadow: -8px 0px 8px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -8px 0px 8px 0px rgba(0, 0, 0, 0.75);
  box-shadow: -8px 0px 8px 0px rgba(0, 0, 0, 0.75);
  background-color: #00cea6;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.form-label {
  color: #b0b0b0;
  margin-bottom: 0.5rem;
  display: inline-block;
}

#tab-general h5 {
  font-size: larger;
  color: #b0b0b0;
  margin-block: 1rem;
}

#confirmation_form,
#notification_form {
  display: none;
}

.conf_desc,
.notif-desc {
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: smaller;
  color: #aeaeae;
}
.rform-tab-content .text {
  color: #aeaeae;
  font-weight: 300;
  font-style: italic;
}

.rform-editform-modal hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}
