.is-invalid {
    color: red;
    font-weight: normal;
}

.bg-background {
    background: #f0e7ea !important;
}

.text-base {
    color: #8898aa;
}

.white-bg {
    color: #FFF;
}

.font-14 {
    font-size: .75rem;
}

.custom-btn {
    color: #8A4FFF;
    font-size: .875rem;
    position: relative;
    transition: all .3s ease;
    letter-spacing: .025em;
    text-transform: none;
    will-change: transform;
    border-color: transparent;
    background-color: rgba(138, 79, 255, 0.1);
    border: none;
    outline: none;
}

.custom-btn:hover {
    border: none;
    outline: none;
    color: #fff;
    border-color: #8A4FFF;
    background-color: #8A4FFF;
}

.subscriber-table input.form-control {
    height: 35px;
    border: 1px solid #ebebeb;
    font-size: 14px;
    width: 100%;
    position: relative;
}

.latter-space-0 {
    letter-spacing: 0px;
}

.link{
    cursor: pointer;
}

.custom-control.image-checkbox {
    position: relative;
    padding-left: 0;
}

.custom-control-label{
    height: 20px;
}

.custom-control.image-checkbox .custom-control-input:checked ~ .custom-control-label:after, .custom-control.image-checkbox .custom-control-input:checked ~ .custom-control-label:before {
    opacity: 1;
}

.custom-control.image-checkbox label {
    cursor: pointer;
}

.custom-control.image-checkbox label:before {
    border-color: #8A4FFF;
    background-color: #8A4FFF;
}

.custom-control.image-checkbox label:after, .custom-control.image-checkbox label:before {
    transition: opacity .3s ease;
    opacity: 0;
    left: .25rem;
}

.custom-control.image-checkbox label:focus, .custom-control.image-checkbox label:hover {
    opacity: .8;
}

.custom-control.image-checkbox label img {
    border-radius: 2.5px;
}

.form-group-image-checkbox.is-invalid label {
    color: #dc3545;
}

.form-group-image-checkbox.is-invalid .invalid-feedback {
    display: block;
}

.image-checkbox .custom-control-label {
    height: 4rem !important;
}

.dz-message {
    height: 200px;
}

.nav-link.active {
    color: #8A4FFF;
}

a.clipboard-button,
p.clipboard-button,
span.clipboard-button
{
    cursor: pointer;
    color: #8A4FFF;
}

code[class*=language-], pre[class*=language-] {
    font-family: Consolas, Menlo, Monaco, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.375;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    hyphens: none;
    color: #5e6687;
    border-radius: .25rem;
    background: #f5f7ff;
    direction: ltr;
    -ms-hyphens: none
}

code[class*=language-] ::selection, code[class*=language-]::selection, pre[class*=language-] ::selection, pre[class*=language-]::selection {
    background: #dfe2f1;
    text-shadow: none
}

pre[class*=language-] {
    overflow: auto;
    margin: 0;
    padding: 1.25rem
}

:not(pre) > code[class*=language-] {
    padding: .1em;
    border-radius: .3em
}

.nav-pills .nav-link {
    font-size: .875rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all .15s ease;
    color: #8A4FFF;
    background-color: #fff;
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #8A4FFF;
}

.transfers-list {
    position: relative;
}

