:root {
    --primary-font-family: "poppins";
    --clr-theme-color: #fe8834;
    --clr-coman-white: #fff;
    --clr-coman-black: #000;
    --clr-coman-text-color: #212529;
    --clr-font-family: "poppins";
    --clr-shadow-btn: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--primary-font-family);
}

*::before::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font-family);
}

a {
    text-decoration: none;
    color: var(--clr-coman-white);

}

a:hover,
a:focus {
    color: var(--clr-theme-color);
}


html,
body {
    font-family: var(--clr-font-family) !important;
    scroll-behavior: smooth !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: var(--clr-font-family) !important;
}

ul {
    padding-left: 0;
    margin-bottom: 0;
}

p {
    margin-bottom: 0 !important;
}

::selection {
    background: var(--clr-theme-color);
    color: var(--clr-coman-white);
}

.btn-primary {
    background: var(--clr-theme-color) !important;
    color: var(--clr-coman-white) !important;
    border-color: var(--clr-theme-color) !important;
}

#header {
    background: var(--clr-coman-black);
    width: 100%;
    padding: 8px;
}

.header-inner-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-inner-wrap img {
    width: 150px;
    user-select: none;
    display: inline-block;
}

.form-control:focus,
.form-control:hover,
.btn-primary:focus,
.btn-primary:hover,
.form-select:hover,
.form-select:focus {
    border-color: var(--clr-theme-color) !important;
    box-shadow: none !important;
}

#footer {
    background-color: var(--clr-theme-color);
    color: var(--clr-coman-white);
    width: 100%;
    text-align: center;
    padding: 4px;
}

.notyf__message {
    color: var(--clr-coman-white) !important;
}

.btn-reset {
    background: #444141 !important;
    color: var(--clr-coman-white) !important;
    width: 100%;
}

.profile-card-dv {
    margin-top: 8rem;
}

.enable-dataTable-feature {
    width: 100% !important;

}

.dataTables_scroll {
    margin-bottom: 10px !important;
}

#auth-login-section {
    padding-top: 220px;
}

#auth-register-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.auth-form-container-dv {
    height: 100vh;
}

.align_center_form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-form-container {
    width: 460px;
}

.auth-card-heading-container {
    margin-bottom: 1rem;
    margin-top: 8px;
}

.auth-form-container .page-heading {
    text-align: center;
    font-size: 25px;
}

.auth-form-container label {
    padding-bottom: 4px;
    cursor: pointer;
    display: inline-block;
}

.fm-group {
    margin-bottom: 1rem;
}

.auth-submit-btn {
    width: 100%;
    color: var(--clr-coman-white) !important;
}

.auth-submit-btn i {
    color: var(--clr-coman-white) !important;
}

.fm-group .password-input-container {
    position: relative;
}

.eyes-right-side,
.trigger-show-password-fn {
    position: absolute;
    right: 30px;
    top: 10px;
    cursor: pointer;
}

.auth-form-forgot-password-link {
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: 13px;
    margin-bottom: 1rem;
}

.auth-extra-links {
    margin-top: 1.5rem;
}

.create-user-container,
.edit-user-container {
    padding-bottom: 30px;
}

.auth-form-btn-group {
    display: flex;
    column-gap: 1.3rem;
}

.user-page-heading {
    font-size: 22px;
}

.invoice-form-layout-col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    column-gap: 1rem;
}

.invoice-form-layout-col-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    column-gap: 1rem;
}

select[multiple] option:checked {
    background-color: #007bff !important;
    color: white;
}


.invoice-detail {
    max-width: 900px;
    margin: 20px auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 25px 30px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}

.invoice-detail__header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.invoice-detail__section {
    width: 48%;
    min-width: 280px;
    box-sizing: border-box;
}

.invoice-detail__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.invoice-detail__info {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #555;
}

.invoice-detail__info strong {
    width: 130px;
    display: inline-block;
    font-weight: 600;
}

.invoice-detail__table-wrapper {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.invoice-detail__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.invoice-detail__table th,
.invoice-detail__table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    white-space: nowrap;
}

.invoice-detail__table th {
    background-color: #f0f0f0;
    font-weight: 700;
    color: #333;
}

.invoice-detail__table tbody tr:hover {
    background-color: #fafafa;
}

.invoice-detail__totals {
    max-width: 380px;
    margin-left: auto;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1rem;
}

.invoice-detail__totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.invoice-detail__totals-row--grand {
    font-size: 1.2rem;
    font-weight: 700;
    border-top: 2px solid #333;
    margin-top: 10px;
    padding-top: 12px;
}

.invoice-detail__actions {
    margin-top: 35px;
    text-align: right;
}

.invoice-detail__btn {
    display: inline-block;
    background-color: var(--clr-theme-color);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 15px;
    transition: background-color 0.3s ease;
}

.invoice-detail__btn:hover {
    background-color: #0056b3;
}


.layout-page-card-spc .hidden-item-detail-section {
    display: none;
}

.invoice-form-item-column {
    display: flex;
    flex-direction: column;
}

#add-new-item {
    margin-right: 6px;
} 
 

@media screen and (max-width:999px) {
    #auth-login-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .profile-card-dv {
        margin-top: 7rem !important;
    }

    .invoice-form-layout-col-2,
    .invoice-form-layout-col-3 {
        grid-template-columns: 1fr;
    }

    .invoice-detail__header {
        flex-direction: column;
    }

    .invoice-detail__section {
        width: 100%;
        margin-bottom: 25px;
    }

    .invoice-detail__totals {
        max-width: 100%;
        margin: 0 0 25px 0;
    }

    .invoice-detail__actions {
        text-align: center;
    }

    .invoice-detail__btn {
        margin: 10px 10px 0 0;
    }

    .invoice-form-layout-col-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}