* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #212529;
}

a {
    text-decoration: none;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

a:hover {
    text-decoration: none;
}

ol,
ul {
    padding-left: 0;
}

li {
    list-style-type: none;
}

.btn-outline-secondary,
.btn-outline-danger,
.btn-outline-primary {
    font-family: 'Poppins', sans-serif;
}

.btn-outline-secondary:hover,
.btn-outline-danger:hover,
.btn-outline-primary:hover {
    font-family: 'Poppins', sans-serif;
    font-size: .875rem;
}

.row {
    margin-right: -7px;
    margin-left: -7px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    padding-right: 7px;
    padding-left: 7px;
}

.gap-2 {
    gap: 10px;
}

/* header-css */
.crm-header {
    position: fixed;
    width: 100%;
    background: #e5e7eb;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 1;
    border-bottom: 1px solid #d1d5db;
    left: 0px;
    top: 0px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-logo {
    position: relative;
    max-width: 85px;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.store-name {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.search-section {
    flex: 1;
    max-width: 500px;
}

.search-bar {
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 0 15px;
    background: #ffffff;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.project-select {
    height: 45px;
    min-width: 180px;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 0 5px;
    background: #ffffff;
    font-size: 15px;
    cursor: pointer;
    width: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
}

.preview-btn:hover {
    background: #212529;
    color: #fff;
}

.profile-dropdown {
    position: relative;
}

.profile-box {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.profile-box img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile-box span {
    color: #212529;
    font-size: 1rem;
}

.notification {
    font-size: 20px;
    color: #212529;
    cursor: pointer;
}

.notification:hover {
    color: #2563eb;
}

.profile-top {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0px 10px;
}

.profile-menu {
    min-width: 250px;
    border: none;
    border-radius: 5px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.profile-top img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* sidebar-css */
.sidebar {
    width: 220px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 66px;
    position: fixed;
    left: 0;
    top: 0;
    transition: 0.3s ease;
    z-index: 999;
    overflow: auto;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 15px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
}

.menu {
    list-style: none;
    width: 100%;
}

.menu li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 10px;
    padding: 10px 0;
    margin: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.menu li i {
    font-size: 20px;
}

.menu li span {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: block;
    word-break: break-word;
}

.menu li:hover {
    background: #c2e7ff;
    color: #001d35;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0), 0 1px 3px 1px rgba(0, 0, 0, 0);
    padding: 10px;
}

.menu li.active {
    background: #c2e7ff;
    color: #001d35;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0), 0 1px 3px 1px rgba(0, 0, 0, 0);
    padding: 10px;
}

.quick-create {
    position: fixed;
    top: 90px;
    left: 199px;
    width: 750px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    padding: 15px;
    display: none;
    z-index: 999;
}

.quick-create.active {
    display: block;
}

.popup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.popup-column h4 {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
    background: #c2e7ff;
    color: #001d35;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0), 0 1px 3px 1px rgba(0, 0, 0, 0);
    padding: 10px;
    border-radius: 5px;
}

.popup-column ul {
    list-style: none;
    margin-bottom: 0;
}

.popup-column li {
    padding: 5px 0;
    cursor: pointer;
    transition: .3s;
    font-size: 15px;
    font-weight: 400;
}

.popup-column li:hover {
    color: #2563eb;
    padding-left: 5px;
}

.toggle-icon {
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    background: #2563eb;
    justify-content: center;
    align-items: center;
    display: flex;
    min-width: 45px;
    min-height: 45px;
    margin-top: 15px;
}

.toggle-menu {
    position: fixed;
    top: 130px;
    left: 20px;
    width: 260px;
    background: #ffff;
    box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s;
    border-radius: 5px;
    padding: 5px 0px;
}

.toggle-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.toggle-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toggle-menu li {
    padding: 5px 15px;
    cursor: pointer;
}

.menu-popup {
    position: fixed;
    width: auto;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    z-index: 1001;
    max-height: 80vh;
    overflow: auto;
}

.menu-popup.active {
    display: block;
}

.popup-content {
    display: none;
}

.popup-content.active {
    display: block;
}

.menu-popup ul {
    margin-bottom: 0;
}

.popup-content a {
    font-size: 15px;
    display: block;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #212529;
}

.popup-menu-subtitle {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
    background: #c2e7ff;
    color: #001d35;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0), 0 1px 3px 1px rgba(0, 0, 0, 0);
    padding: 10px;
    border-radius: 5px;
}

/* main-part */
.page-content {
    padding: 20px;
    margin-left: 220px;
    padding-top: 86px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.top-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0;
}

.top-header p {
    font-size: 14px;
    color: #777;
    margin-bottom: 0px;
}

.new-btn {
    background: #c2e7ff;
    color: #001d35;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0), 0 1px 3px 1px rgba(0, 0, 0, 0);
}

.new-btn:hover {
    background: #212529;
    color: #fff;
    text-decoration: none;
}

.new-btn i {
    margin-right: 5px;
}

.card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.chart-card {
    border: 1px solid #cfcfcf !important;
    box-shadow: none !important;
}

.filter-card {
    display: none;
    margin-top: 15px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-row input,
.filter-row select {
    padding: 8px 10px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    font-size: 14px;
    min-width: 200px;
    width: auto;
}

.filter-row-new {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-row-new input,
.filter-row-new select {
    padding: 8px 10px;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    font-size: 14px;
}

.apply-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.clear-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.action-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #f0f4ff;
    border-color: #2563eb;
    color: #2563eb;
}

.action-btn.primary {
    background: #2f5bd3;
    color: #fff;
    border: none;
}

.action-btn i {
    font-size: 14px;
}

.crm-main-content-box .table-card {
    padding: 4px;
}

.crm-main-content-box .table-container {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.crm-main-content-box table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    vertical-align: middle;
}

.crm-main-content-box thead {
    background: #f1f3f7;
}

.crm-main-content-box thead th {
    text-align: left;
    color: #212529;
    font-size: 16px;
    padding: 8px 15px !important;
    vertical-align: middle;
    font-weight: 500;
}

.crm-main-content-box tbody td {
    font-size: 14px;
    padding: 6px 15px !important;
    color: #212529;
}

.badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
    font-weight: 600;
}

.badge.badge-completed {
    background: #22c55e;
}

.badge.badge-pending {
    background: #f59e0b;
}

.badge.badge-processing {
    background: #3b82f6;
}

.badge.badge-cancelled {
    background: #ef4444;
}

.amount {
    font-weight: 600;
}

button:focus {
    outline: 0;
}

.datatable-pagination {
    padding: 10px 0px !important;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}

.page-sec-title {
    font-size: 18px;
    font-weight: 600;
    color: #65758B;
    text-align: center;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-size: 15px;
    font-weight: 500;
    color: #65758B;
    margin-bottom: 5px;
}

.form-control,
.form-select {
    border-radius: 5px;
    border: 1px solid #d5d5d5;
    height: auto;
    font-size: 14px;
    font-weight: 400;
    color: #212529;
    width: 100%;
    padding: 8px 12px;
}

.form-control:focus,
.form-select:focus {
    color: #212529;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
    outline: 0;
}

.form-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #212529;
    background: #e5e7eb;
    padding: 10px 15px;
}

.form-section-title h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #212529;
}

.form-section-title-new {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #212529;
    text-decoration: underline;
}

.add_btn {
    background: #2563eb;
    color: #fff;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 5px 5px 0;
    transition: 0.2s;
    border: 0;
}

.add_btn:hover {
    background: #212529;
    color: #fff;
}

.items {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
}

.items thead {
    background: #f1f5f9;
}

.items th {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    padding: 12px;
}

.items td {
    padding: 10px;
}

.items .input-group {
    flex-wrap: nowrap !important;
}

.items input,
.items select {
    height: 38px;
    font-size: 13px;
    min-width: 140px;
}

.item-total {
    font-weight: 600;
    color: #2563eb;
}

.crm-main-content-box .table-bordered thead td,
.crm-main-content-box .table-bordered thead th {
    border-bottom-width: 1px;
}

.crm-main-content-box .items.table-bordered th,
.crm-main-content-box .items.table-bordered td {
    border-left-width: 0;
}

.items.table-bordered th:first-child,
.items.table-bordered td:first-child {
    border-left-width: 1px;
}

.items.table-bordered tbody th,
.items.table-bordered tbody td {
    vertical-align: middle;
}

.po-primary-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    width: fit-content;
    display: inline-block;
}

.po-primary-btn:hover {
    background: #c2e7ff;
    color: #212529;
}

.cancel-btn {
    background: #c2e7ff;
    color: #212529;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    display: inline-block;
}

.cancel-btn:hover {
    background: #2563eb;
    color: #fff;
}

.delete-btn {
    background: #DC3545;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: 0.2s;
}

.delete-btn-btn:hover {
    background: #BB2D3B;
}

.totals {
    background: #eef2ff;
    padding: 15px;
    border-radius: 10px;
    max-width: 420px;
    margin-left: auto;
    position: relative;
    overflow: hidden;
}

.totals::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #2f5bd3);
}

.totals .line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px dashed #999;
}

.totals .line:last-child {
    border-bottom: none;
}

.totals .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #65758B;
    margin-bottom: 0;
}