.transfers-list .dropdown .dropdown-menu {
    transform: translate3d(-160px, 28px, 0px) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.note-editable.card-block {
    height: 190px !important;
}

.product-payment .nav-item {
    width: 25%;
}

.product-payment .nav-link {
    height: 50px;
    line-height: 25px;
}

.deposit-payment .nav-item {
    width: 25%;
}

.deposit-payment .nav-item .nav-link {
    width: 115px;
}

.deposit-payment .nav-link {
    height: 50px;
    line-height: 25px;
}

.site-btn {
    font-size: 14px;
    color: #ffffff;
    background-color: #4A154B;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 30px;
    -webkit-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
    border-radius: 30px;
}

.site-btn:hover {
    background-color: #8A4FFF;
}

.qr-code{
    width:100px;
    height:100px;
    margin-top:15px;
}

.search-table button {
    border-radius: 0 5px 5px 0 !important;
}

.card .card-header {
    border-bottom-color: #f9f9f9;
    line-height: 30px;
    -ms-grid-row-align: center;
    align-self: center;
    width: 100%;
    min-height: 70px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
}

.card .card-header h4 + .card-header-action, .card .card-header h4 + .card-header-form {
    margin-left: auto;
}

.chartjs-render-monitor {
    height: 350px !important;
}

.summernote-css .note-toolbar.card-header {
    display: inline-block;
}

.inr {
    font-family: 'Bitter', serif;
}

/* CHART CSS */

.chartjs-size-monitor {
    position: absolute;
    inset: 0px;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    z-index: -1;
}

.chartjs-size-monitor-expand {
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    overflow:hidden;
    pointer-events:none;
    visibility:hidden;z-index:-1;
}

.chart-inner-div {
    position:absolute;
    width:1000000px;
    height:1000000px;
    left:0;
    top:0
}

.chartjs-size-monitor-shrink {
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    overflow:hidden;
    pointer-events:none;
    visibility:hidden;
    z-index:-1;
}

.chart-inner-div-2 {
    position:absolute;
    width:200%;
    height:200%;
    left:0;
    top:0
}

.chartjs-render-monitor {
    display: block;
    height: 303px;
    width: 576px;
}
#formbuilderreportgrid {
    display: flex;
    height: 100%;
    width: 100%;
}
#formbuildermenu {
    width: 15%;
    background-color: #f0f0f0;
    padding: 10px;
}
#formbuildermyGrid, #formbuildermyGridChart {
    height: 400px;
    width: 45%;
}
.formbuildermenu-item {
    cursor: pointer;
    padding: 5px;
    list-style: none;
}
.formbuildermenu-item:hover {
    background-color: #ddd;
}
/*body {
    display: flex;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}*/
#formbuildermainPanel {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
}
#formbuilderchatPanel {
height: auto;
    max-height: 400px;
    width: 30%;
    border-left: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    background-color: #f3f3f3;
}
#formbuilderchatHistory {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #ffffff;
}
.formbuilderchatMessage {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.formbuilderchatMessage.formbuilderuserMessage {
    justify-content: flex-end;
}
.formbuilderchatBubble {
    max-width: 70%;
    padding: 10px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
}
.formbuilderuserMessage .formbuilderchatBubble {
    background-color: #8A4FFF;
    color: #ffffff;
    border-top-right-radius: 0;
}
.formbuildersystemMessage .formbuilderchatBubble {
    background-color: #e0e0e0;
    color: #333;
    border-top-left-radius: 0;
}
.formbuilderchatIcon {
    margin: 5px;
    width: 30px;
    height: 30px;
}
#formbuilderchatInputContainer {
    display: flex;
    align-items: center;
}
#formbuilderchatInput {
    flex-grow: 1;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 50px;
}
#formbuildersendButton {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}
#formbuildersendButton img {
    width: 24px;
    height: 24px;
}
#formbuildersuggestions {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1000;
    display: none;
    max-height: 150px;
    overflow-y: auto;
}
.formbuildersuggestionItem {
    padding: 8px;
    cursor: pointer;
}
.formbuildersuggestionItem:hover {
    background-color: #f0f0f0;
}
.formbuilderchart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.formbuilderchart-container {
    width: 32%; /* Ensures 3 charts fit in a row */
    height: 300px; /* Adjust as needed */
    border: 1px solid #ddd; /* Optional border for clarity */
}
#grapesjs-editor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
}
#grapesjs-editor .gjs-editor {
    height: 100%;
}
#grapesjs-save {
    position: absolute;
    top: 10px;
    right: 350px;
    z-index: 10001;
}
#grapesjs-save-for-create {
    position: absolute;
    top: 10px;
    right: 350px;
    z-index: 10001;
}
#formbuildereditFormButton {
    position: absolute;
    top: 100px;
    right: 80px;;
    z-index: 10001;
    /*background-color: #8A4FFF;*/
    color: white;
    border: none;
    padding: 5px 5px;
    border-radius: 5px;
    cursor: pointer;
    color: #2642dd;
}
#formbuildereditFormButton:hover {
color: white;
    /*background-color: #0056b3;*/
}
.form-moment-pay-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
}
.form-moment-pay-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: blue;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
    transform: rotate(360deg);
    }
}

