
:root {

    /* Custom */
    --primary_one: #5D5191;
    /* --secondary_color: #E62B5D; */
    --bg_gradient: linear-gradient(90deg, #352675 -33.62%, #E62B5D 221.03%);

    --paragraph_color: #251B52;

    --border_color: #EBE9F1;
    --default_color_one: #fff;

    --border-radius: 0.625rem;

    /* bootstrap override */
    --bs-primary: #352675;
    --bs-primary-rgb: 53, 38, 117;
    --bs-danger: #E62B5D;
    --bs-danger-rgb: 230, 43, 93;
    --bs-success: #16A34A;
    --bs-success-rgb: 22, 163, 74;
    --bs-border-radius: 0.313rem;
    --bs-border-color: #EBE9F1;
    --bs-progress-bar-bg: var(--bs-primary);

    --primary_font: 'Sora', sans-serif;
    --secondary_font: 'Inter', sans-serif;
    
    
}

/* Button Global */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary_font);
    -webkit-text-size-adjust: 100%;
}
section{
    padding: 6.25rem 0rem;
}
h1,h2,h3,h4,h5,h6{
    color: var(--bs-primary);
}
/* all title */
h2{
    font-size: 2.063rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: capitalize;
}
/* sub-title */
h3{
    font-size: 1.5rem;
    font-weight: 600;
}
/* card title */
h6{
    font-size: 1.125rem;
    font-weight: 500;
}

a {
    text-decoration: none;
    transition: 0.4s all ease;
    color: var(--paragraph_color);
}

p{
    font-size: 1.063rem;
    color: var(--paragraph_color);
}


/* liner border color */
hr {
    border-color: rgba(229, 227, 242, 0.5);
    opacity: .9;
}

/* global table design */
tbody, td, tfoot, th, thead, tr{
    border-color: #EBE9F1;
    padding: 1.25rem !important;
    color: var(--primary_one);
    font-weight: 500;
    vertical-align: middle;
}

table thead th{
    font-weight: 700;
    color: var(--bs-primary);
}

.table-dark td, .table-dark th {
    color: var(--bs-white) !important;
}

/* progressbar */
.progress-bar{
    background-color: var(--bs-primary);
}

/* button */
.btn {
    --bs-btn-padding-x: 1.563rem;
    --bs-btn-padding-y: 0.625rem;
    --bs-btn-font-weight: 500;
    text-transform: capitalize;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #352675;
    --bs-btn-border-color: #352675;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #251a55;
    --bs-btn-hover-border-color: #251a55;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #352675;
    --bs-btn-active-border-color: #352675;
    --bs-btn-active-shadow: inset 0 0.188rem 0.313rem rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #352675;
    --bs-btn-disabled-border-color: #352675;
}
.btn-outline-primary {
    --bs-btn-color: #352675;
    --bs-btn-border-color: #35267533;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #352675;
    --bs-btn-hover-border-color: #352675;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #352675;
    --bs-btn-active-border-color: #352675;
    --bs-btn-active-shadow: inset 0 0.188rem 0.313rem rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #352675;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #352675;
    --bs-gradient: none;
}
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #16A34A;
    --bs-btn-border-color: #16A34A;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #109340;
    --bs-btn-hover-border-color: #109340;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #109340;
    --bs-btn-active-border-color: #109340;
    --bs-btn-active-shadow: inset 0 3px 0.313rem rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #16A34A;
    --bs-btn-disabled-border-color: #16A34A;
}
.btn-outline-success {
    --bs-btn-color: #16A34A;
    --bs-btn-border-color: #16A34A;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #16A34A;
    --bs-btn-hover-border-color: #16A34A;
    --bs-btn-focus-shadow-rgb: 25,135,84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #16A34A;
    --bs-btn-active-border-color: #16A34A;
    --bs-btn-active-shadow: inset 0 3px 0.313rem rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #16A34A;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #16A34A;
    --bs-gradient: none;
}
/* custom button */
.d2c_project_btn{
    color: #EBE9F1;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
}
.d2c_project_btn:hover{
    color: #EBE9F1;
}
.d2c_project_btn:active{
    color: #EBE9F1 !important;
}
.d2c_gradient_bg{
    background: var(--bg_gradient);
    position: absolute;
    inset: 0rem;
    border-radius: 0.313rem;
    z-index: -2;
}
.d2c_project_btn::before,.d2c_project_btn::after{
    content: '';
    position: absolute;
    width: 50%;
    top: 0rem;
    bottom: 0rem;
    background: var(--bs-primary);
    z-index: -1;
    transition: .4s all ease;
    opacity: 0;
}
.d2c_project_btn::before{
    left: -50%;
    border-radius: 0.313rem 0rem 0rem 0.313rem;
}
.d2c_project_btn::after{
    right: -50%;
    border-radius: 0rem 0rem 0.313rem 0.313rem;
}
.d2c_project_btn:hover::before{
    left: 0rem;
    opacity: 1;
    transition: .4s all ease;
}
.d2c_project_btn:hover::after{
    right: 0rem;
    opacity: 1;
    transition: .4s all ease;
}