.totals input.form-control {
    height: 38px;
    border-radius: 5px;
    border: 1px solid #d5d5d5;
    text-align: right;
    font-size: 13px;
}

.totals input.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.total-amount {
    font-weight: 600;
    color: #2563eb;
    font-size: 15px;
}

.percent-text {
    font-size: 11px;
    color: #888;
}

.total-amount-box {
    background: #2563eb;
    color: #fff;
    border-radius: 10px;
    padding: 10px 15px !important;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-amount-box .form-label {
    color: #fff;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.total-amount-box .total-amount {
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
}

.btn-close {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    background: #dc3545;
    color: #fff;
    font-size: 24px;
    border-radius: 5px;
    border: 0;
}

.delete-icon {
    font-size: 16px;
}

.action-box {
    position: relative;
    display: flex;
    gap: 5px;
}

.dtr-data .action-box {
    margin-top: 5px;
}

.custom-btn {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid;
    cursor: pointer;
}

.crew-action-btn {
    width: auto;
}

.custom-btn-info {
    border-color: #17a2b8;
    color: #17a2b8;
}

.custom-btn-info:hover {
    background-color: #138496;
    color: #fff;
}

.custom-btn-primary {
    color: #0d6efd !important;
    border-color: #0d6efd;
}

.custom-btn-primary:hover {
    background-color: #0d6efd;
    color: #fff !important;
}

.custom-btn-danger {
    color: #dc3545 !important;
    border-color: #dc3545;
}

.custom-btn-danger:hover {
    background-color: #dc3545;
    color: #fff !important;
}

.custom-btn-success {
    color: #198754 !important;
    border-color: #198754;
}

.custom-btn-success:hover {
    background-color: #198754;
    color: #fff !important;
}

.receipt-upload-box {
    display: block;
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 22px 15px;
    margin-bottom: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.receipt-upload-box:hover,
.receipt-upload-box.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.receipt-upload-box:focus-within {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.receipt-upload-box .upload-icon {
    display: block;
    font-size: 24px;
    color: #475569;
    margin-bottom: 6px;
}

.receipt-upload-box .upload-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.receipt-upload-box .upload-sub {
    font-size: 13px;
    color: #777;
}

.upload-input {
    display: none;
}

.multi-preview {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #cfcfcf;
    background: #fff;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: red;
    color: #fff;
    border: none;
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* view-folder-img */
.image-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    transition: .3s ease;
    height: 100%;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
}

.image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.image-card-body {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-card-body h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

.view-btn {
    border: none;
    background: #0d6efd;
    color: #fff;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: .3s;
}

.view-btn:hover {
    background: #212529;
}

/* tab css */

.tab_box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

.tab_box .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    background: #f8f9fa;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.tab_box .nav-link:hover {
    background: #e7f1ff;
    border-color: #2f6fed;
    color: #2f6fed;
}

.tab_box .nav-link.active {
    background: #2f6fed;
    border-color: #2f6fed;
    color: #fff;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.account-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.add_new_account_btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.add_new_account_btn:hover {
    background: #212529;
    color: #fff;
    text-decoration: none;
}

/* calender css */

.fc .fc-toolbar {
    margin-bottom: 15px !important;
    flex-wrap: wrap;
    gap: 10px;
}

.fc .fc-toolbar-title {
    font-size: 18px;
    font-weight: 500;
    color: #212529;
}

.fc .fc-button {
    box-shadow: none !important;
    padding: 6px 14px !important;
    font-size: 14px !important;
    text-transform: capitalize !important;
}

.fc .fc-prev-button,
.fc .fc-next-button {
    background-color: transparent;
    border-color: #2563eb !important;
    color: #2563eb !important;
    position: relative;
    display: flex;
    padding: 10px;
    height: 35px;
    width: 35px;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 5px;
}

.fc .fc-prev-button:hover,
.fc .fc-next-button:hover {
    background: #2563eb !important;
    color: #fff !important;
}

.fc td,
.fc th {
    padding: 0px !important;
}

.fc .fc-today-button {
    background: #2563eb !important;
    border: none !important;
    color: #fff !important;
}

.fc .fc-today-button:hover {
    background: #212529 !important;
}

.fc .fc-button-group .fc-button {
    background-color: transparent;
    border-color: #2563eb;
    color: #2563eb;
}

.fc .fc-button-group .fc-button-active {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
}

.fc-theme-standard th {
    position: relative;
    background: #f1f3f7;
}

.calendar-box .fc-col-header-cell-cushion {
    padding: 10px;
    font-weight: 600;
    font-size: 16px;
    color: #212529;
}

.fc .fc-daygrid-day-number {
    color: #212529;
}

.calendar-box .fc-daygrid-day.fc-day-today {
    background-color: rgb(35 198 243 / 30%);
}

.modal-header {
    padding: 10px 15px !important;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.inset-btn {
    background: #c2e7ff;
    border: none;
    color: #212529;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: .15s;
}

/* dashboard css */

.mini-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

@media (max-width:1080px) {
    .mini-stats-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, .175);
    transition: 0.3s ease;
}

.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.mini-icon {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.mini-icon.blue {
    background: #4e73df;
}

.mini-icon.cyan {
    background: #36b9cc;
}

.mini-icon.green {
    background: #1cc88a;
}

.mini-icon.red {
    background: #e74a3b;
}

.mini-icon.purple {
    background: #6f42c1;
}

.mini-icon.warning {
    background: #caa433;
}

.mini-content {
    flex: 1;
}

.mini-title {
    font-size: 15px;
    font-weight: 500;
    color: #65758B;
    display: block;
}

.mini-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 4px 0;
}

.badge.up {
    background: #e6f9f0;
    color: #1cc88a;
}

.badge.down {
    background: #fdecea;
    color: #e74a3b;
}

.mini-sub {
    display: block;
    font-size: 14px;
    color: #65758B;
    margin-top: 6px;
}

.income-cost-box {
    width: 100%;
    background: #fff;
    overflow: auto;
    border-radius: 0px 0px 10px 10px;
}

.income-cost-box table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    margin-bottom: 0;
}

.income-cost-box thead {
    background: #f1f3f7;
}

.income-cost-box th {
    text-align: left;
    font-size: 16px;
    letter-spacing: 0;
    color: #212529;
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px solid #cfcfcf;
}

.income-cost-box td {
    padding: 10px;
    border-bottom: 1px solid #cfcfcf;
    vertical-align: middle;
    font-size: 14px;
    color: #666;
}

.income-cost-box tr:last-child td {
    border-bottom: 0;
}

.income-cost-box .project {
    display: flex;
    align-items: center;
    gap: 12px;
}

.income-cost-box .star {
    color: #ffc107;
    font-size: 18px;
}

.income-cost-box .project p {
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 0;
}

.income-cost-box .address {
    font-size: 14px;
    color: #888;
}

.income-cost-box .progress-area {
    width: 360px;
}

.income-cost-box .progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.income-cost-box .label {
    width: 55px;
    font-size: 14px;
    color: #65758B;
}

.income-cost-box .progress-bg {
    flex: 1;
    height: 8px;
    background: #edf1f6;
    border-radius: 30px;
    overflow: hidden;
}

.income-cost-box .progress {
    height: 8px;
    border-radius: 30px;
}

.income-cost-box .income {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.income-cost-box .cost {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.income-cost-box .amount {
    width: 110px;
    text-align: right;
    font-weight: 500;
    font-size: 14px;
    color: #212529;
}

.income-cost-box .profit {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
}

.income-cost-box .positive {
    background: #22c55e;
    color: #fff;
}

.income-cost-box .negative {
    background: #ef4444;
    color: #fff;
}

.income-cost-box .text-center {
    text-align: center;
}

/* report-css */
.kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, .125);
}

.revenue-icon {
    background: #e8f3ff;
    color: #0176d3;
}

.gross-icon {
    background: #e7f7ed;
    color: #2e844a;
}

.expense-icon {
    background: #fff1f2;
    color: #ea001e;
}

.net-icon {
    background: #f3ecff;
    color: #7f56d9;
}

.report-box {
    position: relative;
    /* max-width: 1200px; */
    width: 100%;
    margin: auto;
}

.report-box .filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.report-box .filters input,
.report-box .filters select {
    padding: 10px 12px !important;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    width: auto;
}

.report-box .filters button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
}

.report-box .summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.report-box .summary-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, .125);
    display: flex;
    gap: 15px;
    flex-direction: column;
    flex-wrap: wrap;
}

