@import url("https://fonts.googleapis.com");
@import url("https://fonts.gstatic.com");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* font */

@font-face {
    font-family: Poppins-Black;
    src: url(../fonts/Poppins/Poppins-Black.ttf);
}

@font-face {
    font-family: Roboto-Light;
    src: url(../fonts/roboto/Roboto-Light.ttf);
}

@font-face {
    font-family: Roboto-Medium;
    src: url(../fonts/roboto/Roboto-Medium.ttf);
}

@font-face {
    font-family: Bahnschrift;
    src: url(../fonts/bahnschrift.TTF);
}

@font-face {
    font-family: JosefinSans-Italic;
    src: url(../fonts/JosefinSans-Italic-VariableFont_wght.ttf);
}

@font-face {
    font-family: OpenSans-Regular;
    src: url(../fonts/Regular/OpenSans-Regular9f1e.ttf);
}

@font-face {
    font-family: OpenSans-Bold;
    src: url(../fonts/Bold/OpenSans-Bold9f1e.ttf);
}

@font-face {
    font-family: OpenSans-Light;
    src: url(../fonts/Light/OpenSans-Light9f1e.ttf);
}

:root {
    --main-bg-color: #edf2f9;
    --main-black: #000000;
    --main-white: #ffffff;
    --light-blue: #dce4ec;
    --light-gray: #8492a6;
    --primary-color: #061738;
    --secondary-color: #00adee;
    --secondary-off-color: #56af7d;
    --text-gray-color: #95aac9;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
    background-color: var(--main-bg-color) !important;
}

html {
    font-size: 16px;
    min-height: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    zoom: 1;
}

input[type="file"],
.form-label {
    color: var(--light-gray);
}

::-webkit-input-placeholder {
    color: var(--light-gray);
}

:-moz-placeholder {
    color: var(--light-gray);
    opacity: 1;
}

::-moz-placeholder {
    color: var(--light-gray);
    opacity: 1;
}

:-ms-input-placeholder {
    color: var(--light-gray);
}

::-ms-input-placeholder {
    color: var(--light-gray);
}

::placeholder {
    color: var(--light-gray);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "Poppins", sans-serif;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    /* color: var(--main-black); */
    font-weight: 400;
}

.page-wrapper {
    overflow-x: hidden;
}

/* ------------------------
    Typography
------------------------*/
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--primary-color);
    /* font-family: "Outfit", sans-serif; */
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
}

h1,
.h1 {
    font-size: 45px;
    font-style: normal;
    line-height: 1.25;
    font-weight: 300;
    color: #122f40;
}

h2,
.h2 {
    font-size: 35px;
    font-style: normal;
    line-height: 60px;
    font-weight: 300;
    margin-bottom: 10px;
    position: relative;
    color: #122f40;
}

h3,
.h3 {
    font-size: 25px;
    font-style: normal;
    line-height: 40px;
    font-weight: 500;
}

h4,
.h4 {
    font-size: 22px;
    font-style: normal;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 36px;
}

h5,
.h5 {
    font-size: 18px;
    font-style: normal;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 32px;
}

h6,
.h6 {
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
    margin-bottom: 10px;
}

ul {
    margin: 0px;
    padding: 0px;
}

a,
a:hover,
.btn,
.btn:hover {
    transform: translateY(-2px);
    transition: 0.5s ease-in !important;
}

.card .card-header {
    min-height: auto;
}

.error {
    color: red;
}

.text-right {
    text-align: right;
}

.form-switch.form-check-custom .form-check-input {
    height: 1.55rem;
}

.f-24px {
    font-size: 24px !important;
}

.form-check-custom {
    display: inline-block;
}

.pl-15 {
    padding-left: 15px;
}

.mr-10 {
    margin-right: 10px;
}

[data-kt-app-layout="dark-sidebar"] .app-sidebar {
    background-color: var(--main-white);
}

[data-kt-app-layout="dark-sidebar"] .app-sidebar .menu>.menu-item .menu-link .menu-title {
    color: var(--main-black);
}