input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

.row.mb-3 {
    margin-bottom: 1rem;
}
.custom-control-label {
    font-weight: normal;
}
.whatsapp-preview {
    width: 300px;
    margin: 20px auto;
    background: #f4f4f4;
    border-radius: 10px;
    border: 2px solid #ccc;
    padding: 10px;
    text-align: center;
}
.phone {
    width: 100%;
    height: 500px;
    border: 2px solid #000;
    border-radius: 15px;
    background: #fff;
    position: relative;
}
.header-whatsapp {
    background: #075e54;
    color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    border-top-right-radius: 10px;
border-top-left-radius: 10px;
}
.chat {
    height: 400px;
    padding: 10px;
    overflow-y: auto;
    background: #e5ddd5;
    display: flex;
    align-items: end;
    justify-content: right;
}
.chat-message {
    background: #dcf8c6;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    text-align: left;
    font-size: 14px;
}
.input-box {
    position: absolute;
    bottom: 10px;
    width: 100%;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
}
/* You can add further customizations here */

/* WhatsApp Preview Styles */
.whatsapp-preview-wrapper {
    position: sticky;
    top: 20px; /* Adjust as needed */
    height: calc(100vh - 20px); /* Adjust as needed */
    width: auto; /* Adjust as needed */
    margin-left: auto; /* Push to the right */
    margin-right: 20px; /* Add some right margin */
}

.whatsapp-preview {
    width: 300px;
    margin: 0; /* Remove default margin */
    background: #f4f4f4;
    border-radius: 10px;
    border: 2px solid #ccc;
    padding: 10px;
    text-align: center;
}
.sms-preview-wrapper {
    position: sticky;
    top: 20px; /* Adjust as needed */
    height: calc(100vh - 20px); /* Adjust as needed */
    width: auto; /* Adjust as needed */
    margin-left: auto; /* Push to the right */
    margin-right: 20px; /* Add some right margin */
}

.sms-preview {
    width: 300px;
    margin: 0; /* Remove default margin */
    background: #f4f4f4;
    border-radius: 10px;
    border: 2px solid #ccc;
    padding: 10px;
    text-align: center;
}

.phone {
    width: 100%;
    height: 500px;
    border: 2px solid #000;
    border-radius: 15px;
    background: #fff;
    position: relative;
}

.header-whatsapp {
    background: #075e54;
    color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}
.header-sms {
    background: hsl(180, 3%, 93%);
    color: rgb(2, 2, 2);
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.chat {
    height: 400px;
    padding: 10px;
    overflow-y: auto;
    background: #ffffff;
    display: flex;
    align-items: end;
    justify-content: right;
}

.chat-message {
    background: #d0c8c8;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    text-align: left;
    font-size: 14px;
}

.input-box {
    position: absolute;
    bottom: 10px;
    width: 100%;
    background: #e9e0e0;
    padding: 10px;
    border-radius: 5px;
}

.scrollbar-inner {
	 background-color: #f0e7ea !important;
}

.bg-secondary {
    background-color: #f0e7ea !important;
}


.main-content {
    background-color: #f0e7ea !important;
}

.navbar {
    position: relative;
    display: flex
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.card {
    box-shadow: 0 2px 12px rgba(108,46,185,0.07);
    border-radius: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
	margin-bottom: 10px;
}
.card-title, .h2, h3 {
    font-weight: 600;
    color: #2d1a4a;
}
.custom-btn {
    font-weight: 600;
	color: #5e1362;
}
btn btn-primary {
	background-color: #5e1362;
}

