
.wca-wfb_form-wrap{
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .03);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}


.wca-wfb_form-wrap .form-table th {
    display: none;
}


.wca-wfb_form-wrap  #submit {
    background: #00b884;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s ease all;
}
.wca-wfb_form-wrap  #submit:hover {
    background: #049169;
}


#wfb_form-dashboard-content {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 4px;
}

#wfb_form-dashboard-content p {
    margin: 0;
    white-space: pre-wrap;
}


/* General container for field groups */
.wfb_form-field-group {
    margin-bottom: 20px;
    position: relative;
}

/* Base styling for all form elements */
.wfb_form-input,
.wfb_form-select,
.wfb_form-textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Style for text area */
.wfb_form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Hover state */
.wfb_form-input:hover,
.wfb_form-select:hover,
.wfb_form-textarea:hover {
    border-color: #b1b3b9;
}

/* Focus state for better accessibility and user feedback */
.wfb_form-input:focus,
.wfb_form-select:focus,
.wfb_form-textarea:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.25);
    outline: none;
}

/* Custom styling for the select dropdown arrow */
.wfb_form-select {
    appearance: none; /* Remove default browser styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2214%22%20height%3D%228%22%20viewBox%3D%220%200%2014%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201L7%207L13%201%22%20stroke%3D%22%23666%22%20stroke-width%3D%222%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px 8px;
    padding-right: 40px; /* Space for the custom arrow */
    min-width: 200px;
}

/* Label styling */
.wfb_form-field-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

/* Description text styling */
.wfb_form-field-group .description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.wfb_form-field-wrap,
#ai-email-fields,
#date-range-fields{
	display: flex;
    gap: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
#date-range-fields{
	margin-bottom: 30px;
}

.wfb_form-field-wrap .wfb_form-field-group,
#ai-email-fields .wfb_form-field-group,
#date-range-fields .wfb_form-field-group {
    margin-bottom: 20px;
    width: 100%;
    background-color: #fff;
    border: 1px solid #fff;
    padding: 20px 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}




/* Hide the default radio inputs */
.wfb_form-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Container for the toggle switch */
.wfb_form-toggle-switch {
    position: relative; /* Add position relative for the slider to be positioned correctly */
    display: inline-flex;
    background-color: #f0f0f1;
    border-radius: 8px;
    padding: 4px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    gap: 4px;
    width: max-content; /* Adjust width to fit content */
}

/* Style for the labels */
.wfb_form-toggle-label {
    position: relative;
    z-index: 1;
    cursor: pointer;
    padding: 15px 30px;
    color: #555d66;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: color 0.2s ease-in-out;
    border-radius: 6px;
    min-width: 120px;
    margin-bottom: 0px !important;
}

/* Style for the sliding indicator */
.wfb_form-toggle-slider {
    position: absolute;
    background-color: #2196F3;
    border-radius: 6px;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

/* Highlight the active label */
.wfb_form-toggle-input:checked + .wfb_form-toggle-label {
    color: #fff;
}

/* Move the slider when the "Date Range" radio is checked */
#order_scope_range:checked ~ .wfb_form-toggle-slider {
    transform: translateX(100%);
}

/* Add a subtle hover effect */
.wfb_form-toggle-label:hover {
    color: #007cba;
}



/* Schedule Toggle Switch */
.wfb_form-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

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

.wfb_form-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.wfb_form-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

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

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

.qcld-wpbot-gcdownload-area .btn.btn-primary {
    padding: 14px 20px;
    width: auto;
    font-size: 16px;
    font-weight: 500;
    color: #988FBD;
    border-radius: 8px;
    position: relative;
    display: inline-block;
    align-items: center;
    gap: 15px;
    background: #5B4E96;
    color: #ffffff;
    text-decoration: none;
}

.wpbot-google-calendar-desc{
    padding: 15px;
    background: indianred;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 782px) {
    .wfb_form-input,
    .wfb_form-select,
    .wfb_form-textarea {
        max-width: 100%;
    }
}