@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

.wefbuild *{
    box-sizing: border-box;
}
.wefbuild {   
    display: block;
    float: left;
    width: calc(100% - 2px);
    max-width: none;
    margin: 10px 0 0 2px;
    color: #6a7877;
    font-size: 12px;
    position: relative;
}


.wef-wrapper-bg{
    background: #fafafa;
    padding: 20px;
}
.wef-page-title{
    display: block;
    background-color: #ffffff;
    padding: 10px 20px;
    border-bottom: 0px solid #e1e1e1;
    margin: -20px -20px 20px;
}
.wef-page-title h1{
    font-size: 16px;
    font-weight: 500;
}
.wef-page-menu{
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 10px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    align-content: stretch;
}
.wef-nav{
    font-size: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 75%;
}
.wef-nav-item{
    display: inline-block;
    margin-right: 2%;
    margin-bottom: 0px;
}
.wef-nav-item a{
    text-decoration: none;
    color: #3ea9ea;
}
.wef-nav-item a:hover,
.wef-nav-item a:focus,
.wef-nav-item a:active,
.wef-nav-item.active a{
    color: #444;
    box-shadow: none;
    outline: none;
}

.wef-search-form{
    width: 25%;
    text-align: right;
}

.wef-search-form label{
    color: #3ea9ea;
}
.wef-search-form input{
    margin-left: 10px;
    color: #969696;
    padding: 5px 10px;
    width: 150px;
}
/* Form OverView Cards */

.wef-form-cards{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}
.wef-form-cards{
    margin-top: 15px;
}
.wef-form-card{
    display: inline-block;
    position: relative;
    background-color: #fffffe;
    float: left;
    width: 204px;
    height: 264px;
    padding: 0;
    margin: 0 20px 25px 0;
    transition: 0.2s;
}
.wef-card-title {
    border-bottom: 1px solid #eee;
    text-overflow: ellipsis;
    overflow: hidden
}
.wef-card-title a{
    display: block;
    text-decoration: none;
    font-size: 13px;
    color: #3ea9ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}
.wef-card-title a:hover,
.wef-card-title a:focus,
.wef-card-title a:active{
    color: #3ea9ea;
    box-shadow: none;
    outline: none;
}
.wef-short-code-wrap{
    position: relative;
}
.wef-shortcode{
text-align: center;
    color: inherit !important;
    margin: 20px 10px 40px;
    font-size: 14px;
    padding: 5px;
    background: transparent;
    line-height: 1.5;
    display: block;
    width: calc(100% - 20px);
    cursor: pointer;
    background: #fff !important;
    border: 1px solid #eee !important;    
}
.wef-shortcode:focus,
.wef-shortcode:active,
.wef-shortcode:hover{
    box-shadow: none !important;
    outline: none !important;
}
.wef-short-code-wrap .copy-message{
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    text-align: center;
}

.wef-pad10{
    padding: 10px;
}
.wef-form-details{
    display: block;
    margin: 20px 0;
    color: inherit;
    line-height: 1.5em;
    text-align: center;
    font-size: 13px;
}
.wef-form-details .wef-detail-title{
    font-weight: bold;
    display: inline-block;
}
.wef-form-details a{
    color: inherit;
    text-decoration: none;
}
.wef-form-card:hover .wef-form-details a{
    color: #3ea9ea;
}
.wef-form-details .wef-form-detail .dashicons{
    font-size: 16px;
}
.wef-form-details .wef-form-detail .dashicons:before{
    position: relative;
    top: 1px;
}
.wef-card-actions{
    text-align: center;
}
.wef-card-actions span{
    display: inline-block;
    margin: 5px 10px;
}
/*Image*/
.wef-card-actions .wef-action{
    width: calc(25% - 18px);
    text-align: center;
    display: inline-block;
    margin: 5px;
    font-weight: bold;
    font-size: 11px;
    position: relative;
}
.wef-card-actions .wef-action a{
    display: block;
}
.wef-card-actions .wef-action a:hover,
.wef-card-actions .wef-action a:focus,
.wef-card-actions .wef-action a:active{
    box-shadow: none;
    outline: none;
}

.wef-card-actions .wef-action img{
    width: 30px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    opacity: 0.6;
    transition: .25s ease-in-out;
}
.wef-card-actions .wef-action:hover img{
    opacity: 0.8;
    transform: scale(1.3);
}
.wef-card-actions .wef-action span{
    display: none;
    margin: 0;
    position: absolute;
    width: 100%;
    text-align: center;
      
    font-weight: 500;
    color: #666;
}
.wef-card-actions .wef-action:hover span{
    display: block;
    font-weight: 500;
}

/* dashboard forms css */
.wefbuild_main {
    display: block;
    float: left;
    width: 90%;
    max-width: 1100px;
    margin: 5px 10% 0 5%;
    color: #555d66;
    font-size: 12px;
    position: relative;
}

.wefbuild_main {   
    background: inherit;
    padding: 20px;
    -webkit-box-shadow: 0px 1px 15px 1px rgba(81, 77, 92, 0.08);
    box-shadow: 0px 1px 15px 1px rgba(62, 57, 107, 0.08);
    background: #fff;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.wefbuild_main .wefheader{
    padding: 24px 30px 70px;
    border-bottom: 0px solid #e1e1e1;
    margin: -20px -20px 0px;
    background-color: #f9f9f9;
    background-repeat: repeat-x;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 18px;
    font-weight: 500;
}

.wef-content{
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(62, 57, 107, .07);
    margin-top: -50px;
    display: inline-block;
}


.wefbuild_main .wefrow {   
    padding: 10px 0;
    float: left;
    width: 100%;
}

.wefbuild_main .wefrow .weffield {   
 width: 200px;
    float: left;
    display: inline-block;
    line-height: 1.3;
    font-weight: 600;
    color: #23282d;
    font-size: 14px;
}

.wefbuild_main .wefrow .wefinput {    
    width: calc( 100% - 200px);
    float: left;
    display: inline-block;
    padding-left: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wefbuild_main .wefrow .wefinput .wefnote {    
    font-size: 13px;
    font-style: italic;
    margin: 2px 0 5px;
    color: #666;}

.wefbuild_main .wefrow .wefinput .wef-input-field {
    padding: 0px 10px;
    color: #666;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #fff;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    height: 40px;
    line-height: 40px;
    min-width: 60%;}

.wefbuild_main .wefrow .wefinput .wef-input-field:focus{
        color: #666;
    border-color: #6cc3dc;
    outline: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1);
    box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1);
}

.wefbuild_main .wefrow .wefinput textarea.wef-input-field {
    min-height: 100px;
}

.wefbuild_main .wefrow .wefinput select.wef-input-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 36px;
    position: relative;
    background-image: -webkit-linear-gradient(45deg, transparent 50%, gray 50%), -webkit-linear-gradient(315deg, gray 50%, transparent 50%), -webkit-linear-gradient(left, #ccc, #ccc);
    background-image: -o-linear-gradient(45deg, transparent 50%, gray 50%), -o-linear-gradient(315deg, gray 50%, transparent 50%), -o-linear-gradient(left, #ccc, #ccc);
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

.wefbuild_main .buttonarea{    
    float: left;
    width: 100%;
}

.wefbuild_main .buttonarea a {float: left;    margin-right: 10px;}
.wefbuild_main .buttonarea input {float:left;}


/* start by vikas */
.wef-popup#wef-new-form-popup {
    width: 50%;
    left: 30%;
    top: 30%;

}

.wefbuild .wef-modal-overlay {
    z-index: 9999;
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
}

.wef-popup {
    display: none;
    position: fixed;
    background-color: #fffffe;
    z-index: 2;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    left: 20%;
    left: calc(20% + 160px);
    
    font-family: Roboto, sans-serif;
    width: 100%;
    height: auto;
    overflow-y: auto;
    top: 10%;
}

.wef-popup#wef-new-form-popup .wef-popup-header {
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    text-transform: capitalize;
    z-index: 999;
}

.wef-popup-header {
    width: 100%;
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    float: left;
    padding: 20px 0px;
    background-color: #4bafe1;
}

.wef-popup#wef-new-form-popup .wef-new-form-popup-footer {
    height: 60px;
    width: 100%;
    line-height: 60px;
    text-transform: uppercase;
    text-align: right;
    padding-right: 15px;
    position: sticky;
    bottom: 0px;
    background-color: #fff;
    border-top: 2px solid #fafafa;
}

