.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: 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: 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;
}

.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,.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: black;
  font-size: 15px;
}

.rform-select-form {
  height: 2.5rem;
  padding-inline: 0.5rem;
  font-size: 15px;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
}

.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;
  border: none;
  --x: 0;
  background: linear-gradient(90deg, #000000 -14.64%, #00cea6 114.79%, #000000)
    var(--x, 0) / 200%;
  color: white;
  transition: 0.5s;
  border: 1px solid #00cea6;
  font-weight: 600;
  padding: 12px 24px 12px 24px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  justify-content: center;
  width: 10rem;
}

.rform-modal-btn:hover {
  --x: 90%;
  color: white;
  border: 1px solid #00cea6;
  -webkit-box-shadow: 0px 2px 10px 0px rgba(0, 206, 165, 0.33);
  -moz-box-shadow: 0px 2px 10px 0px rgba(0, 206, 165, 0.33);
  box-shadow: 0px 2px 10px 0px rgba(0, 206, 165, 0.33);
}

.newform-tabs {
  width: 100%;
}

.newform-tab-header {
  display: flex;
}

.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: initial;
  cursor: pointer;
  color: white;
  border-width: 0px 0px 2px 0px;
  border-style: solid;
  border-color: transparent;
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.tab-item.active {
  /* border-color: #00cea6; */
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-image-source: linear-gradient(90deg, #00cea6 0%, #00000000 100%);
  border-image-slice: 1;
  text-shadow: 2px 3px 4px #00cea6;
}

.tab-pane {
  display: none;
  padding: 2rem 10px;
}

.tab-pane.active {
  display: block;
}

.rform-input-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  color: #212529;
  background-color: #0c0c0c;
  border: 1px solid #414141;
  color: white;
  background-clip: padding-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 0.6rem;
}

.rform-input-control:focus {
  border-color: #00cea6;
}

.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-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background: linear-gradient(99.32deg, #000000 -21.2%, #00cea6 69.36%);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

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);
}

/* 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: #ffffff;
  margin-bottom: 0.5rem;
  display: inline-block;
}

#tab-general h5 {
  font-size: larger;
  color: #ffffff;
  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;
}
