.header {
    padding-bottom: 1rem;
    border-bottom: .05rem solid #e5e5e5;
}

.field-panel {
    background-color: #e6e9ec;
    padding: 15px;
}

.sfb-left-panel
{
    /*background-color: #e6e9ec;*/
}

.form_builder .nav-sidebar { 
    width: 100%;
    padding: 8px 0; 
    border-right: 1px solid #ddd;
}
.form_builder .nav-sidebar a {
    color: #333;
    -webkit-transition: all 0.08s linear;
    -moz-transition: all 0.08s linear;
    -o-transition: all 0.08s linear;
    transition: all 0.08s linear;
    -webkit-border-radius: 4px 0 0 4px; 
    -moz-border-radius: 4px 0 0 4px; 
    border-radius: 4px 0 0 4px; 
}
.form_builder .nav-sidebar .active a { 
    cursor: default;
    background-color: #428bca; 
    color: #fff; 
    text-shadow: 1px 1px 1px #666; 
}
.form_builder .nav-sidebar .active a:hover {
    background-color: #428bca;   
}
.form_builder .nav-sidebar .text-overflow a,
.form_builder .nav-sidebar .text-overflow .media-body {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis; 
}

/* Right-aligned sidebar */
.form_builder .nav-sidebar.pull-right { 
    border-right: 0; 
    border-left: 1px solid #ddd; 
}
.form_builder .nav-sidebar.pull-right a {
    -webkit-border-radius: 0 4px 4px 0; 
    -moz-border-radius: 0 4px 4px 0; 
    border-radius: 0 4px 4px 0; 
}

.form_builder ul {
    font-size: 18px;
    display: block !important;
}

.form_builder ul li {
    padding: 10px;
    cursor: pointer;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
    margin-bottom: 5px;
}

.form_builder ul li:hover {
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.2);
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.form_builder ul li:hover a {
    color: #3195d8;
}
.form_builder ul li a {
    text-decoration: none;
    cursor: pointer;
}

.form_builder_field {
    padding: 10px;
    background: #eee;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 15px;
}

.margin-left-5 {
    margin-left: 5px;
}

.remove_bal_field {
    cursor: pointer;
}

.form-check-input {
    margin-right: 8px;
}

.placeholder {
    width: 100%;
    background-color: #bfb;
    border: 1px dashed #666;
    margin-bottom: 5px;
}
.form_builder_area {
    width:100%;
    min-height:50px;
    border: 1px solid #0f0f0f;
    padding: 15px !important;
    height: 100%;
}

.mt-radio {
    display: block;
}
.mt-radio p {
    display: inline;
}
.mt-checkbox {
    display: block;
}
.mt-checkbox p {
    display: inline;
}

.add_more_select, .add_more_radio, .add_more_checkbox, .remove_more_select, .remove_more_radio, .remove_more_checkbox {
    cursor: pointer;
}

li.softech-form-field {
    list-style: none;
    background: #fff;
    padding: 15px;
}
.header {
    text-align: center;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9 {
    float: left;
}
label.control-label.col-sm-2 {
    margin-top: 5px;
}
.panel-group .delete{
    background-color: #fd1200;
    border: none;
    color: white;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    float: right;

}
.form-group {
    margin-bottom: 1rem;
    float: left;
    width: 100%;
}
.form-group {
    margin: 7px 0px !important;
    float: left;
    width: 100%;
}
.softech-panel-default {
    margin-bottom: 20px;
    float: left;
}
.softech-panel-heading {
    background: #fff;
    padding: 2px;
}
h4.softech-panel-title {
    margin-left: 15px;
}

.require-input .col-sm-10
{
    padding: 15px;
}






.hide {
    display: none;
}

h1 {
    margin-top: 10px;
}

h3 {
    margin: 6px 0;
    text-transform: capitalize;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.add-wrap,
#sfb-sample {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 10px 20px 20px;
    margin-bottom: 20px;
}

.add-wrap a {
    color: #111;
}

.add-wrap li {
    padding: 2px 0;
}

.add-wrap li a:hover {
    padding-left: 5px;
    color: #000;
}

.alert {
    background-color: #00a65a;
    border: 1px solid #008d4c;
    padding: 10px;
    color: #fff;
    margin-bottom: 20px;
}

.alert textarea {
    display: block;
    margin-top: 10px;
    width: 96%;
    min-height: 140px;
}

h2 {
    margin: 4px 0;
    font-weight: normal;
}

#sfb .field {
    border: 1px solid #ddd;
    margin-bottom: 4px;
    padding: 5px 10px;
    background: #fff;
}

#sfb .field:hover {
    background-color: #fbf9ee;
    cursor: move;
}

#sfb .choices li:hover {
    background-color: #f7fbc7 !important;
    cursor: move;
}

#sfb .toggle-selected,
#sfb .toggle-required {
    margin: 0 0 0 5px;
}

#sfb .delete {
    float: right;
}

#sfb input {
    font-weight: normal;
    margin: 0 5px;
}

#sfb input[type="text"] 
{
    width: 80%;
    max-width: 300px;
}

#sfb .choices {
    margin: 20px 10px;
    padding: 5px;
    background: #f7f7f7;
    border: 1px solid #ddd;
}

#sfb .choices li {
    padding: 4px;
    margin: 4px 0;
}

#sfb .choices li:nth-child(even) {
    background: #e7e7e7;
}

