@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&display=swap');
:root {
    scroll-behavior: smooth;
    --primary: #4154f1;
    --secondary: #717ff5;
    --bgColor: #f6f9ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #444444;
    background: var(--bgColor);
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--primary);
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
}

.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    -webkit-animation-name: dropdown-animate;
    animation: dropdown-animate;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: .3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

.dropdown-toggle::after {
    display: inline-block;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
}


@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: '';
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;

    }
}

@-webkit-keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}


/* Logo section */
.header {
    transition: all .5s;
    z-index: 997;
    height: 70px;
    box-shadow: 0 2px 10px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
}

.header .toggle-sidebar-btn {
    font-size: 25px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
        position: relative;
        top: -2px;
    }
}

.logo img {
    max-height: 60px;
    margin-right: 6px;
}

/* Search bar */
.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: .3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 0;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.1);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: .3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

header .search-form button i {
    color: #012970;
}

/* Nav Section */
/* Header Nav */


.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px 5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 5px;
    color: white;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: .3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
    cursor: pointer;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: .3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;
    color: #444444;
}

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all .3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    font-family: 'Nunito' sans-serif;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 4px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}


@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: #ff6f3c;
    transition: .3s;
    background: #fffbf6;
    padding: 10px 15px;
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 20px;
    color: #ff6f3c;
}

.sidebar-nav .nav-link.collapsed {
    color: #005689;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}


.sidebar-nav .nav-link:hover {
    color: #ff6f3c !important;
    background: #fffbf6;
}

.sidebar-nav .nav-link:hover i {
    color: #ff6f3c;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #012970;
    transition: .3s;
    padding: 10px 0 10px 40px;
    font-family: 'Nunito', sans-serif;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}


/* Page Title */
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #005689;
}

.breadcrumb {
    background: none;
}

/* Main Body */

#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all .3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/* Card Section */
.dashboard .info-card{
    padding-bottom: 10px;
}

.dashboard .info-card h6{
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon{
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon{
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon{
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon{
    color: #ff771d;
    background: #ffecdf;
}

/* Card Filter Section */

.dashboard .filter{
    position: absolute;
    right: 0;
    top: 15px;
}

.dashboard .filter .icon{
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: .3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus{
    color: #4154f1;
}

.dashboard .filter .dropdown-header{
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item{
    padding: 8px 15px;
}


/* recent sales */
.dashboard .recent-sales{
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
}

.dashboard .recent-sales .table thead{
    background: #f6f6fe !important;
}

.dashboard .recent-sales .table thead th{
    border: 0;
}

.dashboard .recent-sales .table tbody td{
    vertical-align: middle;
}

.dashboard .recent-sales .dataTable-top{
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom{
    padding: 10px 0 0 0;
}


/* recent activity */
.dashboard .activity{
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
}

.dashboard .activity .activity-item .activite-label{
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before{
    content: "";
    position: absolute;
    right: -10px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge{
    font-size: 11px;
    margin-top: 3px;
    z-index: 1;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    flex-grow: 0;
    border: 3px solid #fff;
}


.dashboard .activity .activity-item .activity-content{
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before{
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content{
    padding-bottom: 0;
}


/* Form Fields */
.formFields label{
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
    color: rgb(110, 110, 110);
}

.formFields input{
    border: 1px solid rgb(224, 224, 224);
    padding: 8px;
    outline: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 30px;
}

.selectField{
    font-size: 14px;
    cursor: pointer;
}

.formFields .selectField option{
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.formFields .selectField:focus{
    outline: none !important;
    box-shadow: none;
    border: 1px solid rgb(224, 224, 224);
}

.formFields input::placeholder{
    font-size: 14px;
}

.btnStyle{
    padding: 7px 10px;
    border: 1px solid rgb(224, 224, 224);
    background-color: rgb(117, 149, 254);
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    color: white;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .8px;
    outline: none;  
}

/* Image Preview field */

#drop-area{
    width: 100%;
    height: 100%;
    border: 1px solid rgb(224, 224, 224);
    padding: 0px 10px;
    background: #fff;
    text-align: center;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

#img-view{
    width: 100%;
    height: 170px;
    border-radius: 20px;
    border: 1.5px dashed #bbb5ff;
    /* background: #f7f8ff; */
    cursor: pointer;
    background-position: center;
    background-size: cover;
    position: relative;
}

#img-view img{
    width: 100px;
    margin-top: 25px;
}

footer {
            background-color: #fff;
            padding: 40px 0;
            font-size: 14px;
            color: #333;
        }

        footer h6 {
            font-weight: 600;
            margin-bottom: 15px;
        }

        footer a {
            display: block;
            text-decoration: none;
            color: #666;
            margin-bottom: 8px;
            transition: color 0.3s;
        }

        footer a:hover {
            color: #000;
        }

        .social-icons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .social-icons a {
            font-size: 20px;
            margin-right: 15px;
            color: #222;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: #007bff;
        }