[data-kt-app-layout="dark-sidebar"] .app-sidebar .menu>.menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-title,
[data-kt-app-layout="dark-sidebar"] .app-sidebar .menu>.menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title {
    color: var(--primary-color) !important;
}

.menu-item .menu-link .menu-title,
.menu-item .menu-link .menu-icon i {
    font-size: 15px !important;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-item.active {
    background-color: var(--secondary-off-color);
    border-radius: 5px;
}

.menu-item .menu-link .menu-title,
.menu-item .menu-link .menu-icon .svg-icon,
.menu-item .menu-link .menu-icon i {
    color: var(--light-gray) !important;
}

.menu-item .menu-link.active .menu-title,
.menu-item .menu-link.active .menu-icon .svg-icon,
.menu-item .menu-link.active .menu-icon i {
    color: var(--main-white) !important;
}

.menu-sub.menu-sub-accordion .menu-link.active .menu-title,
.menu-sub.menu-sub-accordion .menu-link.active .menu-bullet .svg-icon,
.menu-sub.menu-sub-accordion .menu-link.active .menu-bullet i {
    color: var(--main-white) !important;
}

#kt_app_sidebar_menu_wrapper .menu-item .menu-link.active:hover .menu-title,
#kt_app_sidebar_menu_wrapper .menu-item .menu-link.active:hover .menu-icon .svg-icon,
#kt_app_sidebar_menu_wrapper .menu-item .menu-link.active:hover .menu-icon i {
    color: var(--main-white) !important;
}

#kt_app_sidebar_menu_wrapper .menu-sub.menu-sub-accordion .menu-link:hover .menu-title,
#kt_app_sidebar_menu_wrapper .menu-sub.menu-sub-accordion .menu-link:hover .menu-bullet .svg-icon,
#kt_app_sidebar_menu_wrapper .menu-sub.menu-sub-accordion .menu-link:hover .menu-bullet i,
#kt_app_sidebar_menu_wrapper .menu-item .menu-link:hover .menu-title,
#kt_app_sidebar_menu_wrapper .menu-item .menu-link:hover .menu-icon .svg-icon,
#kt_app_sidebar_menu_wrapper .menu-item .menu-link:hover .menu-icon i {
    color: var(--secondary-color) !important;
}

.app-sidebar-menu .menu>.menu-item>.menu-link>.menu-title {
    font-weight: 400;
}

[data-kt-app-layout="dark-sidebar"] .app-sidebar .app-sidebar-logo {
    background-color: var(--main-white);
}

[data-kt-app-layout="dark-sidebar"] .app-sidebar .menu>.menu-item .menu-link.active {
    background-color: #7dc797;
}

.form-check.form-check-solid .form-check-input:not(:checked) {
    background-color: #d9d9da;
}

.menu-item .menu-link .menu-arrow:after {
    background-color: var(--main-black) !important;
}

.card-toolbar .btn {
    background-color: #d9d9da;
}

.card-toolbar .btn:hover {
    background-color: #7239ea;
}

.img-wrap img {
    width: 100px;
}

a.badge-light:focus,
a.badge-light:hover {
    color: #212529;
    background-color: #dae0e5;
}

.badge-inline {
    width: auto;
}

#kt_app_header_container {
    border-bottom: 1px solid var(--light-blue);
    background: var(--main-white);
    box-shadow: none;
    align-items: center;
}

#kt_header_user_menu_toggle .symbol {
    background-color: var(--light-gray) !important;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--secondary-off-color);
}

#kt_header_user_menu_toggle .symbol img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#kt_app_header_container {
    padding-left: 30px !important;
    padding-right: 15px !important;
}

.ki-duotone span.path1::before,
.ki-duotone span.path2::before,
.ki-duotone span.path3::before,
.ki-duotone span.path4::before {
    font-family: "keenicons-duotone", sans-serif;
}

#kt_app_sidebar_toggle {
    background-color: var(--secondary-color) !important;
}

#kt_app_wrapper {
    box-shadow: 0 25px 50px rgba(8, 21, 66, 0.06);
}

.active-projects-graph {
    background-color: var(--secondary-color);
}