#sfb .delete-choice {
    margin-left: 5px;
    font-weight: normal;
}

#sfb-sample label {
    display: block;
    margin: 2px 0;
}

#sfb-sample .form-fields {
    margin: 10px 0;
}

#sfb > button {
    margin: 20px 0 10px;
}

#sfb-sample textarea {
    min-height: 70px;
}

#sfb-sample label {
    line-height: 1.6em;
}

#sfb-sample .sfb-field {
    margin-bottom: 20px;
}

#sfb-sample .sfb-agree label,
#sfb-sample .sfb-agree input {
    float: left;
}

#sfb-sample .required-field > label:after {
    content: " *";
    color: red;
    font-size: 120%;
    font-weight: bold;
}

#sfb-sample .submit {
    margin: 20px 0 0;
    cursor: pointer;
}

#sfb button.delete {
    background: #ff0000b8;
    border: 0;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
}

#sfb button.add-choice {
    border: 0;
    background: #008000b3;
    color: #fff;
    padding: 5px;
}
.add-choice span {
    background: #fff;
    color: #008000b3;
    border-radius: 50%;
    margin-right: 5px;
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    vertical-align: middle;
}
.softech-form-name {
    padding: 0 !important;
    margin: 15px 0;
}
.submit {
    cursor: pointer;
}
.col-md-12.sfb-left-help,
.col-md-12.sfb-left-panel {
    min-width: 255px;
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin-bottom: 20px;
    line-height: 1;
}
.col-md-12.sfb-left-help h3,
.col-md-12.sfb-left-panel h3 {
    font-size: 14px;
    padding: 8px 0px;
    margin: 0;
    line-height: 1.4;
}
form#sfb-sample {
    width: 100%;
    float: left;
}
div#sfb-fields {
    float: left;
    width: 100%;
}
.sfb-mail {
    background-color: #f5f5f5;
    border: 1px solid #aaa;
    padding: 16px;
}
#mail h2.title {
    font-size: 18px;
}
.col-sm-12.sfb-footer-mail {
    padding: 15px 0px;
}
.form_builder_inside {
    padding: 15px 0;
    /*float: right;*/
}
.sfb_title {
    padding: 15px 0px !important;
}
.sfb-left-mail-panel.sfb-left-panel input {
    margin: 0px 15px 10px 0px !important;
}
.alert.col-md-12 h2 {
    font-size: 18px;
}
.field-panel nav.nav-sidebar a {
    text-decoration: none;
}
.form_builder_inside label {
    width: 100%;
}
.form_builder .domain-id {
    color: #a94442;
    font-size: 14px;
    font-weight: 400 !important;
}

.error
{
    color: #a94442;
}
.panel-group {
    margin-bottom: 20px;
}
.panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}
.panel-default {
    border-color: #ddd;
}
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-default>.panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.panel-group .panel-heading {
    border-bottom: 0;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}
.collapse.in {
    display: block;
}
.panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #ddd;
}
.panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 1px solid #ddd;
}
.panel-body {
    padding: 15px;
}
.softech-ul-num {
    list-style: decimal;
}
.marg-top
{
	margin-top: 15px;
}
.intl-error {
    border: 1px solid red;
  }
  .intl-error-message {
    color: red;
    font-size: 12px;
    margin-top: 4px;
  }
  .iti--separate-dial-code{
    display: block !important;
  }

/* Required field indicator */
.required-indicator {
    color: #dc3545;
    margin-left: 4px;
}

/* Validation error styles */
.validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Invalid field styles */
input:invalid,
textarea:invalid,
select:invalid {
    border-color: #dc3545;
}

input:invalid:focus,
textarea:invalid:focus,
select:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Required field label styles */
.sfb-field.required-field label {
    font-weight: 500;
}

/* Validation states */
.sfb-field input.is-invalid,
.sfb-field textarea.is-invalid,
.sfb-field select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.sfb-field input.is-invalid:focus,
.sfb-field textarea.is-invalid:focus,
.sfb-field select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Validation error animation */
.validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Required field indicator */
.required-indicator {
    color: #dc3545;
    margin-left: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Character counter */
.char-counter {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.char-counter.too-short {
    color: #dc3545;
}

.char-counter.too-long {
    color: #dc3545;
}

/* Form response messages */
.form-response {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in-out;
}

.form-response.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.form-response.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Disabled submit button */
button[type="submit"]:disabled,
input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form validation styles */
.sfb-wrap input.is-valid,
.sfb-wrap textarea.is-valid,
.sfb-wrap select.is-valid {
    border-color: #28a745;
    background-color: #f8fff9;
}

.sfb-wrap input.is-invalid,
.sfb-wrap textarea.is-invalid,
.sfb-wrap select.is-invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.sfb-wrap .validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Character counter styles */
.char-counter {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
}

.char-counter.too-short {
    color: #dc3545;
}

.char-counter.too-long {
    color: #dc3545;
}

/* Form field focus states */
.sfb-wrap input:focus,
.sfb-wrap textarea:focus,
.sfb-wrap select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff;
}

.sfb-wrap input.is-valid:focus,
.sfb-wrap textarea.is-valid:focus,
.sfb-wrap select.is-valid:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

.sfb-wrap input.is-invalid:focus,
.sfb-wrap textarea.is-invalid:focus,
.sfb-wrap select.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    border-color: #dc3545;
}