.wef-popup#wef-new-form-popup .wef-popup-header .wef-popup-title {
    font-size: 14px;
    font-weight: 600;
    color: #23282d;
    float: left;
}
img.wef-popup-close {
    height: 20px;
    display: inline-block;
    float: right;
    margin-right: 10px;
    opacity: 0.5;
    cursor: pointer;
}

/* form dashboard css by vikas */

.wef-edit-form-left {
    float: left;
    width: 25%;
}

.wef-edit-form-right {
    float: left;
    width: 75%;
}

.wef-edit-form-right-right {
    float: right;
}

.wef-edit-form-right-left {
    float: left;
}



.wef-form-nav-tabs {    
    display: block;
    float: left;
    width: 90%;
    max-width: 1100px;
    margin: 20px 10% 10px 5%;
    color: #555d66;
    position: relative;}

.wef-tab {
    float: left;
    width: 100%;
    text-decoration: none;
    margin-bottom: 5px;
    padding: 5px 10px;
    outline: 0px;
   
}

.wef-tab:hover,.wef-tab-active{
    background: #cecece;
    border-radius: 15px;
    outline:0px;
    box-shadow: none;
}
.wef-tab-container{
    float: left;
    width:100%;
    padding:5px 10px;
}
.wef-left {
    float: left;
}
.wef-right {
    float: right;
}

span.wef-button {
    float: left;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 25px;
    margin-left: 10px;
}

span.wef-button i.material-icons {
    float: left;
    padding-right: 5px;
    
}
span.wef-button.wef-gray{
    background:gray;
    color:white;
}
span.wef-button.wef-blue{
    background:#16A8E3;
    color:white;
}

.wef-tab-wrapper-content {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    float: left;
    width: 100%;
    margin-bottom: 25px;
}
.wefrow{padding: 10px 0;
    float: left;
    width: 100%;}

.wef-tab-header {
    font-weight: bold;
    border-bottom: 1px solid #f1f1f1;
    padding: 20px;
    font-size: 25px;
}

.wef-tab-wrapper-content .weffield{
    width: 25%;
    max-width: 200px;
    float: left;
}

.wef-tab-wrapper-content .weffield label{
         padding: 10px;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    float: left;
}

.wef-tab-wrapper-content .weffield .wefnote {
    padding: 10px;
    float: left;
    width: 100%;
}

.wef-tab-wrapper-content .wefinput{
    width: 75%;
    float: left;
}

.wefinput .wef-switch-field{
     display: flex;
    margin-bottom: 36px;
    overflow: hidden;
}

.wefinput .wef-switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.wefinput .wef-switch-field label {
    background-color: #F8F8F8;
    color: #9B9B9B;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 16px 16px;
    margin-right: 2px;
    border: none;
    transition: all 0.1s ease-in-out;
    font-weight: bold;
}

.wefinput .wef-switch-field label:hover {
    cursor: pointer;
}

.wefinput .wef-switch-field input:checked + label {
    background-color: #E1F6FF;
    color:#16A8E3;
    box-shadow: none;
}

.wefinput .wef-switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.wefinput .wef-switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

.wefinput label.inner-label {
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    float: left;
    padding: 10px 0px;
}

.wefinput .wefnote {
    padding: 10px 0px;
}

/* toggle button by vikas */

.wef-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.wef-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.wef-switch-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .wef-switch-slider {
  background-color: #2196F3;
}

input:focus + .wef-switch-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .wef-switch-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

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

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

/* end by vikas */

/* end by Dialog */

.wef-dialog {
    overflow: auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    z-index: 13;
    top: 0;
    right: 0;
    bottom: 0;
    left: 160px;
    background-color: rgba(51,51,51,.95);
}

.wef-dialog.wef-dialog-open {
    display: flex !important;
}

.wef-forms-modern .wef-dialog,
.wef-dialog.wef-forms-modern {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(6px);
}

