@import "https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300;400;500;600;700&display=swap";

:root {
    scroll-behavior: smooth;
}

.datepicker.datepicker-dropdown {
    z-index: 999 !important;
}

a:not(.btn) {
    color: hsl(var(--sidebar-foreground)) !important;
    text-decoration: none !important;
}

a:hover {
    color: var(--color-success);
    text-decoration: none;
}

.login-logo img
{
    width: 160px;
}

img {
    max-width: 100%;
}

#main {
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

.pagetitle {
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 0px;
}

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #1D5B36;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    -webkit-animation-name: dropdown-animate;
    animation-name: 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: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@-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;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 14px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: hsl(var(--primary));
    font-family: "Poppins", sans-serif;
}

.card-title .status-date-flag {
    font-size: 13px;
}

.info-card .filter svg {
    width: 20px;
    height: 20px;
}
.filter-icon
{
    line-height: 1;
    padding: 10px;
}
.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

.info-card .card-title
{
    padding-right: 62px !important;
    margin: 0px;
    height: 46px;
}
.info-card-statistic
{
    font-weight: 500;
}
.info-card-statistic svg
{
    width: 16px;
    height: 16px;
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: hsl(var(--primary));
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #1D5B36;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    color: #899bbd;
    font-weight: 600;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgb(101, 117, 139) !important;
    font-weight: 400;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: hsl(var(--foreground)) !important;
}

.breadcrumb .breadcrumb-item:not(:first-child)::before {
    color: hsl(var(--muted-foreground));
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    background-image: url(/img/icons/sep.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 0px;
    margin-right: 8px;
    margin-top: 4px;
}

.breadcrumb .active {
    color: hsl(var(--foreground)) !important;
    font-weight: 400;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #1D5B36;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #1D5B36;
    border-bottom: 2px solid #1D5B36;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
    transition: all 0.3s;
}

@media (min-width: 1200px) {
    .logo {
        width: 255px;
        height: 60px;
        padding: 0px 10px;
        border-right: 1px solid hsl(var(--sidebar-border));
        border-bottom: 1px solid hsl(var(--sidebar-border));
        background-color: hsl(var(--sidebar-background));
    }
    body.toggle-sidebar .logo {
        width: 60px;
    }
}

.logo img {
    width: 90px;
    max-height: 35px;
    margin-right: 6px;
}
.sidebar-header img
{
    width: 90px;
    max-height: 30px;
    margin-right: 6px;
}
body.toggle-sidebar .logo img {
    width: 0px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: hsl(var(--primary));
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    background-color: hsl(var(--card) / .8);
    border-bottom: 1px solid hsl(var(--border));
}

.header .toggle-sidebar-btn {
    font-size: 18px;
    cursor: pointer;
    color: hsl(var(--color-muted-foreground));
    border-radius: 5px;
    padding: 5px;
}
body:not(.toggle-sidebar) .header .toggle-sidebar-btn .fa-chevron-right {
    display: none;
}
body.toggle-sidebar .header .toggle-sidebar-btn .fa-chevron-left {
    display: none;
}
.header .toggle-sidebar-btn:hover {
    background-color: hsl(var(--border));
}
.header .toggle-sidebar-btn svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 1199px) {
    .logo {
        display: none !important;
    }
    .header .toggle-sidebar-btn:hover {
        background-color: hsl(var(--primary));
    }
    .header .toggle-sidebar-btn:hover svg {
        filter: brightness(5000%);
    }
    .header
    {
        padding: 0px 15px;
    }
}

.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: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: hsl(var(--primary));
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.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: hsl(var(--primary));
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: hsl(var(--primary));
    position: relative;
}

.header-nav .nav-profile {
    color: hsl(var(--primary));
}

.header-nav .nav-profile img {
    max-height: 36px;
    width: 30px;
}

.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 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.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-bottom: 5px;
    color: #444444;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a,
.header-nav .notifications .notification-item a{
    display: flex;
    width: 100%;
}

.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;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 255px;
    z-index: 996;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-right: 1px solid hsl(var(--sidebar-border));
    background-color: hsl(var(--sidebar-background));
}