::selection {
    background: var(--bs-primary);
    color: #fff;
}


/* global button */

/* list group */
.list-group-item.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* global card */
.card {
    border-radius: var(--border-radius);
    border: 0.063rem solid #EBE9F1;
    background: rgba(255, 255, 255, 0.70);
    -webkit-border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -ms-border-radius: var(--border-radius);
    -o-border-radius: var(--border-radius);
    transition: .4s all ease;
    padding: 1.5rem;
}
.card-header{
    border-color: #EBE9F1;
}
.d2c_small_card:hover{
    border-color: var(--bs-primary);
    background: rgba(53, 38, 117, 0.02);
    transition: .4s all ease;
}
.card-text{
    font-size: 0.938rem;
    color: #5D5191;
}
.d2c_pricing_text{
    color: #72679E;
    background: var(--border_color);
    padding: 5px 20px;
    border-radius: 40px;
    display: inline-block;
    width: max-content;
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--primary_font);
}
.d2c_icon{
    width: 2.625rem;
    height: 2.625rem;
    background: var(--bs-white);
    color: var(--bs-primary);
    font-size: 1.25rem;
    transition: .4s all ease;
    box-shadow: 0rem 0rem 1.25rem 0rem rgba(53, 38, 117, 0.10);
}
.d2c_small_card:hover .d2c_icon{
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .4s all ease;
}
.d2c_small_card{
    margin-bottom: 24px;
}

/* form global css */
.form-label {
    font-weight: 500;
    color: var(--bs-primary);
    text-transform: capitalize;
}
.form-control {
    background-color: transparent;
    border-color: var(--border_color);
    padding: 0.75rem 1rem;
    color: var(--bs-primary);
    font-weight: 400;
}
.form-control::placeholder {
    color: var(--primary_one) !important;
    font-weight: 400;
}
.form-control:focus {
    box-shadow: none;
    border-color: var(--bs-primary);
    background-color: transparent;
}
.form-check-input {
    border-color: var(--bs-primary);
}
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.form-check-input:focus {
    border-color: var(--primary_one);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(53 38 117 / 20%);
}
.form-check-label{
    color: rgba(37, 27, 82, 0.70);
    font-size: 0.938rem;
    font-weight: 500;
}
.form-select{
    height: 50px;
    min-width: 110px;
}
.form-select:focus{
    box-shadow: none;
    border-color: var(--bs-primary);
}
.input-group .form-select{
    width: 110px;
}
/* header search box */
.d2c_search_border_gradient {
    position: relative;
}
.d2c_search_border_gradient{
    width: 20rem;
    padding: 1px;
}
.d2c_search_border_gradient .form-control{
    height: 40px;
}