.wef-dialog .wef-dialog-overlay {
    position: absolute;
    z-index: 13;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.wef-dialog .wef-dialog-content {   
    width: 100%;
    max-width: 660px;
    max-height: 85%;
    position: relative;
    z-index: 13;
    margin: 0 auto;
    padding: 0 30px;
}

.wef-forms-modern .wef-dialog .wef-dialog-content,
.wef-dialog.wef-forms-modern .wef-dialog-content {
    max-width: 720px;
}

.wef-dialog .wef-box {
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    min-height: 20px;
    position: relative;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}

.wef-forms-modern .wef-dialog .wef-box,
.wef-dialog.wef-forms-modern .wef-box {
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.wef-box-header {
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 30px;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 30px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.wef-forms-modern .wef-box-header,
.wef-dialog.wef-forms-modern .wef-box-header {
    padding: 20px 28px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 60%, #2b2b2b 100%);
    border-bottom: none;
}

.wef-box-title{    
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    color: #333;
    font: 700 15px/30px Roboto,Arial,sans-serif;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wef-forms-modern .wef-box-title,
.wef-dialog.wef-forms-modern .wef-box-title {
    font-family: "DM Serif Display", serif;
    color: #f8f5f0;
    font-size: 20px;
    font-weight: 400;
}

.wef-actions-right {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
}

.wef-forms-modern .wef-actions-right .wef-dialog-close,
.wef-dialog.wef-forms-modern .wef-actions-right .wef-dialog-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.wef-forms-modern .wef-actions-right .wef-dialog-close:hover,
.wef-dialog.wef-forms-modern .wef-actions-right .wef-dialog-close:hover {
    background: rgba(255,255,255,0.2);
}

.wef-box-selectors{   
    padding: 20px 30px;
    background-color: #f8f8f8;
}

.wef-forms-modern .wef-box-body,
.wef-dialog.wef-forms-modern .wef-box-body {
    padding: 24px 28px 8px;
    color: #3a3a3a;
    font-size: 14px;
}

.wef-forms-modern .wef-box-body p,
.wef-dialog.wef-forms-modern .wef-box-body p {
    margin: 0;
}

.wef-forms-modern .wef-new-form-wrap,
.wef-dialog.wef-forms-modern .wef-new-form-wrap {
    padding: 8px 28px 24px;
}

.wef-forms-modern .wef-new-form-wrap .wefrow,
.wef-dialog.wef-forms-modern .wef-new-form-wrap .wefrow {
    padding: 14px 0;
}

.wef-forms-modern .wef-new-form-wrap .weffield,
.wef-dialog.wef-forms-modern .wef-new-form-wrap .weffield {
    font-weight: 600;
    color: #1f1f1f;
}

.wef-forms-modern .wef-new-form-wrap .wef-input-field,
.wef-dialog.wef-forms-modern .wef-new-form-wrap .wef-input-field {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    font-size: 14px;
    padding: 0 12px;
}

.wef-forms-modern .wef-new-form-wrap .wef-input-field:focus,
.wef-dialog.wef-forms-modern .wef-new-form-wrap .wef-input-field:focus {
    border-color: rgba(15,93,92,0.45);
    box-shadow: 0 0 0 3px rgba(15,93,92,0.15);
}

.wef-forms-modern .wefradio,
.wef-dialog.wef-forms-modern .wefradio {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 6px 0 0;
}

.wef-forms-modern .wefradio li,
.wef-dialog.wef-forms-modern .wefradio li {
    margin: 0;
    padding: 0;
    background: #f6f6f3;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wef-forms-modern .wefradio input[type="radio"],
.wef-dialog.wef-forms-modern .wefradio input[type="radio"] {
    margin: 0;
}

.wef-box-selectors ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding: 0;
    border: 0;
    list-style: none;
}

.wef-box-selectors ul li {
    min-width: 20%;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 5px;
    margin: 0;
}

.wef-box-selectors ul li .wef-box-selector  {
    overflow: hidden;
    display: block;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 7px 0 rgba(0,0,0,.05);
    color: #888;
    font-family: Roboto,Arial,sans-serif;
    letter-spacing: -.25px;
    transition: all .3s ease;
    cursor: pointer;
}

.wef-box-selectors ul li input{border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute!important;
    width: 1px;
    word-wrap: normal!important;}


.wef-box-selectors ul li .wef-box-selector input+span {
    display: block;
    padding: 21px 10px 16px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
}

.wef-box-selectors ul li .wef-box-selector input:checked+span {
    overflow: hidden;
    position: relative;
    background-color: #e1f6ff;
    color: #17a8e3;
}

.wef-box-selectors ul li .wef-box-selector input:checked+span:before {
    content: "_";
    position: absolute;
    z-index: 1;
    top: 5px;
    right: 5px;
    color: #fff;
    font-size: 12px;
}

.wef-box-selectors ul li .wef-box-selector input:checked+span:after {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    border-top: 40px solid #17a8e3;
    border-left: 40px solid transparent;
}

.wef-box-footer {
    border-top: 1px solid #e6e6e6;
    padding: 30px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.wef-box-footer .wef-builder-builder-fields-close {
    background-color: #ffffff00;
    color: #888;
    width: auto;
    min-width: 80px;
    padding: 5px 14px;
    font: 500 12px/16px Roboto,Arial,sans-serif;
    letter-spacing: -.25px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    position: relative;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: all .3s ease;
    border-color: #ddd;
}

.wef-box-footer .wef-actions-right .wef-button-blue {
    background-color: #17a8e3;
    color: #fff;
}

.wef-forms-modern .wef-box-footer,
.wef-dialog.wef-forms-modern .wef-box-footer {
    padding: 18px 28px;
    background: #faf9f6;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.wef-forms-modern .wef-box-footer .wef-builder-builder-fields-close,
.wef-dialog.wef-forms-modern .wef-box-footer .wef-builder-builder-fields-close {
    border-radius: 999px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
}

.wef-forms-modern .wef-box-footer .wef-actions-right .wef-button-blue,
.wef-dialog.wef-forms-modern .wef-box-footer .wef-actions-right .wef-button-blue {
    background: #0f5d5c;
    border-radius: 999px;
    padding: 9px 18px;
    border: none;
    box-shadow: 0 10px 20px rgba(15,93,92,0.2);
}

/* vikas css start */

.wefbuild .operationsbar {
    display: block;
    width: 100%;
    float: right;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    border: 1px solid #e5e5e5;
}
  
  /* vikas css end */
  
  
  /* sarita CSS start*/
  
  .wef_accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}


.active, .wef_accordion:hover {
  background-color: #ccc;
}


.wef_fieldspanel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

.wef_accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.wef_accordion.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
/* sarita CSS end */

/* Modern forms manager UI */
.wef-forms-modern {
    --wef-bg: #f4f1ec;
    --wef-card: #ffffff;
    --wef-ink: #1f1f1f;
    --wef-muted: #6f6f6f;
    --wef-accent: #0f5d5c;
    --wef-accent-2: #f2b84b;
    --wef-border: rgba(31, 31, 31, 0.08);
    --wef-shadow: 0 16px 40px rgba(31, 31, 31, 0.12);
    font-family: "Space Grotesk", sans-serif;
    background: linear-gradient(135deg, #f4f1ec 0%, #f7f7f2 50%, #f1f6f9 100%);
    border-radius: 18px;
    padding: 26px;
}

.wef-forms-modern .wef-page-title {
    background: transparent;
    margin: -10px -10px 20px;
    border-radius: 16px;
    padding: 10px 10px 0;
}

.wef-forms-modern .wpefb-review-request {
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 93, 92, 0.14);
    border-left: 4px solid #0f5d5c;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
    box-shadow: 0 12px 28px rgba(31, 31, 31, 0.06);
}

.wef-forms-modern .wpefb-review-request__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #163534;
}

.wef-forms-modern .wpefb-review-request__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5c5c;
}

.wef-forms-modern .wpefb-review-request__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.wef-forms-modern .wef-page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    background: #111;
    color: #f8f5f0;
    border-radius: 16px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}

.wef-forms-modern .wef-page-title-row:after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(242,184,75,0.6) 0%, rgba(242,184,75,0) 70%);
    opacity: 0.8;
    pointer-events: none;
}

.wef-forms-modern .wef-title-block h1 {
    font-family: "DM Serif Display", serif;
    font-size: 26px;
    margin: 0 0 6px;
    color: #f8f5f0;
}

.wef-forms-modern .wef-subtitle {
    margin: 0;
    color: rgba(248, 245, 240, 0.7);
    font-size: 14px;
}

.wef-forms-modern .wef-title-actions {
    display: flex;
    align-items: center;
}

.wef-forms-modern .wef-primary-btn,
.wef-forms-modern .wef-secondary-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    pointer-events: auto;
}

.wef-forms-modern .wef-primary-btn {
    background: #f2b84b;
    color: #1a1a1a;
    box-shadow: 0 10px 20px rgba(242, 184, 75, 0.35);
}

.wef-forms-modern .wef-primary-btn:hover {
    transform: translateY(-1px);
}

.wef-forms-modern .wef-secondary-btn {
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid rgba(31,31,31,0.15);
}

.wef-forms-modern .wef-reset-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wef-forms-modern .wef-page-menu {
    margin-top: 18px;
    gap: 12px;
}

.wef-forms-modern .wef-search-form {
    width: 100%;
    text-align: left;
}

.wef-forms-modern .wef-search-form form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.wef-forms-modern .wef-search-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--wef-ink);
}

.wef-forms-modern .wef-search-form input {
    width: 240px;
    border-radius: 999px;
    border: 1px solid var(--wef-border);
    padding: 8px 14px;
    background: #fff;
    font-size: 13px;
}

.wef-forms-modern .wef-form-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.wef-forms-modern .wef-form-card {
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    border-radius: 18px;
    box-shadow: var(--wef-shadow);
    border: 1px solid var(--wef-border);
    overflow: hidden;
    background: var(--wef-card);
}

.wef-forms-modern .wef-form-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
}

.wef-forms-modern .wef-card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wef-forms-modern .wef-card-title a {
    font-size: 16px;
    font-weight: 600;
    color: var(--wef-ink);
    text-transform: none;
}

.wef-forms-modern .wef-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wef-forms-modern .wef-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(15, 93, 92, 0.08);
    color: var(--wef-accent);
}