.sidebar-header {
    height: 60px;
    min-height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid hsl(var(--border));
    flex-shrink: 0;
}

.sidebar-nav {
    flex-grow: 1;
    overflow-y: auto;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--muted-foreground)) transparent;
}

@media (max-width: 1199px) {
    .sidebar {
        top: 0;
        overflow-x: hidden;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 255px;
    }
}

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 80px;
    }

    .toggle-sidebar .sidebar {
        width: 60px;
    }
    .toggle-sidebar .sidebar .nav-link span
    {
        width: 0px;
        overflow: hidden;
    }
    .toggle-sidebar .sidebar-nav .nav-link i,
    .toggle-sidebar .sidebar-nav .nav-link svg
    {
        margin: 0px;
    }
    .toggle-sidebar .sidebar-nav .nav-link .bi-chevron-down {
        margin-left: 5px !important;
    }

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        width: 0px;
        padding: 0px;
    }
    .toggle-sidebar #main
    {
        margin-left: 0px;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 998;
    background: hsla(var(--background) / 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

@media (max-width: 1199px) {
    body:not(.toggle-sidebar) .sidebar-overlay {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    .sidebar{
        z-index: 1000;
    }
}


.sidebar-nav {
    padding: 0 10px;
    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;
    align-items: center;
    font-weight: 600;
    color: #1D5B36;
    transition: 0.3;
    padding: 10px 8px;
    border-radius: 4px;

    font-size: .875rem;
    line-height: 1.25rem;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #1D5B36;
}
.sidebar-nav .nav-link svg
{
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.sidebar-nav .nav-link.collapsed {
    color: hsl(var(--sidebar-foreground));
}

.sidebar-nav .nav-link.collapsed i {
    color: hsl(var(--sidebar-foreground));
}

.sidebar-nav .nav-link:hover {
    color: #1D5B36;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #1D5B36;
}

.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: 600;
    color: hsl(var(--sidebar-foreground)) !important;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
    color: var(--color-muted-foreground);
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: var(--color-success);
}

.sidebar-nav .nav-content a.active i {
    color: var(--color-success);
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #1D5B36;
}

.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;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: hsl(var(--primary));
    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 .client-card .card-icon {
    color: #95b3fc;
    background: #f6f6fe;
}

.dashboard .project-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .development-card .card-icon {
    color: #ffe06b;
    background: #ffecdf;
}

.dashboard .contact-card .card-icon {
    color: #ff4c4c;
    background: #f5dada;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.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: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.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;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: hsl(var(--primary));
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #1D5B36;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: hsl(var(--primary));
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: hsl(var(--primary));
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: hsl(var(--primary));
}

.profile .profile-overview .label {
    font-weight: 600;
}

.profile .profile-edit label, .profile .profile-change-password label {
    font-weight: 600;
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #1D5B36;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #1D5B36;
}

.contact .info-box h3 {
    font-size: 20px;
    color: hsl(var(--primary));
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #1D5B36;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #1D5B36;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
}

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #1D5B36;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

.footer .copyright
{
    text-align: center;
    color: hsl(var(--primary));
}

.footer .copyright img
{
    max-width: 60px;
}

.admin-login-copyright{
    text-align: center;
    color: hsl(var(--primary));
    font-size: 12px;
}

.admin-login-copyright img
{
    max-width: 80px;
    width: 80px;
}

.dark .admin-login-copyright img
{
    filter: brightness(5000%);
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: hsl(var(--primary));
}

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/
.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice
{
    float: left;
}

.nav-link:hover
{
    cursor: pointer;
}

.clipboard:hover
{
    cursor: pointer;
}

.gridview-row-highlight
{
    font-weight: 700;
}

.theme-krajee-svg .clear-rating, .theme-krajee-svg .rating-stars {
    font-size: 30px;
}
.order-status-form .form-select
{
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
.order-status-form .btn
{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

#addorder-form input[type="text"] {
    background-image: none !important;
}

.additional-title,
#addorder-form .title-label,
#addorder-form .form-label
{
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.form-label {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.aal-item
{
    width: 100%;
}

.delete-icon
{
    color: #fff !important;
    background-color: #dc3545 !important;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 20px;
}

.required .invalid-feedback
{
    display: block !important;
}

.cke_notifications_area
{
    display: none !important;
}

#crm-notify .messages
{
    overflow-y: auto;
    max-height: 550px;
}

.dashboard-ai
{
    border-radius: var(--radius);
    border: 1px solid hsla(var(--primary) / 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    background-image: linear-gradient(
            to right,
            hsla(var(--primary) / 0.1),
            hsla(var(--accent) / 0.05)
    );
}
.block-title-row
{
    padding: 0.75rem 1.5rem;
}
.block-title
{
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    letter-spacing: -0.025em !important;
    line-height: 1.75rem;
}

.block-title svg
{
    margin-right: 6px;
    width: 19px;
    height: 19px;
}

.ai-dashboard-notycount {
    display: inline-flex;
    align-items: center;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    margin-left: auto;

    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.ai-dashboard-notycount:hover {
    background-color: hsla(var(--secondary) / 0.8);
    cursor: pointer;
}

.ai-dashboard-notycount:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dashboard-ai-infos
{
    padding: 20px;
    padding-top: 0px;
}

.action-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background-color: hsla(var(--card) / 0.5);
    border: 1px solid hsl(var(--border));
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.action-card:hover {
    background-color: hsl(var(--card));
    border-color: hsla(var(--primary) / 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.action-card svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.action-card-content .title {
    font-weight: 500;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    margin-bottom: 0;
}

.action-card-content .description {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.125rem;
    margin-bottom: 0;
}


.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none !important;
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    transition: all 0.2s ease;
    text-align: center;
}

.quick-action-card:hover {
    background-color: hsl(var(--card));
    border-color: hsla(var(--primary) / 0.3);
    transform: translateY(-2px);
}

.quick-action-card svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quick-action-card .label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.badge-destructive {
    background-color: hsl(var(--destructive)) !important;
    color: hsl(var(--destructive-foreground)) !important;
}

.dark .quick-action-card {
    background-color: hsla(var(--card) / 0.5);
}

.nav-link.nav-icon
{
    color: hsl(var(--foreground)) !important;
    width: 24px;
    height: 24px;
    padding: 0px;
    border-radius: 5px !important;
    margin-right: 15px;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    align-items: center;
}

.nav-link.nav-icon svg
{
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.nav-link.nav-icon:hover
{
    background-color: var(--color-primary);
    color: #fff !important;
}

.profile-monogram
{
    width: 32px;
    min-width: 32px;
    height: 32px;
    background-color: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 50%;
}

.statistic-table tr:last-child td, .statistic-table tr:last-child th {
    border-bottom: 0;
}

.statistic-table
{
    font-size: 14px;
    font-weight: 400;
}

.badge
{
    border-radius: 20px;
}

.statistic-graph .legend-item {
    color: hsl(var(--muted-foreground));
    font-size: 12px;
}

.rounded-lg
{
    border-radius: 6px;
}

.toolbar-container
{
    font-size: 14px;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
}
.toolbar-container b
{
    font-weight: 400;
}

.grid-view-filters a
{
    color: hsl(var(--muted-foreground)) !important;
}

.card-footer
{
    background-color: initial;
}


body:not(.dark) .logo-white {
    display: none;
}

body.dark .logo-normal {
    display: none;
}

.dark .kv-panel-before
{
    border-color: hsl(var(--border)) !important;
}

.grid-btn {
    height: 34px;
    width: 34px;
    min-width: 34px;
    color: hsl(var(--muted-foreground));
}
.grid-btn:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--accent));
}
.grid-btn-delete:hover {
    color: hsl(var(--destructive));
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 16px;
    height: 16px;
    border: 1px solid hsl(var(--primary));
    border-radius: 50%;

    outline: none;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    vertical-align: middle;
    transition: all 0.2s ease-in-out;
}

input[type="checkbox"]:hover {
    border-color: #555;
}

input[type="checkbox"]:checked {
    background-color: hsl(var(--primary));
    border-color: #007bff;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    margin-top: -1px;
}

tr.selcted-row > td {
    background-color: hsl(var(--primary) / .05);
}

.select2-container--krajee-bs5 .select2-selection--single
{
    background-color: hsl(var(--background)) !important;
    color: hsl(var(--foreground)) !important;
    border: 1px solid hsl(var(--border)) !important;
    border-radius: calc(var(--radius) - 2px) !important;
}

.epr-pager .pagination
{
    margin: 0px;
}

.group-actions-row .form-select
{
    max-width: 190px;
    font-size: 14px;
}
.group-actions-row
{
    font-size: 14px;
}


.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px !important;
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
    background-color: transparent;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

.pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: #f1f5f9;
}
.pagination .page-item.active .page-link {
    background-color: #20b282;
    color: #ffffff !important;
    border: none;
}
.pagination .page-item.prev .page-link,
.pagination .page-item.next .page-link {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}
.pagination .page-item.prev:not(.disabled) .page-link:hover,
.pagination .page-item.next:not(.disabled) .page-link:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}
.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
    background-color: #ffffff;
}

#product-price
{
    font-size: 20px;
    font-weight: 700;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up
{
    border-radius: 4px 4px 0px 0px !important;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down
{
    border-radius: 0px 0px 4px 4px !important;
}

.custom-tab-container {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 3px;
    display: inline-flex;
}

.custom-tab-container .nav-link {
    color: #556080;
    font-weight: 500;
    border-radius: 8px;
    border: none;
}

.custom-tab-container .nav-link.active {
    background-color: #f0f2f5 !important;
    color: #000 !important;
}

.type-badge
{
    color: hsl(var(--foreground));
    font-weight: 600;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid hsl(var(--border));
    font-size: 12px;
    padding: 3px 6px;
    gap: 3px;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.type-badge svg
{
    width: 12px;
    min-width: 12px;
    height: 12px;
}








.dm-file-btns
{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.dm-icon, .document-file-update-icon
{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.dm-file-info
{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.document-files
{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.document-viewer-files
{
    min-height: 0px;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
}

.contact-data-row, .project-data-row
{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.contact-comment-box, .project-comment-box{
    order: 1;
}

.contact-comment, .project-comment
{
    margin-bottom: 10px;
    padding-bottom: 10px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.contact-comment-row, .project-comment-row
{
    gap: 15px;
    width: 100%;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.comment-row, .comment-row
{
    gap: 15px;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.contact-comments, .project-comments
{
    max-height: 500px;
    overflow-y: auto;
}
.contact-comment .btn-sm, .project-comment .btn-sm
{
    padding: 2px;
}

.contact-comment, .project-comment
{
    border-bottom: 1px solid #ccc;
}

.contact-comment-text, .project-comment-text
{
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#contact-comments-list, #project-comments-list
{
    padding-right: 15px;
}

#contact-comments, #project-comments
{
    max-height: 100%;
    height: 100%;
}

.contact-comments, .project-comments
{
    max-height: 450px;
    height: 100%;
}

.contact-comments, .project-comments
{
    margin-bottom: 20px;
}

.comment-btns
{
    gap: 5px;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.commentform-update{
    margin-top: 10px;
    width: 100%;
}

@media (max-width: 767px) {
    .contact-comments, .project-comments {
        max-height: 350px;
    }
    #contact-comments, #project-comments
    {
        width: 100%;
    }
    .contact-comment-box, .project-comment-box
    {
        order: 0;
    }
}

/* Animált border a <tr>-ekhez */
.contact-duplicated {
    position: relative;

}

.contact-duplicated::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 4px;
    border: 2px solid transparent;
    background: linear-gradient(90deg, red, orange, yellow, red);
    background-size: 400% 400%;
    animation: borderAnim 6s linear infinite;
    z-index: 1;
    pointer-events: none;
}
.contact-duplicated td:first-child {
    background-color: initial;
}
.contact-duplicated td {
    position: relative;
    z-index: 4; /* Tartalom a border fölött */
    background-color: #fff;
}

@keyframes borderAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tasks */
.tasks-view .card-body {
    padding-top: 1.25rem;
}
.tasks-view #comments-list {
    max-height: 500px;
    overflow-y: auto;
}
.tasks-view #activity-log {
    max-height: 400px;
    overflow-y: auto;
}
.task-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.task-toast.show {
    opacity: 1;
    pointer-events: auto;
}