form.web-form {
    background-color: var(--fg-color);
    padding: 1.25rem 2rem 2rem;
    border: 1px solid var(--dark-border-color);
    border-top: none;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    border: none;
    padding: unset;
}

@media (max-width: 767.98px) {
    form.web-form {
        padding: 1rem 1.5rem 1.5rem;
    }
}

form.web-form .tooltip-content {
    display: none;
}

form.web-form .frappe-control {
    margin-bottom: 20px;
    width: 100%;
}

form.web-form .frappe-control .control-label.reqd:after {
    content: " *";
    color: #eb9091;
    white-space: nowrap;
}


form.web-form .control-input {
    position: relative;
}

form.web-form .control-input .select-icon {
    position: absolute;
    right: 5px;
    top: 17px;
    z-index: 1;
}

form.web-form .control-input .select-icon svg {
    width: 20px;
}

@media (max-width: 767.98px) {
    form.web-form .web-form-wrapper .form-control {
        font-size: 14px;
        font-weight: regular;
        letter-spacing: .02em;
    }
}

form.web-form .web-form-wrapper .form-control {
    color: #383838;
    padding: 5px 10px;
    border: 0;
    border-radius: 5px;
    background-color: #f3f3f3;
    width: 100%;
}

form.web-form .web-form-wrapper .checkbox {
    font-size: 12px;
    color: #7c7c7c;
}

form.web-form .web-form-wrapper .checkbox label {
    font-weight: bold;
    color: #000;
}

form.web-form .web-form-wrapper .checkbox a {
    color: #000;
}

form.web-form .discard-btn:before {
    background-color: #f3f3f3;
}

.page-content-wrapper .success-page {
    background-color: #d2d3d4;
    padding: 5rem 2rem;
    margin-top: 3rem;
    border: 1px solid #000;
    border-radius: 20px;
    text-align: center;
}

.page-content-wrapper .success-page.hide {
    display: none;
}

input[type=checkbox] {
    position: relative;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #d2d3d4;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

input[type=checkbox]:checked {
    background: #5a14e6;
}

form.web-form .btn {
    color: #fff !important;
}

form.web-form .submit-btn:before {
    content: "";
    background-color: #5a14e6;
    z-index: -1;
}

form.web-form .discard-btn:before {
    content: "";
    background-color: #d2d3d4 !important;
    z-index: -1;
}

form.web-form .right-area {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

form input[type=checkbox]:checked {
    background-repeat: no-repeat;
    background-position: center;
}

form input, form textarea {
    background: #ececec;
    border: 0;
    border-radius: 5px;
}
.adaptive-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  gap: 12px;
}
.adaptive-form input, .adaptive-form textarea {
  padding: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.adaptive-form button {
  padding: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}
@media (max-width: 600px) {
  .adaptive-form {
    max-width: 100%;
  }
}