.wef-forms-modern .wef-pill-type {
    background: rgba(242, 184, 75, 0.2);
    color: #8a5a00;
}

.wef-forms-modern .wef-pill-link {
    text-decoration: none;
    background: rgba(31, 31, 31, 0.06);
    color: var(--wef-ink);
}

.wef-forms-modern .wef-pill-link strong {
    font-size: 13px;
}

.wef-forms-modern .wef-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wef-forms-modern .wef-short-code-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.wef-forms-modern .wef-shortcode-btn {
    width: 100%;
    border: 1px dashed rgba(31, 31, 31, 0.2);
    background: rgba(15, 93, 92, 0.04);
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wef-forms-modern .wef-shortcode-btn:hover {
    border-color: rgba(15, 93, 92, 0.4);
    box-shadow: 0 8px 18px rgba(15, 93, 92, 0.15);
    transform: translateY(-1px);
}

.wef-forms-modern .wef-shortcode-btn:focus {
    outline: 2px solid rgba(15, 93, 92, 0.35);
    outline-offset: 2px;
}

.wef-forms-modern .wef-shortcode-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    color: var(--wef-ink);
    word-break: break-word;
}

.wef-forms-modern .wef-shortcode-action {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--wef-accent);
    background: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(15, 93, 92, 0.25);
}

.wef-forms-modern .copy-message {
    color: var(--wef-accent);
    font-weight: 600;
    font-size: 12px;
    margin-left: 6px;
}

.wef-forms-modern .wef-short-code-wrap .copy-message {
    position: static;
    width: auto;
    text-align: left;
}

.wef-forms-modern .wef-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
}

.wef-forms-modern .wef-card-actions .wef-action {
    width: 100%;
    margin: 0;
}

.wef-forms-modern .wef-card-actions .wef-action span {
    display: inline-block !important;
    margin: 0;
}

.wef-forms-modern .wef-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #f6f6f3;
    border: 1px solid rgba(31, 31, 31, 0.08);
    font-size: 12px;
    font-weight: 600;
    color: var(--wef-ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    justify-content: flex-start;
    min-height: 40px;
}

.wef-forms-modern .wef-action i.material-icons {
    font-size: 18px;
}

.wef-forms-modern .wef-action span {
    display: inline-block;
}

.wef-forms-modern .wef-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(31, 31, 31, 0.12);
}

.wef-forms-modern .wef-action-primary {
    background: rgba(15, 93, 92, 0.12);
    color: var(--wef-accent);
    border-color: rgba(15, 93, 92, 0.25);
}

.wef-forms-modern .wef-action-danger {
    background: rgba(166, 36, 36, 0.12);
    color: #a62424;
    border-color: rgba(166, 36, 36, 0.2);
}

.wef-forms-modern .wef-action-danger:hover {
    background: rgba(166, 36, 36, 0.18);
}

.wef-forms-modern .wef-action-primary:hover {
    background: rgba(15, 93, 92, 0.18);
}

.wef-forms-modern .wef-action:hover i.material-icons {
    transform: translateX(1px);
}

/* Pagination */
.wef-forms-modern .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: 10px;
    border: 1px solid var(--wef-border);
    background: #fff;
    color: var(--wef-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.wef-forms-modern .page-numbers.current {
    background: var(--wef-accent);
    color: #fff;
    border-color: transparent;
}

.wef-forms-modern .page-numbers:hover {
    background: rgba(15, 93, 92, 0.12);
}

.wef-forms-modern .page-numbers.dots {
    border: none;
    background: transparent;
}

.wef-forms-modern .wef-pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding: 12px 8px 0;
}

.wef-forms-modern .pagination,
.wef-forms-modern .navigation {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.wef-forms-modern ul.page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 50px;
}

.wef-forms-modern ul.page-numbers li {
    margin: 0;
}

/* Modern builder page */
.wef-fields-modern .advrf-page-title {
    background: #111;
    color: #f8f5f0;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.wef-fields-modern .advrf-page-title h1 {
    font-family: "DM Serif Display", serif;
    font-size: 24px;
    margin: 0 0 10px;
    color: #f8f5f0;
}

.wef-fields-modern .wef-title-muted {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    color: rgba(248, 245, 240, 0.7);
}

.wef-fields-modern .advrf-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wef-fields-modern .advrf-nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

.wef-fields-modern .advrf-nav-item img {
    filter: brightness(2.2);
    opacity: 0.9;
}

.wef-fields-modern .advrf-form-builder-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(31,31,31,0.12);
    border: 1px solid rgba(31,31,31,0.08);
}

.wef-fields-modern #advrforms-form-title {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    margin-bottom: 12px;
}

.wef-fields-modern .advrf-form-code {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: #f6f6f3;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 0 12px;
}

.wef-fields-modern #form-code {
    border-radius: 999px;
    border: 1px dashed rgba(0,0,0,0.18);
    padding: 6px 12px;
    font-size: 12px;
    background: #fff;
    width: 260px;
}

.wef-fields-modern #copy-message {
    color: #0f5d5c;
    font-weight: 600;
}

.wef-fields-modern .advrf-form-builder {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    align-items: start;
    position: relative;
}

.wef-fields-modern .advrf-field-type-container {
    background: linear-gradient(180deg, #fbfbf7 0%, #f3f4ef 100%);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(17,24,39,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 24px rgba(17,24,39,0.04);
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.wef-fields-modern .advrf-field-heading {
    font-size: 15px;
    margin: 0;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.wef-fields-modern .wef-field-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 10px;
    grid-column: 1 / -1;
}

.wef-fields-modern .wef-field-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wef-fields-modern .wef-field-tab {
    border: 1px solid rgba(17,24,39,0.10);
    background: rgba(255,255,255,0.92);
    color: #4b5563;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wef-fields-modern .wef-field-tab:hover {
    border-color: rgba(15,93,92,0.18);
    color: #111827;
    box-shadow: 0 4px 10px rgba(17,24,39,0.06);
}

.wef-fields-modern .wef-field-tab.is-active {
    background: #0f5d5c;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(15,93,92,0.18);
}

.wef-fields-modern .wef-field-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(17,24,39,0.12);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 2px 8px rgba(17,24,39,0.04);
}

.wef-fields-modern .wef-field-search .dashicons {
    color: #6b7280;
    font-size: 17px;
    width: 17px;
    height: 17px;
}

.wef-fields-modern .wef-field-search input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 12px;
    color: #111827;
}

.wef-fields-modern .wef-field-search input:focus {
    outline: none;
}

.wef-fields-modern .wef-field-search:focus-within {
    border-color: rgba(15,93,92,0.28);
    box-shadow: 0 0 0 4px rgba(15,93,92,0.08);
}

.wef-fields-modern .field-item {
    background: #fff;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 16px;
    padding: 14px 10px 13px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    margin: 0;
    text-align: center;
    min-height: 94px;
    position: relative;
    box-shadow: 0 4px 14px rgba(17,24,39,0.04);
    user-select: none;
}

.wef-fields-modern .field-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(31,31,31,0.10);
    border-color: rgba(15,93,92,0.22);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

.wef-fields-modern .field-item:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(31,31,31,0.08);
}