.report-box .summary-card span {
    font-size: 14px;
    color: #6b7280;
}

.report-box .summary-card h2 {
    margin-top: 5px;
    font-size: 20px;
    margin-bottom: 0;
}

.report-box .section-title {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    background: #e5e7eb;
    margin-bottom: 0;
    padding: 10px 15px;
    border-radius: 10px 10px 0px 0px;
}

.report-sub-tilte {
    font-weight: 600;
    font-size: 16px;
    color: #121d35;
    margin-bottom: 5px;
}

.report-box .row.total {
    border-top: 2px solid #2563eb;
    font-weight: 600;
    justify-content: space-between;
    padding: 8px 15px;
    margin-right: 0;
    margin-left: 0;
}

.report-box .highlight {
    background: #e5e7eb;
    text-align: center;
    color: #121d35;
}

.report-box .highlight h2 {
    font-size: 32px;
    margin-bottom: 0;
}

.net-summary {
    background: linear-gradient(135deg, #2e844a, #3ba55d);
    color: #fff;
    border: 0;
}

.net-summary tbody td {
    color: #fff;
}

.net-summary .section-title {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background: transparent;
    margin-bottom: 0;
    padding: 10px 15px;
    border-radius: 10px 10px 0px 0px;
}

.report-box .statement-table {
    margin-top: 0;
}

.statement {
    max-width: 1000px;
}

.statement-enddate {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    text-align: center;
    color: #444;
}

.statement-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.statement-table th,
.statement-table td {
    padding: 8px 10px;
    font-size: 14px;
    border-bottom: 1px solid #eaeaea;
}

.statement-table th {
    text-align: left;
    background: #333;
    color: #fff;
    font-weight: 600;
}

.statement-table td:last-child {
    text-align: right;
}

.statement-table .section-title {
    font-weight: 600;
    background: #f8f9fa;
}

.statement-table .highlight {
    font-weight: 700;
    color: #0d6efd;
    background: #f1f3ff;
}

.statement-table .spacer td {
    border: none;
    height: 10px;
}

.balance-table {
    width: 100%;
    border-collapse: collapse;
}

.balance-table th,
.balance-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eaeaea;
}