.panel-heading.note-toolbar {
    border-bottom: 1px solid var(--main-black);
}

.note-btn-group {
    position: relative;
}

.note-btn-group::before {
    content: "";
    width: 2px;
    height: 80%;
    background-color: var(--light-blue);
    border-radius: 0;
    position: absolute;
    right: -5px;
    top: 3px;
    transform: translate(0%, 0%);
    border-radius: 10px;
}

.note-btn-group .note-btn-group {
    border: none !important;
}

.custom-thm-table tbody.custom-thm-tbody tr td,
.custom-thm-table thead.custom-thm-thead tr th {
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.custom-thm-table thead.custom-thm-thead tr th {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-gray-color);
}

.custom-thm-table thead.custom-thm-thead {
    background-color: var(--main-bg-color);
    border-bottom: 2px solid #edf2f9;
    border-radius: 5px 5px 0 0;
}

.custom-thm-table tbody.custom-thm-tbody {
    background-color: var(--main-white);
}

.custom-thm-table tbody.custom-thm-tbody tr td,
.custom-thm-table tbody.custom-thm-tbody tr th {
    vertical-align: middle;
    color: var(--main-black);
}

.custom-thm-table tbody.custom-thm-tbody tr td a,
.custom-thm-table tbody.custom-thm-tbody tr th a {
    text-transform: capitalize;
    color: var(--secondary-color);
    text-decoration: underline;
}