.wef-fields-modern .field-item .dashicons {
    color: #0f5d5c;
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(15,93,92,0.08);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wef-fields-modern .field-item .field-label {
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.35;
    max-width: 100%;
    letter-spacing: -0.01em;
}

.wef-fields-modern .field-item .field-desc {
    display: none;
}

.wef-fields-modern .field-item .erfb-drag-handle {
    display: none;
}

.wef-fields-modern .field-item.is-pro-locked {
    position: relative;
    border-color: rgba(15,93,92,0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
}

.wef-fields-modern .field-item.is-pro-locked:hover {
    box-shadow: 0 10px 24px rgba(31,31,31,0.1);
}

.wef-fields-modern .field-item.is-pro-locked .erfb-drag-handle {
    opacity: 0.35;
}

.wef-fields-modern .field-item.is-pro-locked::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(185, 130, 44, 0.22);
    pointer-events: none;
}

.wef-fields-modern .field-item .wefb-pro-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #b9822c;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wef-fields-modern .field-item.is-pro-locked {
    position: relative;
}

.wef-fields-modern .field-item:hover .dashicons {
    background: rgba(15,93,92,0.12);
    transform: translateY(-1px);
}

.wef-fields-modern .field-item.ui-draggable-dragging {
    width: 112px !important;
    min-height: 94px;
    box-shadow: 0 20px 32px rgba(17,24,39,0.18);
    border-color: rgba(15,93,92,0.26);
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
    transform: rotate(-2deg);
    z-index: 9999 !important;
}

.wef-fields-modern .field-item.ui-draggable-dragging .dashicons {
    background: rgba(15,93,92,0.16);
}

.wef-fields-modern .field-item.ui-draggable-dragging .wefb-pro-badge {
    opacity: 1;
}

.wef-fields-modern .builder-canvas {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    min-height: 520px;
    padding: 12px;
}

.wef-fields-modern .field-rendered {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 18px rgba(31,31,31,0.08);
    min-height: 40px;
}

.wef-fields-modern .field-rendered .field-title {
    font-weight: 700;
    color: #1f1f1f;
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wef-fields-modern .field-rendered .field-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.wef-fields-modern .field-rendered .field-type-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0f5d5c;
    background: rgba(15, 93, 92, 0.1);
    border: 1px solid rgba(15, 93, 92, 0.22);
    border-radius: 999px;
    padding: 2px 8px;
    flex: 0 0 auto;
}

.wef-fields-modern .field-rendered .field-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.wef-fields-modern .field-rendered .field-settings,
.wef-fields-modern .field-rendered .remove-field {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #f6f6f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: static !important;
}

.wef-fields-modern .field-rendered .field-settings {
    margin-left: 0;
}

.wef-fields-modern .field-rendered .field-settings:hover {
    background: rgba(15,93,92,0.12);
    color: #0f5d5c;
}

.wef-fields-modern .field-rendered .remove-field:hover {
    background: rgba(166,36,36,0.12);
    color: #a62424;
}

.wef-fields-modern .field-rendered .dashicons {
    font-size: 16px;
    line-height: 1;
}

.wef-fields-modern .field-rendered button + button {
    margin-left: 6px;
}

.wef-fields-modern .field-rendered .field-actions button {
    margin-left: 0;
}

.wef-fields-modern .section-controls {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px 8px;
}

.wef-fields-modern .section-controls button {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #f6f6f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wef-fields-modern .section-controls .remove-row:hover {
    background: rgba(166,36,36,0.12);
    color: #a62424;
}

.wef-fields-modern .section-controls .section-settings:hover {
    background: rgba(15,93,92,0.12);
    color: #0f5d5c;
}

.wef-fields-modern .section-controls .dashicons {
    font-size: 16px;
    line-height: 1;
}

.wef-fields-modern #field-settings-form {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 16px;
    box-shadow: 0 12px 26px rgba(31,31,31,0.1);
}

.wef-fields-modern .wefb-field-settings-form h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

.wef-fields-modern .wefb-field-settings-form .form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.wef-fields-modern .wefb-field-settings-form input,
.wef-fields-modern .wefb-field-settings-form select,
.wef-fields-modern .wefb-field-settings-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 8px 10px;
    font-size: 13px;
}

.wef-fields-modern .wefb-field-settings-form fieldset {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.wef-fields-modern .wefb-field-settings-form legend {
    font-weight: 700;
    font-size: 12px;
    color: #1f1f1f;
}

.wef-fields-modern .wefb-field-settings-form .form-actions .button {
    border-radius: 999px;
    padding: 8px 16px;
}

.wef-fields-modern .wefb-field-settings-form .option-list {
    border: 1px dashed rgba(15,93,92,0.25);
    border-radius: 10px;
    padding: 8px;
    background: #f8fbfb;
}

.wef-fields-modern .wefb-field-settings-form .option-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.wef-fields-modern .wefb-field-settings-form .option-item:last-child {
    margin-bottom: 0;
}

.wef-fields-modern .wefb-field-settings-form .option-item.wefb-option-item-invalid .option-label {
    border-color: #d63638;
    box-shadow: 0 0 0 1px rgba(214,54,56,0.2);
}

.wef-fields-modern .wefb-field-settings-form .wefb-option-item-error,
.wef-fields-modern .wefb-field-settings-form .wefb-option-list-error {
    margin: 6px 0 0;
}

.wef-fields-modern .wefb-field-settings-form .remove-option {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(166,36,36,0.2);
    background: rgba(166,36,36,0.08);
    color: #a62424;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wef-fields-modern .wefb-field-settings-form .remove-option:hover {
    background: rgba(166,36,36,0.14);
}

.wef-fields-modern .wefb-field-settings-form .remove-option .dashicons {
    font-size: 16px;
    line-height: 1;
}

.wef-fields-modern .wefb-field-settings-form .add-option {
    margin-top: 8px;
    border-radius: 999px;
    border: 1px solid rgba(15,93,92,0.22);
    background: rgba(15,93,92,0.1);
    color: #0f5d5c;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
}

.wef-fields-modern .wefb-field-settings-form .wefb-text-preview-card,
.wef-fields-modern .wefb-field-settings-form .wefb-dropdown-preview-card {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 12px;
    background: #f9fbfd;
}

.wef-fields-modern .wefb-field-settings-form .wefb-dropdown-preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-text-preview-input,
.wef-fields-modern .wefb-field-settings-form .wefb-dropdown-preview-select {
    width: 100%;
    background: #fff;
}

.wef-fields-modern .wefb-field-settings-form .wefb-textarea-preview-card {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 12px;
    background: #f9fbfd;
}

.wef-fields-modern .wefb-field-settings-form .wefb-textarea-preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-textarea-preview-input {
    width: 100%;
    background: #fff;
    resize: vertical;
}

.wef-fields-modern .wefb-field-settings-form .wefb-checkbox-preview-card {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 12px;
    background: #f9fbfd;
}

.wef-fields-modern .wefb-field-settings-form .wefb-checkbox-preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-checkbox-preview-options {
    display: grid;
    gap: 6px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-checkbox-preview-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
}

.wef-fields-modern .wefb-field-settings-form .wefb-radio-preview-card {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 12px;
    background: #f9fbfd;
}

.wef-fields-modern .wefb-field-settings-form .wefb-radio-preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-radio-preview-options {
    display: grid;
    gap: 6px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-radio-preview-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
}

.wef-fields-modern .wefb-field-settings-form .wefb-date-preview-card,
.wef-fields-modern .wefb-field-settings-form .wefb-country-preview-card,
.wef-fields-modern .wefb-field-settings-form .wefb-timezone-preview-card,
.wef-fields-modern .wefb-field-settings-form .wefb-language-preview-card,
.wef-fields-modern .wefb-field-settings-form .wefb-file-preview-card,
.wef-fields-modern .wefb-field-settings-form .wefb-terms-preview-card {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    padding: 12px;
    background: #f9fbfd;
}

.wef-fields-modern .wefb-field-settings-form .wefb-date-preview-label,
.wef-fields-modern .wefb-field-settings-form .wefb-country-preview-label,
.wef-fields-modern .wefb-field-settings-form .wefb-timezone-preview-label,
.wef-fields-modern .wefb-field-settings-form .wefb-language-preview-label,
.wef-fields-modern .wefb-field-settings-form .wefb-file-preview-label,
.wef-fields-modern .wefb-field-settings-form .wefb-terms-preview-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.wef-fields-modern .wefb-field-settings-form .wefb-date-preview-input,
.wef-fields-modern .wefb-field-settings-form .wefb-country-preview-select,
.wef-fields-modern .wefb-field-settings-form .wefb-timezone-preview-select,
.wef-fields-modern .wefb-field-settings-form .wefb-language-preview-select,
.wef-fields-modern .wefb-field-settings-form .wefb-file-preview-input {
    width: 100%;
    background: #fff;
}

.wef-fields-modern .wefb-field-settings-form .wefb-terms-preview-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
}

