@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    font-size: 80%;
}

.form-switch {
    width: 100px;
}
.form-switch .form-check-label .switch-icon-left {
    width: auto;
}
/* for dark theme
.select2-container--default .select2-selection--multiple {
    background-color: #283046 !important;
    border: 1px solid #404656;
    border-radius: 4px;
    cursor: text;
}

.select2-container--classic .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #7367f0 !important;
    color: #fff !important;
}

.select2-container--classic .select2-results__option, .select2-container--default .select2-results__option {
    padding: 0.428rem 1rem;
    background: #283046;
   color:#b4b7bd !important;
}

.select2-container--default .select2-selection--single {
     background-color: #283046 !important;
    border: 1px solid #404656;
    border-radius: 4px;
}
*/
.horizontal-menu .header-navbar.navbar-fixed {
    left: 0px;
}

.badge:empty {
    display: none !important;
}

.form-switch .form-check-label .switch-icon-right,
.form-switch .form-check-label .switch-text-right {
    left: 25px;
    opacity: 1;
    top: 0;
    transform: translateX(0);
    transition: opacity 0.08s ease, transform 0.15s ease;
    width: 100%;
}

#filter-form .row {
    display: flex;
    flex-wrap: wrap;
}

/* General styles for responsive filter and search */
@media (max-width: 768px) {
    /* Ensure the DataTable itself is responsive */
    table.dataTable {
        width: 100%;
        overflow-x: auto;
    }

    /* Adjust search input and filter form layout */
    #filter-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
    }
    #filter-form .row {
        display: none; /* Hide the row by default */
    }

    #filter-form h4 {
        cursor: pointer; /* Change cursor to indicate clickable */
        background-color: #313131; /* Optional styling */
        color: white !important;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 10px;
        position: relative; /* For pseudo-element */
    }

    /* Add a toggle icon (triangle) using pseudo-element */
    #filter-form h4::after {
        content: "\25BC"; /* Downward triangle icon */
        font-size: 12px;
        color: white;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    /* Rotate the icon when expanded */
    #filter-form:has(.row:focus-within) h4::after {
        transform: translateY(-50%) rotate(180deg);
    }

    #DataTables_Table_0_length {
        display: none;
    }
    /* Table layout for small screens */
    .dataTables_wrapper {
        overflow-x: auto;
    }

    .dataTables_filter {
        margin-bottom: 10px;
        text-align: left;
    }

    .dataTables_filter label {
        width: 100%;
        display: block;
    }

    .dataTables_filter input {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }

    .dt-action-buttons {
        display: block !important;
    }

    .table-responsive div.dataTables_wrapper div.dataTables_filter input {
        margin-left: 0.5em;
        display: inline-block;
        width: 86% !important;
    }

    #tableCategory_filter,
    #DataTables_Table_0_filter input {
        width: 86% !important;
    }

    .rmobile button {
        width: 100% !important;
        margin-top: 10px;
        padding: 0.8rem !important;
    }

    .dataTables_length {
        display: none;
    }
}

/* New Css (Rahul)*/

:root {
    --orange-main: #f26c33;
    --yellow-bg: #fe9f43;
    --blue-bg: #092c4c;
    --green-bg: #0e9384;
    --purple-bg: #686de0;
    --light-green: #ccf1e3;
    --light-red: #ffcccc;
    --light-yellow: #ffbe76;
    --light-skyblue: #bff3f9;
    --status-green: #39a27b;
    --status-yellow: #aa6312;
    --status-red: #9f2222;
    --status-lightblue: #0ab0c4;
    --darkred: #e74c3c;
    --task-status-yellow: #f39c12;

    --text-white: #fff;
    --text-black: #000;
}