.d2c_search_border_gradient::before{
    content: '';
    position: absolute;
    background: linear-gradient(to right, #352675, #E62B5D) !important;
    top: -0px;
    bottom: -0px;
    width: 100%;
    border-radius: 7px;
    z-index: -1;
}
.d2c_search_border_gradient .form-control,.d2c_search_border_gradient .input-group-text{
    background: var(--bs-white);
    margin-right: -1px ;
}
.d2c_search_border_gradient .input-group-text{
    margin-left: 1px;
}
.d2c_search_border_gradient .input-group-text i{
    transform: rotate(90deg);
}

/* dropdown button */
.dropdown .btn{
    color: rgba(53, 38, 117, 0.30);
    border: none;
}
.dropdown .dropdown-menu{
    inset: 0rem 1.25rem auto auto !important;
}

.dropdown-item:active{
    background: var(--bs-primary);
}
/* ---------------------------------------------------
    SIDEBAR
----------------------------------------------------- */
.d2c_brand_icon{
    padding: 2.5rem 0rem 2.5rem 1.875rem;
}
.navbar-brand {
    max-width: 12.313rem;
}
.d2c_wrapper {
    display: -webkit-box;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.d2c_sidebar {
    z-index: 1;
    width: 18rem !important;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 1;
    order: 1;
    transition: 0.4s all;
    -webkit-transition: 0.4s all;
    -moz-transition: 0.4s all;
    -ms-transition: 0.4s all;
    -o-transition: 0.4s all;
    background-color: #f8fafb !important;
    height: 100vh;
    position: fixed;
    overflow-y: scroll;
}
.d2c_sidebar .navbar-nav {
    padding: 0;
    overflow-y: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.d2c_sidebar .nav-item .nav-link {
    font-family: var(--secondary_font);
    padding: 0.5rem 0;
    text-decoration: none;
    width: 100%;
    margin-bottom: 0.25rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    word-break: break-all;
    font-weight: 500;
    color: #201746;
    text-transform: capitalize;
    padding: 0.875rem 1.25rem 0.875rem 30px;
    border-radius: 0rem;
    -webkit-border-radius: 0rem;
    -moz-border-radius: 0rem;
    -ms-border-radius: 0rem;
    -o-border-radius: 0rem;
    transition: .4s all ease;
}
.d2c_sidebar .nav-item .nav-link::before{
    content: '';
    position: absolute;
    left: -0.375rem;
    width: 0.375rem;
    height: 100%;
    background: var(--bs-danger);
    border-top-right-radius: 0.313rem;
    border-bottom-right-radius: 0.313rem;
    opacity: 0;
    transition: .4s all ease;
}

.d2c_sidebar .nav-item .nav-link i {
    color: rgba(53, 38, 117, 0.75);
    margin-right: 0.625rem;
    transition: .4s all ease;
    width: 1.25rem;
}

/* Nav Item in Hover, Active, and Focus State */
.d2c_sidebar .nav-item.active .nav-link {
    background: #FDEAEF;
    color: #E62B5D;
}
.d2c_sidebar .nav-item .nav-link:hover::before,.d2c_sidebar .nav-item.active .nav-link::before{
    left: 0rem;
    opacity: 1;
    transition: .4s all ease;
}
.d2c_sidebar .nav-item.active .nav-link i,.d2c_sidebar .nav-item .nav-link:hover i {
    color: var(--bs-danger);
    transition: .4s all ease;
}
.d2c_sidebar .nav-item:hover .nav-link{
    color: #E62B5D;
    background: #FDEAEF;
    transition: .4s all ease;
}

.sub-menu .nav-item{
    list-style-type: none;
}
.d2c_sidebar .sub-menu .nav-link{
    background: transparent !important;
    color: #201746 !important;
    overflow: hidden;
}
.d2c_sidebar .sub-menu .nav-link::before{
    left: -1rem !important;
    width: 3px;
    border-radius: 0px;
}
.d2c_sidebar .sub-menu .nav-link:hover{
    color: var(--bs-danger) !important;
}
.d2c_sidebar .sub-menu .nav-link:hover::before,.d2c_sidebar .sub-menu .nav-link.active::before{
    left: 0rem !important;
    top: 0px;
}
.d2c_sidebar .sub-menu .nav-link:hover{
    background: #FDEAEF !important;
    color: var(--bs-danger) !important;
}
.d2c_sidebar .sub-menu .nav-link.active{
    color: var(--bs-danger) !important;
}
.d2c_sidebar .nav-link[aria-expanded='true'] .fa-chevron-right:before, .d2c_sidebar .sub-menu-link[aria-expanded='true'] .fa-chevron-right:before{
    content: '\f078';
}
.d2c_sidebar .sub-menu .nav-link{
    padding: 8px 1rem 8px 20px;
    text-transform: capitalize;
}
/* scrollbar custom css */
.d2c_sidebar::-webkit-scrollbar {
    display: none;
  }
/* ---------------------------------------------------
    SIDEBAR RESPONSIVE
----------------------------------------------------- */
@media (max-width: 991.98px) {
    .d2c_sidebar {
        overflow-y: auto;
    }
}

/* ---------------------------------------------------
    MAIN BODY
----------------------------------------------------- */
.d2c_main {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 2;
    order: 2;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 100%;
    width: 100%;
    margin-left: 18rem;
}

.input-group-text{
    color: #72679E;
    border-color: var(--border_color);
}

/* top nav */
.d2c_topnav_right img{
    width: 2.875rem;
    height: 2.875rem;
    border-radius: 0.313rem;
    object-fit: cover;
}

/* ---------------------------------------------------
    OFF CANVAS TOGGLE BTN
----------------------------------------------------- */
.d2c_offcanvas_button {
    border: none;
    color: var(--bs-danger) !important;
    background: #FDEAEF;
}
.d2c_offcanvas_button:hover,.d2c_offcanvas_button:active{
    background: #FDEAEF !important;
    color: var(--bs-danger);
}

/* ---------------------------------------------------
   GLOBAL
----------------------------------------------------- */

/*Preloader*/
.preloader {
    background-color: var(--bs-white);
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 1100;
}
.preloader > img {
    max-width: 14.625rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 50%);
}
/* Preloader CSS */


/* 
    Template Name: {{AIWriteCraft - AI Writing SaaS Dashboard Template}}
    Template URL: {{https://designtocodes.com/product/aiwritecraft-ai-writing-saas-dashboard-template/}}
    Description: {{AIWriteCraft is a SaaS dashboard template that you can use for AI Keyword Generators, AI Content Generators, AI Chatbots, and more. Developers can easily customize the template to their needs.}}
    Author: DesignToCodes
    Author URL: https://www.designtocodes.com
    Text Domain: {{ AIWriteCraft }}  
*/