.custom-thm-table thead.custom-thm-thead tr td:first-child,
.custom-thm-table thead.custom-thm-thead tr th:first-child,
.custom-thm-table tbody.custom-thm-tbody tr td:first-child,
.custom-thm-table tbody.custom-thm-tbody tr th:first-child {
    text-align: left;
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child {
    text-align: center;
}

.custom-thm-table tbody.custom-thm-tbody tr td img {
    border-radius: 5px;
    border-radius: 5px;
    background: var(--light-blue);
    background-color: var(--light-blue);
    border: 1px solid var(--light-gray);
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn {
    padding: 0px !important;
    margin: 0px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--main-black);
    background-color: var(--main-white);
    margin-right: 5px;
    border: 1.5px solid var(--light-blue) !important;
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:last-child {
    border: 1.5px solid var(--light-blue) !important;
    background-color: var(--light-blue);
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:hover {
    background-color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color) !important;
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:hover i {
    color: var(--main-white);
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn i {
    color: var(--main-black);
    padding: 0px;
    margin: 0px;
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:nth-child(1) {
    color: var(--main-black);
    margin-right: 5px;
    background-color: transparent;
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:last-child {
    margin-right: 0px;
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:nth-child(1) i {
    color: var(--main-black);
}

.custom-thm-table tbody.custom-thm-tbody tr td:last-child a.btn:hover:nth-child(1) i {
    color: var(--secondary-color);
}

.custom-thm-table tbody.custom-thm-tbody tr td .form-check-input:checked {
    background-color: var(--secondary-off-color);
}

.dataTables_filter input[type="search"] {
    min-height: 45px;
}

.swal2-icon-success .swal2-success {
    place-self: center;
}

.swal2-icon-warning .swal2-warning {
    width: 100%;
}

.swal2-icon-success .swal2-success .swal2-icon-content,
.swal2-icon-warning .swal2-warning .swal2-icon-content {
    background-color: var(--light-blue);
    width: 70px;
    height: 70px;
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swal2-icon-success .swal2-title,
.swal2-icon-warning .swal2-title {
    font-size: 23px;
    font-weight: 900;
}

.swal2-icon-success .swal2-html-container,
.swal2-icon-warning .swal2-html-container {
    font-size: 16px;
    color: var(--main-black);
    font-weight: 400;
}

.swal2-icon-success .swal2-cancel,
.swal2-icon-warning .swal2-cancel {
    background-color: var(--light-blue);
    color: var(--main-black);
}

.swal2-icon-success .swal2-actions button,
.swal2-icon-warning .swal2-actions button {
    min-height: 40px;
    min-width: 120px;
}

.swal2-icon-success .swal2-confirm,
.swal2-icon-warning .swal2-confirm {
    background-color: var(--secondary-color);
    color: var(--main-white);
}

.swal2-icon-success .swal2-confirm {
    min-width: 120px;
}

.bth-width {
    min-width: 150px;
}

.btn-height {
    min-height: 45px !important;
}

.input-group.with-icon-input {
    display: inline-block;
}

.with-icon-input input.form-control {
    width: 100%;
    z-index: 0;
}

.with-icon-input .input-group-append {
    position: absolute;
    top: -1px;
    right: 0;
    width: 55px;
    z-index: 10;
}

.custom-thm-tab .nav-item .nav-link {
    background-color: var(--light-blue);
    padding: 10px;
    margin: 5px;
    border: 1px solid var(--light-blue) !important;
}

.custom-thm-tab .nav-item .nav-link.active {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color) !important;
    color: var(--main-white) !important;
}

.custom-thm-tab .nav-item .nav-link.active:hover {
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
}

.test-smtp-configuration .list-group-item {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.bg-grad-1 {
    background-color: var(--secondary-color);
}

.bg-grad-2 {
    background-color: var(--secondary-off-color)
}

.rounded-lg {
    border-radius: .3rem !important
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: var(--secondary-off-color);
}

.view-order-wrapper .shipping-name {
    font-size: 14px;
    margin-bottom: 5px;
}
.view-order-wrapper .shipping-name b
{
    color: var(--primary-color);
    font-weight: 800;
    font-size: 14.5px;
}

.order-history-info table tbody tr th span
{
    color: var(--primary-color);
    text-align: right;
}
.order-history-info table tbody tr td.text-info
{
    color: var(--secondary-color) !important;
}
.order-history-info table tbody tr td span.badge-info
{
    background-color: var(--secondary-color) !important;
}
.order-history-info table tbody tr th,
.order-history-info table tbody tr td {
    padding: 10px;
}

/* DataTables Single Line Layout Fixes */
.dataTables_length, 
.dt-buttons, 
.dataTables_filter {
    margin-bottom: 0 !important;
}

.dataTables_length select {
    margin-right: 0.5rem;
}

.dataTables_filter label {
    margin-bottom: 0;
}

.dt-buttons {
    margin-left: 1rem;
    margin-right: 1rem;
}

@media (max-width: 767px) {
    .dataTables_length, .dt-buttons, .dataTables_filter {
        margin-bottom: 1rem !important;
    }
}

.order-history-info table tbody tr th
{
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    justify-content: space-between;
}
.order-history-info table tbody tr:last-child td,
.order-history-info table tbody tr:last-child th
{
    border-bottom: 0px solid var(--light-blue) !important;
}
.order-history-info.order-customer-info table tbody tr th
{
    min-width: 150px;
}   
.order-history-info.order-customer-info table tbody tr td
{
    color: var(--primary-color) !important;
}   
.order-history-info.order-customer-info table tbody tr td a
{
    color: var(--secondary-color) !important;
}
.order-product-details table tbody tr td,
.order-product-details table tfoot tr th,
.order-product-details table tfoot tr td
{
    border: 1px solid var(--light-blue);
}
.order-product-details table tfoot tr th{
    font-weight: 600;
}
.order-product-details table tfoot tr th svg,
.order-product-details table tfoot tr td svg{
    float: left;
}
.invoice-print-button
{
    min-width: 100px;
}
.invoice-print-button i
{
    font-size: 28px !important;
}

.text-bold{font-weight: bold;}

/* Table Wrapping and Responsiveness Fixes */
.custom-thm-table {
    width: 100%;
    min-width: max-content !important;
}

.custom-thm-table td, 
.custom-thm-table th {
    white-space: normal !important;
    word-break: break-word;
    vertical-align: middle !important;
}

/* Fixed width for Address column (9th column) */
.custom-thm-table td:nth-child(9), 
.custom-thm-table th:nth-child(9) {
    min-width: 250px !important;
    max-width: 250px !important;
    width: 250px !important;
}

.dataTables_scrollBody {
    overflow-x: auto !important;
}