.main-menu .navbar-header {
    height: 10rem !important;
}
.main-menu.menu-dark .navigation > li.active > a {
    background: #3e4865 !important;
    box-shadow: transparent !important;
    color: #fff;
    font-weight: 400;
    border-radius: 0;
    border-left: 4px solid #ee5428 !important;
}
.main-menu .navbar-header .navbar-brand .brand-logo img {
    max-width: 75px;
    text-align: center;
    margin: 10px 0px;
    border-radius: 10px;
    margin-left: 2.5rem;
}
.main-menu.menu-dark .navigation > li > a {
    margin-bottom: 7px !important;
}
.welcome-text span {
    color: var(--orange-main);
}
.yellow-box {
    background-color: var(--yellow-bg);
}
.green-box {
    background-color: var(--green-bg);
}
.dark-blue-box {
    background-color: var(--blue-bg);
}
.purple-box {
    background-color: var(--purple-bg);
}
.stats-box {
    min-height: 150px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease-in-out, background 0s, color 0s, border-color 0s;
}
.welcome-text h3 {
    font-weight: 700;
}
.stats-icon {
    position: relative;
}
.icon-stats {
    position: absolute;
    right: 0;
}
.stats-value {
    margin-top: auto;
    margin-left: 20px;
    margin-bottom: 10px;
}
.stats-value h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-white) !important;
}
.stats-value h5 {
    color: var(--text-white) !important;
    font-weight: 400;
}
.daily-operations-box {
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease-in-out, background 0s, color 0s, border-color 0s;
    background-color: #fff;
    padding: 12px 15px;
    min-height: 450px;
    border-radius: 10px;
}
.operations-title h3 {
    font-weight: 700;
    margin-bottom: 3px;
}

.calender-box {
    margin-top: 5px;
}

.daily-operations-table table tr td:last-child {
    text-align: left;
    padding-left: 20px;
}
.daily-operations-table {
    border: 1px solid #ddd;
}
.daily-operations-table .table th {
    color: #000;
}

.daily-operations-table .table {
    margin-bottom: 0;
}
.employee-details h4 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    font-weight: 600;
}
.daily-operations-table .table th {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
}
.w-15 {
    width: 15% !important;
}
.daily-operations-table .table td:first-child {
    border-right: 1px solid #ddd !important;
}
.task-box {
    min-width: 230px; /* controls box width */ /* prevents shrinking */
    background: #f8f9fa;
    padding: 5px;
    border-radius: 8px;
    min-height: 80px;
}
.task-green {
    background-color: var(--light-green);
}
.task-yellow {
    background-color: var(--light-yellow);
}
.task-red {
    background-color: var(--light-red);
}
.task-skyblue {
    background-color: var(--light-skyblue);
}

.task-status {
    position: relative;
}
.status-green-clr {
    background-color: var(--status-green);
    position: absolute;
    right: 0;
    border-radius: 5px;
}