/* Modern form dashboard */
.wef-fields-modern .advrf-page-title,
.wef-dashboard-modern .advrf-page-title {
    background: #111;
    color: #f8f5f0;
    border-radius: 16px;
    padding: 18px 22px;
    margin: 0 0 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    overflow: visible;
}

.wef-fields-modern .advrf-page-title h1,
.wef-dashboard-modern .advrf-page-title h1 {
    font-family: "DM Serif Display", serif;
    font-size: 24px;
    margin: 0 0 10px;
    color: #f8f5f0;
}

.wef-dashboard-modern .advrf-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    float: none;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    align-items: center;
}

.wef-dashboard-modern .advrf-nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

.wef-dashboard-modern .advrf-nav-item .dashicons {
    font-size: 18px;
    line-height: 1;
    opacity: 0.9;
    color: #fff;
}

/* Global settings overview */
.wef-configure-modern .advrf-page-title,
.wef-global-modern .advrf-page-title {
    background: #111;
    color: #f8f5f0;
    border-radius: 16px;
    padding: 18px 22px;
    margin: 0 0 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    overflow: visible;
}

.wef-configure-modern .advrf-page-title h1,
.wef-global-modern .advrf-page-title h1 {
    font-family: "DM Serif Display", serif;
    font-size: 24px;
    margin: 0 0 6px;
    color: #f8f5f0;
}

.wef-fields-modern .advrf-nav,
.wef-configure-modern .advrf-nav,
.wef-global-modern .advrf-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    float: none;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    align-items: center;
}

.wef-fields-modern.wrap > .notice,
.wef-dashboard-modern.wrap > .notice,
.wef-global-modern.wrap > .notice,
.wef-configure-modern.wrap > .notice,
.wef-fields-modern.wrap > div.notice,
.wef-dashboard-modern.wrap > div.notice,
.wef-global-modern.wrap > div.notice,
.wef-configure-modern.wrap > div.notice,
.wef-fields-modern.wrap > .error,
.wef-dashboard-modern.wrap > .error,
.wef-global-modern.wrap > .error,
.wef-configure-modern.wrap > .error,
.wef-fields-modern.wrap > .updated,
.wef-dashboard-modern.wrap > .updated,
.wef-global-modern.wrap > .updated,
.wef-configure-modern.wrap > .updated {
    position: relative;
    z-index: 5;
    margin: 0 0 16px;
}

.wef-global-modern .advrf-settings-wrap {
/*    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;*/
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); */
    gap: 16px;
    flex-wrap: wrap;
    flex-direction: row;
}

.wef-global-modern .advrf-setting {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(31,31,31,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wef-global-modern .advrf-setting:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(31,31,31,0.12);
    border-color: rgba(15,93,92,0.25);
}

.wef-global-modern .advrf-setting-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15,93,92,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wef-global-modern .advrf-setting-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.wef-global-modern .advrf-setting-title {
    font-weight: 700;
    font-size: 14px;
    color: #1f1f1f;
}

.wef-global-modern .advrf-setting-desc {
    margin-top: 4px;
    color: #6f6f6f;
    font-size: 12px;
}

@media (max-width: 900px) {
    .wef-global-modern .advrf-settings-wrap {
        grid-template-columns: 1fr;
    }
}

.wef-dashboard-modern .advrforms-new-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
}

.wef-dashboard-modern .advrf-form-dashboard {
    display: grid;
    gap: 16px;
}

.wef-dashboard-modern .advrf-dashboard-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 16px;
    box-shadow: 0 18px 40px rgba(31,31,31,0.1);
}

.wef-dashboard-modern .advrf-section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f1f1f;
}

.wef-dashboard-modern .advrf-section-item-container {
    display: flex;
   
    gap: 14px;
}

.wef-dashboard-modern .advrf-section-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 18px 12px 16px;
    text-decoration: none;
    color: #1f1f1f;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 120px;
    position: relative;
}

.wef-dashboard-modern .advrf-section-item a > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.wef-dashboard-modern .advrf-section-item a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(31,31,31,0.12);
    border-color: rgba(15,93,92,0.25);
}

.wef-dashboard-modern .advrf-section-item .dashicons {
    width: 36px;
    height: 36px;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    border-radius: 12px;
    background: rgba(15,93,92,0.08);
    color: #0f5d5c;
    position: relative;
    z-index: 1;
}

.wef-dashboard-modern .advrf-section-item span {
    font-size: 12px;
    font-weight: 600;
}

.wef-dashboard-modern .advrf-section-item-locked a {
    background: linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
    border-style: dashed;
    border-color: rgba(185, 130, 44, 0.35);
}

.wef-dashboard-modern .advrf-section-item-locked .dashicons {
    background: rgba(185, 130, 44, 0.12);
    color: #8a5a12;
}

.wef-dashboard-modern .wefb-locked-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: #b9822c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(185, 130, 44, 0.18);
    z-index: 2;
}

.wef-dashboard-modern .wefb-locked-note .dashicons {
    width: 12px;
    height: 12px;
    margin: 0;
    font-size: 12px;
    line-height: 12px;
    background: transparent;
    color: currentColor;
    border-radius: 0;
}


.wef-dashboard-modern .dashboard-sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.wef-dashboard-modern .advrf-sidebar-column-wrap {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 14px;
    box-shadow: 0 18px 40px rgba(31,31,31,0.08);
}

.wef-dashboard-modern .advrf-shortcode {
    width: 100%;
    border-radius: 999px;
    border: 1px dashed rgba(0,0,0,0.18);
    padding: 8px 12px;
    font-size: 12px;
}

.wef-dashboard-modern .advrf-contact-info a {
    color: #0f5d5c;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .wef-dashboard-modern .advrforms-new-form {
        grid-template-columns: 1fr;
    }
}

/* Submissions UI */
.wef-submissions-modern .wef-submissions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.wef-submissions-modern .wef-submissions-header h1 {
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: 22px;
}

.wef-submissions-modern .wef-submissions-table {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 26px rgba(31,31,31,0.08);
    background: #fff;
}

.wef-submissions-modern .wef-submissions-table th,
.wef-submissions-modern .wef-submissions-table td {
    padding: 12px 14px;
}

.wef-submissions-modern .wef-submissions-table thead th {
    background: #f6f6f3;
    font-weight: 700;
}

.wef-submissions-modern .wef-submission-file-list {
    display: grid;
    gap: 10px;
}

.wef-submissions-modern .wef-submission-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wef-submissions-modern .wef-submission-file-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fafafa;
    overflow: hidden;
}