.balance-table tr:last-child td {
    border-bottom: 0;
}

.balance-table td.amount {
    text-align: right;
    font-weight: 500;
}

.balance-table tr.subtotal td {
    font-weight: 600;
}

.balance-table tr.total td {
    border-top: 2px solid #2563eb;
    font-size: 16px;
    font-weight: 700;
}

.balance-table .negative {
    color: #dc2626;
}

/* attendance css */
.time-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.time-section .time-text {
    font-size: 30px;
    font-weight: 600;
}

.time-section .sub-text {
    font-size: 14px;
    color: #888;
}

.punch-button-box {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.puch-btn {
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    transition: 0.3s;
}

.puch-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.clock-in {
    background: #22c55e;
    color: #fff;
}

.clock-out {
    background: #fb923c;
    color: #fff;
}

.break-in {
    background: #3b82f6;
    color: #fff;
}

.break-out {
    background: #1e293b;
    color: #fff;
}

.stat-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, .125);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: .3s;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-card span {
    color: #6b7280;
    font-size: 16px;
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.bg-warning-subtle {
    background-color: #fff3cd;
}

.bg-success-subtle {
    background-color: #d1e7dd;
}

.bg-danger-subtle {
    background-color: #f8d7da;
}

.bg-primary-subtle {
    background-color: #cfe2ff;
}

/* quick-text-tab */
.quick-text-tab .nav-link {
    background-color: #fff;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 0px;
}

.quick-text-tab .nav-link.active {
    background-color: #2563eb;
    color: #fff;
}

.form-section {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, .125);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.section-header h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    color: #212529;
    margin-bottom: 0;
}