.status-green-clr p {
    margin-bottom: 0;
    padding: 2px 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.status-yellow-clr {
    background-color: var(--status-yellow);
    position: absolute;
    right: 0;
    border-radius: 5px;
}

.status-yellow-clr p {
    margin-bottom: 0;
    padding: 2px 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.status-red-clr {
    background-color: var(--status-red);
    position: absolute;
    right: 0;
    border-radius: 5px;
}

.status-red-clr p {
    margin-bottom: 0;
    padding: 2px 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.status-blue-clr {
    background-color: var(--status-lightblue);
    position: absolute;
    right: 0;
    border-radius: 5px;
}

.status-blue-clr p {
    margin-bottom: 0;
    padding: 2px 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.task-info h4 {
    margin-bottom: 3px;
    font-weight: 800;
}
.task-info p {
    margin-bottom: 0;
}
.task-info {
    margin-bottom: 3px;
    margin-top: 3px;
    padding: 0 2px;
}

.task-info h5 {
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 5px;
}

.task-info p span {
    font-size: 15px;
    color: #000;
    font-weight: 500;
    position: relative;
    top: 2px;
    padding-left: 3px;
}
.modal .modal-header {
    background-color: var(--darkred) !important;
    padding: 10px 10px;
}
.modal .modal-header h1,
.modal .modal-header h3,
.modal .modal-header h4,
.modal .modal-header h5 {
    color: var(--text-white) !important;
    font-size: 1.25rem;
}

.priority-box {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

.task-priority span {
    background: rgba(243, 156, 18, 0.5);
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    color: #48310b;
}
.task-priority h4 {
    margin-top: 6px;
    font-size: 1.1rem;
}
.task-priority {
    margin-top: 5px;
}
.status-task h5 {
    margin-bottom: 3px;
}
.status-task span {
    background-color: var(--task-status-yellow) !important;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    color: #fff !important;
}

.priority-box .table {
    margin-bottom: 0;
}

.priority-box tbody,
td,
tfoot,
th,
thead,
tr {
    border: 0 solid transparent !important;
    border-bottom: 1px solid #ddd !important;
}
.priority-box tbody,
td,
tfoot,
th,
thead,
tr:last-child {
    border: 0 solid transparent !important;
    border-bottom: none !important;
}

.marketing-box {
    margin-top: 5px;
}

.marketing-box h4 {
    margin-bottom: 2px;
}
.marketing-box p {
    margin-bottom: 2px;
    color: var(--text-black) !important;
}
.marketing-box p span {
    font-weight: 600;
}

#exampleModal .modal-dialog {
    max-width: 540px;
}
.description-list h5 {
    margin-bottom: 3px;
}
.description-list p {
    margin-bottom: 3px;
}

.status-task {
    text-align: right;
}
.description-list {
    text-align: left;
}
.priority-box td {
    vertical-align: top;
}
.status-task {
    text-align: right;
    margin-top: 5px;
}
.modal-footer {
    padding: 5px 10px !important;
}
.status-badge {
    padding: 10px 0;
}
.badge-list p {
    margin-bottom: 0;
}

.badge-list {
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
}
.status-badge {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    padding-bottom: 0;
}
.badge-list p {
    margin-bottom: 0;
    font-weight: 500;
    color: #000;
}

.daily-operations-table .table {
    table-layout: fixed;
    width: 100%;
}

/* fixed column widths */
.col-name {
    width: 240px;
}

.col-tasks {
    width: calc(100% - 240px);
}

/* horizontal scroll ONLY inside td */
.td-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 3px;
}

.td-scroll {
    scrollbar-width: thin;
}

.td-scroll::-webkit-scrollbar {
    height: 3px;
}

.employee-details p {
    margin-bottom: 0;
    font-size: 1.08rem;
    font-weight: 500;
}

.profile_badge p {
    margin-bottom: 0;
    background-color: var(--status-green) !important;
    padding: 5px 12px;
    border-radius: 5px;
    color: var(--text-white) !important;
    font-weight: 600;
}

.profile_badge {
    float: right;
    margin-right: 7px;
    margin-top: 7px;
}
.user-info {
    margin: auto;
    text-align: center;
    margin-top: 45px;
}
.user-card-img {
    width: 110px;
    margin: auto;
    margin-bottom: 5px;
}
.user-card-img img {
    border-radius: 100%;
}

.user-info h3 {
    margin-bottom: 2px;
}
.user-info p {
    margin-bottom: 3px;
}
.task-status {
    position: relative;
    /* padding: 10px 12px; */
}
.task-status label {
    font-weight: 600;
    font-size: 1rem;
}
.task-details-title h4 {
    margin-bottom: 0;
    padding: 5px 0px;
}

.task-details {
    padding: 10px;
    padding-top: 5px;
}

.task-details-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.task-badge {
    background-color: var(--task-status-yellow) !important;
    padding: 3px 10px;
    color: var(--text-white);
    border-radius: 5px;
}
.task-id-details h4 {
    padding: 5px 0px;
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 18px;
}
.task-id-details h4 span {
    font-weight: 600;
}
.job-title-new h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

.title-name h4 {
    margin-top: 0;
    font-weight: 400;
}

.title-name {
    margin-top: 14px;
}
.title-name h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.delivery-box {
    margin-top: 10px;
}
.delivery-box table.table.table-bordered td {
    padding: 9px 0;
}
.delivery-box table.table.table-bordered td:last-child {
    text-align: right;
    font-weight: 600;
}
.company-info {
    padding: 3.36rem;
}
.company-info h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.company-info-last {
    padding: 2.5rem;
}
.company-info h3 {
    color: #fff !important;
}
.company-info p {
    color: #fff;
}

.company-info-last h3 {
    color: #fff !important;
}
.company-info-last p {
    color: #fff;
}
.inventory-tasks {
    padding: 8px 5px;
    padding-bottom: 0;
}

.inventory-tasks svg {
    margin-right: 5px;
    position: relative;
}
.inventory-tasks h3 {
    margin-bottom: 0;
}

.inventory-table {
    padding: 0 0px;
    border: 1px solid #ddd;
    margin: 5px 10px;
}

.main-chat {
    padding: 10px 10px;
    border: 1px solid #ddd;
    margin: 5px 10px;
}

.status-badge-table p {
    display: inline-block;
    border-radius: 5px;
    background-color: #00bb6e;
    margin-bottom: 0;
    padding: 8px 10px;
    color: #fff;
    font-weight: 500;
    width: 65%;
    text-align: center;
}

.inventory-img img {
    width: 40px;
    border-radius: 6px;
}
.inventory-table table tr:nth-child(even) {
    background-color: #f3f3f9;
}
.pending-badge p {
    background-color: var(--task-status-yellow);
}

.inventory-tasks h3 span {
    font-size: 1.3rem;
    position: relative;
    top: 1px;
}
span.qty-text {
    padding: 0 25px;
}
.clear-msg-box {
    margin-right: 3px;
}

.clear-msg-box a {
    padding: 8px 11px;
    margin-right: 2px;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    padding-left: 7px;
}
.clear-msg-box a span {
    position: relative;
    top: 1px;
}

.profile-list img {
    border-radius: 5px;
}

.profile-list {
    width: 66px;
}

.user-profile {
    display: flex;
    gap: 10px;
}

.user-info-list h3 {
    margin-bottom: 3px;
    font-weight: 600;
    font-size: 1.3rem;
}

.chat-text p {
    margin-bottom: 0;
    margin-top: 5px;
    color: #707070 !important;
}

.user-chat-time {
    font-weight: 500;
    color: #000;
}
.user-info-list p {
    color: #7367f0;
    font-weight: 500;
}
.main-icon {
    position: relative;
}
.icon-insider {
    position: absolute;
    right: 15px;
    top: 10px;
}
.icon-insider svg {
    opacity: 0.5;
}
.r-0 {
    right: 0 !important;
}
.card-box {
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out, background 0s, color 0s, border-color 0s;
    background-color: #fff;
    padding: 15px 15px;
    border-radius: 10px;
}
table.dataTable td,
table.dataTable th {
    padding: 0.72rem 1.5rem;
}
.inventory-table-view {
    padding: 0 0px;
    border: 1px solid #ddd;
}

.subscription-title h3 {
    margin-bottom: 0;
}
.inventory-toggle {
    position: relative;
}
.toggle-list {
    position: absolute;
    right: 0;
}
.card-box h4 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.card-list-box h3 {
    margin-bottom: 5px;
	font-weight:600;
}
.card-list-box p {
    margin-bottom: 5px;
}

.card-list-box {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.card-list-box span {
    padding: 4px 10px;
    font-weight: 500;
}
.package-box {
    margin-top: 8px;
}
.package-box p {
    margin-bottom: 6px;
}
.package-box p span {
    font-weight: 600;
}
.licence-table table td {
    padding: 5px 5px;
    padding-bottom: 5px;
    font-size: 13px;
}
.licence-table table {
    border: 1px solid #ddd;
}
.licence-table {
    margin-top: 10px;
}
.licence-table table td:last-child {
    text-align: center;
    font-weight: 600;
}
.main-btns a {
    display: inline-block;
    width: 49.5%;
    text-align: center;
    padding: 10px 0;
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
}
.main-btns {
    margin: auto;
    text-align: center;
}

.main-btns a span {
    position: relative;
    top: 2px;
    margin-left: 5px;
}

.saved-cards {
    margin-top: 10px;
	min-height:307px;
}
.scrollbar {
    margin-top: 0px;
    height: 218px;
    overflow-y: scroll;
    margin-bottom: 10px;
}

#style-3::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

#style-3::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

#style-3::-webkit-scrollbar-thumb {
    background-color: #3e4865;
}

span.text-bg-dark.btn-primary {
    font-size: 1rem;
    padding: 3px 7px;
    font-weight: 400;
    border-radius: 5px;
}

.card-information-list h3 {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 5px;
    font-weight: 600;
}

.card-information-list {
    border: 1px solid #ccc;
    margin-right: 10px;
    padding: 10px 7px;
    border-radius: 5px;
    margin-bottom: 5px;
}
.card-information-list p {
    margin-bottom: 0;
}
.card-select {
    border: 1px solid var(--task-status-yellow);
}
.card-list {
    margin-top: 5px;
}
.card-information-list p span {
    font-weight: 600;
}

table.table-bordered.dataTable {
    border-right-width: 0;
    border: 2px solid #e3e2e2;
    border-radius: 7px !important;
    border-collapse: unset !important;
}

.table:not(.table-dark):not(.table-light) tfoot:not(.table-dark) th,
.table:not(.table-dark):not(.table-light) thead:not(.table-dark) th {
    background-color: #f3f2f7;
    color: black;
    font-size: small;
}

table.dataTable td,
table.dataTable th {
    padding: 0.52rem 1rem;
    color: black !important;
	vertical-align:middle;
}

.text-body {
    --bs-text-opacity: 1;
    color: rgb(53 53 54) !important;
}

span#modalTaskID {
    background: transparent;
    padding: 0 0px;
    font-size: 14px;
    color: #000;
}
a{
 color:#000 !important;
}

form#setup-form {
    min-height: 115px;
}
.btn-flat-info {
    background-color: transparent;
    color: #000 !important;
    font-size: 13px;
}
.page-title h3 {
    font-weight: 700;
    position: relative;
    top: 5px;
}
.card{
 border-radius:10px !important;
}
.form-toggle-main {
    position: relative;
}
.inventory-toggle {
    position: absolute;
    right: 20px;
    top: 5px;
}
.main-btns button {
    width: 49%;
    height: 45px;
    display: inline;
}
html .content .content-wrapper .content-header-title {
    border-right: none !important;
    font-weight: 600;
    font-size: 20px;
    padding: 0 5px;
}
form#setup-form label {
    font-size: 14px;
    margin-bottom: 8px !important;
}
button.deleteBtn{
background-color: #ea5455;
    color: #fff;	
}
.saved-cards h5 {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
}
.content-list-view {
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out, background 0s, color 0s, border-color 0s;
    background-color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
}
.main-card-box {
    margin-top: 15px;
}
.card .card-header h4 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    width: 100%;
    margin-bottom: 0;
}
.inventory-toggle label {
    color: #000;
    font-size: 14px;
}
.licence-table table td:last-child {
    text-align: right;
    padding: 0 10px;
}

.card-box .d-flex.justify-content-between.align-items-center.header-actions.mx-2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.card-box label {
    font-size: 13px;
    margin-bottom: 5px;
}
.page-item:first-child:not(.prev-item) .page-link {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.page-item.active .page-link {
    background-color: #02475d;
    width: 40px;
}
.page-item:last-child:not(.next-item) .page-link {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.page-item.active .page-link{
 border-radius:0;	
}

table#DataTables_Table_0 button {
    width: 100%;
    padding: 8px 0;
}
div#DataTables_Table_0_wrapper .mx-2{
    margin-left: 0 !important;
    margin-right: 0 !important;	
}

table#DataTables_Table_0 button.btn-flat-danger {
    width: auto !important;
}
table#DataTables_Table_0 button.btn-flat-primary {
    width: auto !important;
}
label{
 color:#000 !important;
}
div#DataTables_Table_0_wrapper p {
    display: block;
    width: fit-content;
}
button.edit-modal {
    width: 100%;
    padding: 7px !important;
}
button.delete-modal {
    width: 100%;
    padding: 7px !important;
}
ul.actions {
    padding-left: 0 !important;
}