.wef-submissions-modern .wef-submission-file-thumb,
.wef-submissions-modern .wef-submission-file-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wef-submissions-modern .wef-submission-file-icon {
    object-fit: contain;
    padding: 8px;
}

.wef-submissions-modern .wef-submission-file-meta {
    display: grid;
    gap: 4px;
}

.wef-submissions-modern .wef-submission-file-name {
    font-weight: 600;
    color: #1f1f1f;
    word-break: break-word;
}

.wef-submissions-modern .wef-submission-file-download {
    font-size: 12px;
    text-decoration: none;
}

.wef-submissions-modern .wef-submission-file-download:hover {
    text-decoration: underline;
}

/* General settings (configure) */
.wef-configure-modern .advrf-form-conf-wrapper {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 22px;
    box-shadow: 0 18px 40px rgba(31,31,31,0.08);
}

.wef-configure-modern .group-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #141414;
    letter-spacing: 0.01em;
    line-height: 1.45;
    padding: 2px 0;
}

.wef-configure-modern .advrf-config-wrap > div > .group-title:not(:first-child) {
    margin-top: 26px;
}

.wef-configure-modern .group-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfa 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 10px 22px;
    /* box-shadow: 0 12px 26px rgba(24, 28, 34, 0.04); */
}

.wef-configure-modern .group-wrap + .group-title {
    margin-top: 24px;
}

.wef-configure-modern .group-wrap > .group-title {
    margin: 8px 0 14px;
}

.wef-configure-modern .group-wrap > .group-title:not(:first-child) {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 0;
}

.wef-configure-modern .advrf-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
/*    align-items: center;*/
align-items: baseline;
}

.wef-configure-modern .advrf-row:last-child {
    border-bottom: none;
}

.wef-configure-modern .advrf-control-label label {
    font-weight: 600;
    color: #1f1f1f;
    display: block;
}

.wef-configure-modern .advrf-control {
    display: flex;
    flex-direction: column;
}

.wef-configure-modern .advrf-control .advrf-input-field,
.wef-configure-modern .advrf-control textarea {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    min-height: 44px;
    padding: 10px 14px;
    width: 100%;
    font-size: 13px;
    line-height: 1.45;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
    vertical-align: middle;
}

.wef-configure-modern .advrf-control textarea {
    min-height: 110px;
    resize: vertical;
}

.wef-configure-modern .advrf-control select.advrf-input-field {
    min-height: 46px;
    height: 46px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 40px;
    line-height: 44px;
}

.wef-configure-modern .advrf-control .advrf-input-field:focus,
.wef-configure-modern .advrf-control textarea:focus {
    border-color: #0f5d5c;
    box-shadow: 0 0 0 3px rgba(15,93,92,0.12);
    outline: none;
}

.wef-configure-modern .advrf-control .description,
.wef-configure-modern .advrf-control .desription {
    color: #6f6f6f;
    margin-top: 6px;
    font-size: 12px;
}

.wef-configure-modern .submit .button {
    border-radius: 999px;
    padding: 8px 16px;
}

.wef-configure-modern .submit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f7 100%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
}

.wef-configure-modern .submit .button,
.wef-configure-modern .submit .button-secondary {
    min-width: 110px;
    text-align: center;
}
.wef-configure-modern .submit .button-secondary {
    background: #f6f6f3;
    border: 1px solid rgba(0,0,0,0.12);
    color: #1f1f1f;
    text-decoration: none;
}

.wef-configure-modern .advrf-child-rows {
    margin: 14px 0 0;
    padding: 10px 18px;
    border-radius: 16px;
    background: #f7f8fa;
    border: 1px solid rgba(15,93,92,0.08);
}

.wef-configure-modern .advrf-child-options {
    display: block;
    margin: 12px 0 0 18px;
    padding: 6px 0 0 18px;
    border-left: 2px solid rgba(32, 101, 209, 0.12);
}

.wef-configure-modern .notice {
    margin: 0 0 18px;
}

.wef-configure-modern .advrf_toggle {
    position: relative;
    width: 42px;
    height: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: #d9d9d9;
    outline: none;
    border-radius: 999px;
    transition: background 0.2s ease;
    cursor: pointer;
    margin-right: 10px;
}

.wef-configure-modern .advrf_toggle:checked {
    background: #0f5d5c;
}

.wef-configure-modern .advrf_toggle:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

.wef-configure-modern .advrf_toggle:checked:before {
    transform: translateX(18px);
}

.wef-configure-modern .advrf-control.advrf-has-child {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.wef-configure-modern .advrf-control.advrf-has-child input[type="radio"] {
    margin-right: 6px;
}

.wef-configure-modern .wef-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wef-configure-modern .wef-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f6f6f3;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 12px;
    font-weight: 600;
    color: #1f1f1f;
    cursor: pointer;
}

.wef-configure-modern .wef-radio-option input {
    margin: 0;
}

.wef-configure-modern .advrf-control.advrf-has-child .description {
    flex-basis: 100%;
}

.wef-configure-modern .advrf-control.advrf-has-child label {
    margin: 0;
}

.wef-configure-modern .wef-merge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.wef-configure-modern .wef-merge-tags .advrf-input-field {
    min-width: 260px;
}

.wef-configure-modern .wef-merge-tags-inline {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.wef-configure-modern .wef-merge-tags-inline .wef-merge-tag-select {
    min-width: 200px;
    height: 30px;
}

.wef-configure-modern .wpefb-settings-upsell {
    padding: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 79, 0.16), transparent 30%),
        linear-gradient(180deg, #fffdf8 0%, #fffaf0 100%);
    border-color: rgba(201, 141, 26, 0.24);
}

.wef-configure-modern .wpefb-settings-upsell-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.wef-configure-modern .wpefb-settings-upsell-hero h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    color: #171717;
}

.wef-configure-modern .wpefb-settings-upsell-hero p {
    margin: 0;
    max-width: 760px;
    color: #5c5649;
    font-size: 13px;
}

.wef-configure-modern .wpefb-settings-upsell-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.wef-configure-modern .wpefb-settings-upsell-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wef-configure-modern .wpefb-settings-upsell-card {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(201, 141, 26, 0.18);
}

.wef-configure-modern .wpefb-settings-upsell-card .dashicons {
    width: 42px;
    height: 42px;
    font-size: 20px;
    line-height: 42px;
    text-align: center;
    border-radius: 12px;
    background: #fff2cf;
    color: #9c6710;
    margin-bottom: 12px;
}

.wef-configure-modern .wpefb-settings-upsell-card h4 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.35;
    color: #171717;
}

.wef-configure-modern .wpefb-settings-upsell-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #5f5a50;
}

@media (max-width: 900px) {
    .wef-configure-modern .advrf-row {
        grid-template-columns: 1fr;
    }

    .wef-configure-modern .wpefb-settings-upsell-hero {
        flex-direction: column;
    }

    .wef-configure-modern .wpefb-settings-upsell-actions {
        justify-content: flex-start;
    }

    .wef-configure-modern .wpefb-settings-upsell-grid {
        grid-template-columns: 1fr;
    }
}

.wef-fields-modern .add-row-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.wef-fields-modern .add-row-button {
    background: #0f5d5c;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 10px 20px rgba(15,93,92,0.2);
}

.wef-configure-modern fieldset, .wef-configure-modern fieldset .advrf-row {
    border:0px;
}

.advrf-wrapper.wef-configure-modern .group-wrap,
.wef-configure-modern .advrf-form-conf-wrapper .group-wrap {
    padding: 15px;
}