.section-body {
    padding: 15px;
}

.analytics-subtitle {
    font-size: 14px;
    color: #64748b;
}

.analytics-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    transition: all .3s ease;
}

.analytic-item-text {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.analytic-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.analytic-item-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.analytic-item-sub {
    font-size: 14px;
    color: #64748b;
}

.analytics-list-item .btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.analytic-view-btn {
    background: #212529;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.analytic-view-btn:hover {
    background: #2563eb;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 39px !important;
}

.select2-container .select2-selection--single {
    height: 39px !important;
    background-color: #fff !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 5px 0px 0px 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 39px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-size: 14px;
    font-weight: 400;
    color: #555;
}

.btn-outline-danger:hover {
    color: #fff !important;
}

.form-main-box {
    position: relative;
    max-width: 800px;
    margin: auto;
}

/* chnage order css */
.co-section {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.co-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.co-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.co-section-body {
    padding: 15px;
}

.co-readonly-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 18px;
}

.co-readonly-item .label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
}

.co-readonly-item .value {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.co-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    align-items: center;
}

.co-radio-group .form-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.co-radio-group input[type="number"] {
    width: 90px;
    display: inline-block;
    margin-left: 6px;
}

.co-doc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.co-doc-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    font-size: 14px;
}

.co-doc-list li:last-child {
    border-bottom: none;
}

.co-doc-list .doc-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-weight: 500;
}

.co-doc-list .doc-name i.uploaded {
    color: #059669;
}

.co-doc-list .doc-name i.pending {
    color: #9ca3af;
}

.co-doc-status {
    font-size: 13px;
    font-weight: 500;
}

.co-doc-status.uploaded {
    color: #059669;
}

.co-doc-status.pending {
    color: #4f46e5;
    cursor: pointer;
    text-decoration: underline;
}

.co-add-doc-btn {
    background: #fff;
    border: 1px dashed #c7c9ce;
    color: #4f46e5;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
}

.co-add-doc-btn:hover {
    background: #f5f6ff;
}

.co-approval-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.co-approval-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.co-approval-list li:last-child {
    border-bottom: none;
}

.co-approval-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.co-approval-icon.approved {
    background: #d1fae5;
    color: #059669;
}

.co-approval-icon.required {
    background: #eef2ff;
    color: #4f46e5;
}

.co-approval-icon.pending {
    background: #f3f4f6;
    color: #9ca3af;
}

.co-approval-role {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    min-width: 130px;
}

.co-approval-name {
    font-size: 14px;
    color: #6b7280;
    flex: 1;
}

.co-approval-state {
    font-size: 13px;
    font-weight: 500;
}

.co-approval-state.approved {
    color: #059669;
}

.co-approval-state.required {
    color: #4f46e5;
}

.co-policy-note {
    font-size: 13px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    padding: 10px 14px;
}

.co-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 12px;
}

.co-check-row .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.co-ready-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    padding: 10px 15px;
    margin-top: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.co-ready-banner .co-ready-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.co-ready-banner .co-ready-text i {
    color: #2563eb;
    font-size: 20px;
}

.co-ready-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.co-ready-sub {
    font-size: 14px;
    font-weight: 400;
    color: #212529;
    margin: 0;
}

.co-ready-actions {
    display: flex;
    gap: 10px;
}

.co-address-line {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

.co-status-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    padding: 16px 18px;
    border: 1px solid;
}

.co-status-banner .co-ready-title {
    font-weight: 600;
    margin: 0;
}

.co-status-banner .co-ready-sub {
    margin: 0;
    font-size: 13px;
}