.wef-fields-modern .buttonarea .button {
    border-radius: 999px;
    padding: 8px 16px;
    height: auto;
}

.wef-fields-modern .buttonarea-top {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,248,246,0.96) 100%);
}

.wef-fields-modern .buttonarea-top .submit {
    margin: 0;
    display: inline-flex;
    gap: 10px;
}

.wef-fields-modern #advrforms-form-save-btn,
.wef-fields-modern #advrforms-form-save-close-btn {
    min-width: 124px;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.wef-fields-modern #advrforms-form-save-btn {
    background: #0f5d5c;
    border-color: #0f5d5c;
}

.wef-fields-modern #advrforms-form-save-btn:hover,
.wef-fields-modern #advrforms-form-save-btn:focus {
    background: #0c4b4a;
    border-color: #0c4b4a;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15,93,92,0.20);
}

.wef-fields-modern #advrforms-form-save-close-btn {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid rgba(17,24,39,0.14);
}

.wef-fields-modern #advrforms-form-save-close-btn:hover,
.wef-fields-modern #advrforms-form-save-close-btn:focus {
    background: #f9fafb;
    border-color: rgba(15,93,92,0.24);
    color: #0f5d5c;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(17,24,39,0.08);
}

.wef-fields-modern #wefb-builder.wef-settings-open #wefb-canvas {
    position: relative;
    pointer-events: none;
}

.wef-fields-modern #wefb-builder.wef-settings-open #wefb-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.14);
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .wef-fields-modern .advrf-form-builder {
        grid-template-columns: 1fr;
    }

    .wef-fields-modern .advrf-field-type-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wef-fields-modern .buttonarea-top {
        justify-content: stretch;
    }

    .wef-fields-modern .buttonarea-top .submit {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .wef-forms-modern .wef-form-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .wef-forms-modern .wef-form-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    .wef-forms-modern {
        padding: 18px;
    }
    .wef-forms-modern .wef-page-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .wef-forms-modern .wef-form-cards {
        grid-template-columns: 1fr;
    }
    .wef-forms-modern .wef-card-actions {
        grid-template-columns: 1fr;
    }

    .wef-fields-modern .advrf-field-type-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wef-fields-modern .buttonarea-top .submit {
        flex-direction: column;
    }

    .wef-fields-modern #advrforms-form-save-btn,
    .wef-fields-modern #advrforms-form-save-close-btn {
        width: 100%;
    }
}

.wef-pro-modern .advrf-page-title {
    background:
        radial-gradient(circle at top right, rgba(221, 171, 76, 0.2), transparent 32%),
        linear-gradient(135deg, #101418 0%, #151c22 55%, #0f5d5c 100%);
    color: #f8f5f0;
}

.wef-pro-modern .advrf-page-title h1 {
    color: #fff;
    margin-bottom: 8px;
}

.wef-pro-modern .wefb-pro-hero-copy {
    max-width: 720px;
}

.wef-pro-modern .wefb-pro-hero-logo {
    display: inline-block;
    max-height: 42px;
    margin-bottom: 14px;
}

.wef-pro-modern .wefb-pro-hero-text {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    line-height: 1.65;
}

.wef-pro-modern .wefb-pro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.wef-pro-modern .button-hero,
.wef-pro-modern .button-ghost {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wef-pro-modern .button-hero {
    background: linear-gradient(135deg, #d79a31 0%, #b9822c 100%);
    border-color: #b9822c;
    box-shadow: 0 12px 24px rgba(185, 130, 44, 0.24);
}

.wef-pro-modern .button-hero:hover,
.wef-pro-modern .button-hero:focus {
    background: linear-gradient(135deg, #c58b29 0%, #a87120 100%);
    border-color: #a87120;
}

.wef-pro-modern .button-ghost {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.24);
    color: #fff;
}

.wef-pro-modern .button-ghost:hover,
.wef-pro-modern .button-ghost:focus {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.32);
    color: #fff;
}

.wef-pro-modern .wefb-pro-banner-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
    padding: 22px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fffaf2 0%, #f6efe2 100%);
    border: 1px solid rgba(185, 130, 44, 0.2);
    box-shadow: 0 20px 40px rgba(31,31,31,0.08);
}

.wef-pro-modern .wefb-pro-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15,93,92,0.1);
    color: #0f5d5c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wef-pro-modern .wefb-pro-banner-card h2,
.wef-pro-modern .wefb-pro-footer-cta h2 {
    margin: 0 0 8px;
    font-family: "DM Serif Display", serif;
    font-size: 28px;
    line-height: 1.15;
    color: #111827;
}

.wef-pro-modern .wefb-pro-banner-card p,
.wef-pro-modern .wefb-pro-footer-cta p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}

.wef-pro-modern .wefb-pro-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 16px;
    background: #0f5d5c;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(15,93,92,0.18);
}

.wef-pro-modern .wefb-pro-banner-cta:hover,
.wef-pro-modern .wefb-pro-banner-cta:focus {
    background: #0c4b4a;
    color: #fff;
}

.wef-pro-modern .wefb-pro-stat-grid,
.wef-pro-modern .wefb-pro-highlight-grid,
.wef-pro-modern .wefb-pro-module-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.wef-pro-modern .wefb-pro-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wef-pro-modern .wefb-pro-stat-card,
.wef-pro-modern .wefb-pro-highlight-card,
.wef-pro-modern .wefb-pro-module-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 16px 36px rgba(31,31,31,0.06);
}

.wef-pro-modern .wefb-pro-stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1;
    color: #111827;
}

.wef-pro-modern .wefb-pro-stat-card span {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
}

.wef-pro-modern .wefb-pro-module-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wef-pro-modern .wefb-pro-module-card {
    position: relative;
    overflow: hidden;
}

.wef-pro-modern .wefb-pro-module-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(15,93,92,0.12), transparent 72%);
}

.wef-pro-modern .wefb-pro-module-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15,93,92,0.08);
    color: #0f5d5c;
}

.wef-pro-modern .wefb-pro-module-icon .dashicons {
    font-size: 22px;
    line-height: 22px;
    width: 22px;
    height: 22px;
}

.wef-pro-modern .wefb-pro-module-card h3,
.wef-pro-modern .wefb-pro-highlight-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    color: #111827;
}

.wef-pro-modern .wefb-pro-module-card p {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.65;
}

.wef-pro-modern .wefb-pro-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wef-pro-modern .wefb-pro-highlight-card ul {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
}

.wef-pro-modern .wefb-pro-highlight-card li + li {
    margin-top: 8px;
}

.wef-pro-modern .wefb-pro-footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #111827 0%, #0f5d5c 100%);
    color: #fff;
    box-shadow: 0 24px 48px rgba(17,24,39,0.18);
}

.wef-pro-modern .wefb-pro-footer-cta h2,
.wef-pro-modern .wefb-pro-footer-cta p {
    color: #fff;
}

@media (max-width: 1024px) {
    .wef-pro-modern .wefb-pro-stat-grid,
    .wef-pro-modern .wefb-pro-highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    .wef-pro-modern .wefb-pro-hero-actions,
    .wef-pro-modern .wefb-pro-banner-card,
    .wef-pro-modern .wefb-pro-footer-cta {
        grid-template-columns: 1fr;
    }

    .wef-pro-modern .wefb-pro-hero-actions {
        margin-left: 0;
        width: 100%;
    }

    .wef-pro-modern .wefb-pro-banner-cta,
    .wef-pro-modern .button-hero,
    .wef-pro-modern .button-ghost {
        width: 100%;
        justify-content: center;
    }
}