.co-status-approved {
    background: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.co-status-pending {
    background: #fff3cd;
    border-color: #ffe69c;
    color: #664d03;
}

.co-status-rejected {
    background: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.co-read-value {
    white-space: pre-wrap;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.mini-card-menu {
    color: inherit;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.mini-card-menu:hover {
    color: inherit;
}

.mini-card-menu-box {
    position: relative;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, .125);
}

.mini-card-menu-box img {
    position: relative;
    width: 100%;
    border-radius: 10px;
    min-height: 250px;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.mini-card-menu-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.mini-card-menu-box p {
    font-size: 14px;
    font-weight: 400;
    color: #65758B;
}

.mini-card-menu-box span {
    font-size: 14px;
    font-weight: 500;
}

.mini-card-menu-box .unique-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mini-card-menu-box .arrow-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
}

.help-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
}

.file-list li:last-child{
    margin-bottom: 0;
}

.file-list li i {
    font-size: 18px;
    color: #6c757d;
}

.custom-btn-danger:hover i{
    color: #fff;
}

.file-list li .file-size {
    margin-left: auto;
    color: #6c757d;
    font-size: 12px;
}

.file-list:last-child li {
    margin-bottom: 0px;
}


@media (max-width: 767px) {
    .ready-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ready-actions {
        width: 100%;
    }

    .ready-actions button {
        flex: 1;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .store-name {
        font-size: 16px;
    }

    .crm-header {
        padding: 10px;
        gap: 10px;
    }

    .preview-btn {
        font-size: 14px;
        padding: 10px;
    }

    .profile-box span {
        font-size: 14px;
    }

    .profile-box img {
        width: 34px;
        height: 34px;
    }

    .project-select {
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .preview-btn {
        font-size: 14px;
        padding: 8px;
    }

    .project-select {
        min-width: 160px;
    }

    .profile-dropdown {
        font-size: 14px;
    }

    .profile-box img {
        width: 34px;
        height: 34px;
    }

    .header-right {
        gap: 10px;
    }

    .crm-header {
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width:991px) {
    .crm-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .logo-section {
        width: 100%;
    }

    .project-select {
        height: 45px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar {
        left: -230px;
        margin-top: 0;
    }

    .sidebar.active {
        left: 0;
        width: 100%;
    }

    .page-content {
        padding-top: 20px;
    }

    .crm-header {
        position: relative;
    }

    .page-content {
        margin-left: 0;
        padding: 10px;
    }

    .quick-create {
        width: 90%;
        left: 5%;
        top: 70px;
    }

    .popup-grid {
        grid-template-columns: 1fr;
    }

    .store-name {
        font-size: 16px;
    }

    .menu .popup-content li {
        padding: 0;
        margin: 0;
    }

    .menu-popup {
        position: relative !important;
        left: 2% !important;
        top: 0 !important;
        width: 96% !important;
        margin: 10px 0px;
        border-radius: 8px;
        background: #e5e7eb;
    }

    .popup-content {
        max-height: 300px;
        overflow-y: auto;
    }

    .menu li span {
        font-size: 16px;
    }

    .totals {
        margin-bottom: 15px;
    }

    .search-section {
        display: none;
    }
}

@media (max-width: 480px) {

    .search-section,
    .project-select {
        flex: 1;
    }

    .header-right {
        margin-left: unset;
        justify-content: space-between;
        width: 100%;
    }

    .filter-row input,
    .filter-row select {
        width: 100%;
    }

}

@media (max-width: 375px) {
    .menu-popup {
        width: 200px;
    }
}

.fc .fc-button-group>.fc-button.fc-button-active,
.fc .fc-button-group>.fc-button:active,
.fc .fc-button-group>.fc-button:focus,
.fc .fc-button-group>.fc-button:hover {
    z-index: auto;
}

/* Login / Forgot password / Reset password pages */
.portal-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f5f5;
}

.portal-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.portal-login-head {
    background: #e5e7eb;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #d1d5db;
}

.portal-login-head img {
    max-width: 85px;
    margin-bottom: 8px;
}

.portal-login-head h1 {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.portal-login-body {
    padding: 20px;
}

.portal-login-body .login-sub {
    font-size: 14px;
    color: #65758B;
    text-align: center;
    margin-bottom: 20px;
}

.portal-login-body .input-group-text {
    background: #fff;
    color: #65758B;
    border: 1px solid #d5d5d5;
    border-right: 0;
    border-radius: 5px 0 0 5px;
}

.portal-login-body .input-group .form-control {
    border-radius: 0 5px 5px 0;
}

.portal-login-body .input-group .form-control.has-toggle {
    border-radius: 0;
    border-right: 0;
}

.portal-login-body .toggle-pass {
    background: #fff;
    color: #65758B;
    border: 1px solid #d5d5d5;
    border-left: 0;
    border-radius: 0 5px 5px 0;
    padding: 0 12px;
    cursor: pointer;
}

.portal-login-body .toggle-pass:hover {
    color: #2563eb;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.login-options .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    margin: 0;
    font-size: 14px;
    color: #212529;
}

.login-options .form-check-input {
    margin-left: 0;
    position: static;
}

.login-options a {
    font-size: 14px;
    color: #2563eb;
}

.login-options a:hover {
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.login-error {
    display: none;
    font-size: 13px;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

.login-foot {
    text-align: center;
    font-size: 13px;
    color: #65758B;
    margin-top: 15px;
}

.login-success {
    display: none;
    font-size: 13px;
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

.pass-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

.portal-login-body .back-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2563eb;
}

.portal-login-body .back-login:hover {
    text-decoration: underline;
}

/* login.aspx (ASP.NET server controls) additions */
.login-validation {
    font-size: 13px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

.login-validation ul {
    margin: 4px 0 0 18px;
}

.login-validation li {
    list-style-type: disc;
    font-size: 13px;
}

.login-options .save-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #212529;
}

.login-options .save-login input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.login-options .save-login label {
    margin: 0;
    font-size: 14px;
    cursor: pointer;
}

/* Login page background image */
.portal-login-wrap.has-bg {
    background-color: #0b1b3a;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.portal-login-wrap.has-bg .portal-login-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

/* Dark overlay on login background (change .55 to make it lighter / darker) */
.portal-login-wrap.has-bg {
    position: relative;
}

.portal-login-wrap.has-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .55);
}

.portal-login-wrap.has-bg .portal-login-card {
    position: relative;
    z-index: 1;
}

/* ===== New dashboard design (Poppins font kept) ===== */
.dash-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.175);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dash-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.dash-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.dash-head-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.dash-legend {
    font-size: 13px;
    color: #65758B;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-income {
    background: #2563eb;
}

.dot-expense {
    background: #60a5fa;
}

.dot-green {
    background: #22c55e;
}

.dot-yellow {
    background: #fbbf24;
}

.dot-red {
    background: #ef4444;
}

.dot-grey {
    background: #cbd5e1;
}

.dash-select {
    height: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 0 8px;
    font-size: 13px;
    color: #212529;
    background: #fff;
    cursor: pointer;
}

.dash-link {
    font-size: 13px;
    font-weight: 500;
    color: #2563eb;
}

.dash-link:hover {
    text-decoration: underline;
}

.dash-chart-wrap {
    position: relative;
    height: 280px;
}

/* Project status donut */
.status-wrap {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 10px;
}

.status-donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(#22c55e 0 calc(var(--on) * 1%),
            #fbbf24 calc(var(--on) * 1%) calc((var(--on) + var(--risk)) * 1%),
            #cbd5e1 calc((var(--on) + var(--risk)) * 1%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-donut-center {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.status-donut-center strong {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.status-donut-center span {
    font-size: 14px;
    color: #65758B;
}

.status-legend {
    margin: 0;
    min-width: 150px;
}

.status-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: #212529;
}

.status-legend li span {
    flex: 1;
}

.status-legend li b {
    font-weight: 600;
}

/* CRM pipeline */
.pipeline {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 10px;
    height: 230px;
}

.pipe-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}

.pipe-num {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pipe-bar {
    width: 100%;
    max-width: 62px;
    border-radius: 4px 4px 0 0;
}

.pipe-blue {
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.pipe-blue2 {
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.pipe-purple {
    background: linear-gradient(180deg, #a78bfa, #8b5cf6);
}

.pipe-green {
    background: linear-gradient(180deg, #86efac, #4ade80);
}

.pipe-label {
    font-size: 12px;
    color: #65758B;
    margin-top: 8px;
    line-height: 1.3;
}

/* Recent activity */
.activity-list {
    margin: 0;
}

.activity-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f7;
}

.activity-list li:last-child {
    border-bottom: 0;
}

.act-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.act-blue {
    background: #e0edff;
    color: #2563eb;
}

.act-green {
    background: #dcfce7;
    color: #16a34a;
}

.act-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.act-text {
    flex: 1;
    font-size: 13px;
    color: #212529;
}

.act-time {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .dash-chart-wrap {
        height: 220px;
    }
}

/* Active Projects header + responsive table */
.ap-head {
    padding: 15px;
    margin-bottom: 0;
}

.income-cost-box {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1199px) {
    .income-cost-box .progress-area {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .income-cost-box th {
        font-size: 14px;
        padding: 8px;
    }

    .income-cost-box td {
        padding: 8px;
    }

    .income-cost-box .progress-area {
        width: 260px;
    }

    .income-cost-box .project p {
        font-size: 14px;
    }

    .income-cost-box .amount {
        width: 85px;
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive),
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) tbody,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) tr,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td {
        display: block;
        width: 100%;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) {
        border: 0;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) thead {
        display: none;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) tr {
        position: relative;
        border: 1px solid #d5d5d5;
        border-radius: 5px;
        padding: 12px;
        margin-bottom: 10px;
        background: #fff;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) tr:has(td.card-actions) {
        padding-right: 56px;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td {
        display: flex;
        gap: 8px;
        border: 0 !important;
        padding: 4px 0 !important;
        white-space: normal !important;
        text-align: left !important;
        color: #212529;
        font-size: 14px;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td::before {
        content: attr(data-label);
        flex: 0 0 110px;
        font-weight: 500;
        color: #212529;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td.card-title {
        font-size: 15px;
        font-weight: 600;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td.card-title::before,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td.card-actions::before,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td:not([data-label])::before,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td[data-label=""]::before {
        display: none;
    }

    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td.card-actions {
        position: absolute;
        top: 10px;
        right: 12px;
        width: auto;
        padding: 0 !important;
    }

    /* inputs/selects inside card cells fill the row */
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td input,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td select,
    table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive) td textarea {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* fakat card-table vaala wrapper ma j overflow khole; dt-responsive vaala ne chhedvu nahi */
    .table-responsive:has(> table.table-bordered:is(.no-footer, .items):not(.no-cards, .dt-responsive)) {
        overflow-x: visible;
        border: 0;
    }

    .btn-group-sm>.btn, .btn-sm{
        padding: 2px 4px;
    }
}


.form-main-box1 {
    max-width: 1240px;
    margin: 0 auto;
}

.rfi-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 20px;
    background: #e5e7eb;
    color: #4b5563;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 600;
}

.rfi-upload-link {
    color: #2563eb;
    font-weight: 600;
}

.rfi-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.rfi-file-empty {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* ===== Change Order: Before you submit checklist ===== */
.co-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.co-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
}

.co-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.co-checklist li.done .co-check-icon {
    background: #2563eb;
    border-color: #2563eb;
}

.co-checklist li:not(.done) .co-check-icon i {
    display: none;
}