.w-17 {
    width: 17px;
}

.w-14 {
    width: 14px;
}

.h-16 {
    height: 16px;
}

.h-17 {
    height: 17px;
}

.width-50 {
    width: 50px !important;
}

.width-85 {
    width: 85px !important;
}

.indicate-text {
    font-size: 12px;
    color: red;
}

.form-control.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.image-wrapper.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.error-alert {
    font-size: 11px;
    color: red;
}

.error {
    color: red !important;
}

.budget-form .form-control[readonly] {
    background-color: #fff !important;
}

.budget-form ::placeholder {
    font-size: 12px;
}

.avatar {
    background: #292be9;
    border-radius: 50%;
    color: #e3eaef;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    position: relative;
    vertical-align: middle;
    line-height: 1.28;
    height: 45px;
    width: 45px;
}

.avatar.avatar-sm {
    font-size: 12px;
    height: 30px;
    width: 30px;
}

.avatar img {
    border-radius: 50%;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
}

.btn-custom-warning {
    background-color: #292be9 !important;
    color: #fff;
}

.btn-custom-warning:hover {
    color: #fff;
}

.custom-warning-color {
    color: #292be9;
}

.roles-permissions table td {
    color: black;
}

.img-preview {
    margin-top: 4px;
    height: auto;
    width: 100px;
}

.side-bar-logo img {
    height: auto;
}

.folders-files tr a {
    font-size: 18px !important;
}

.gradient-row {
    background: linear-gradient(270deg, #dbe4df 0%, #65e4a6 50%, #ffffff 100%);
}

@media print {
    .table-two thead td {
        padding: 0px !important;
    }
}

.order-form-section label {
    left: 10px;
    white-space: nowrap;
}

.table-form-section .responsive-table,
.party-list-folder-table {
    min-height: unset !important;
}

/* Order line product dropdown — escape scroll/overflow clipping */
.table-form-section,
.table-form-section .table-responsive,
.table-form-section .responsive-table {
    overflow: visible !important;
}

.table-form-section td {
    overflow: visible;
}

.table-form-section select.order-line-product + .nice-select {
    width: 100%;
}

.table-form-section .nice-select.open {
    z-index: 1050;
}

.table-form-section .nice-select.open .list.order-line-product-float-list {
    z-index: 1060;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-dropdown-action .dropdown-menu a {
    padding: 6px 15px !important;
}

.table-title-three h5 {
    font-weight: 600 !important;
}

.loss-profit-custom-color1 {
    background-color: rgba(255, 132, 0, 0.15);
}

.loss-profit-custom-color2 {
    background-color: rgba(255, 181, 101, 1);
    font-weight: bold;
}

.production-wrap {
    padding-right: 60px;
}

.print-wrapper .responsive-table {
    min-height: unset;
}

.print-wrapper .table th,
.print-wrapper .table td {
    white-space: nowrap;
}

/* Delivery Challan form */
.dc-form-wrapper .dc-header-card,
.dc-form-wrapper .dc-items-card {
    border-radius: 8px;
}

/* DC item dropdowns — escape scroll/overflow clipping */
.dc-form-wrapper .dc-items-card,
.dc-form-wrapper .dc-items-card .card-body,
.dc-form-wrapper .dc-items-card .table-responsive {
    overflow: visible !important;
}

.dc-form-wrapper .dc-items-table td {
    overflow: visible;
}

.dc-form-wrapper .dc-items-card .nice-select.open {
    z-index: 1050;
}

.dc-form-wrapper .dc-items-card .nice-select.open .list {
    z-index: 1060;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Manual DC — product column */
.dc-form-wrapper:not(.dc-manual-mode) .dc-manual-col {
    display: none;
}

.dc-form-wrapper.dc-manual-mode select.dc-line-product + .nice-select {
    width: 100%;
    min-width: 160px;
}

.dc-form-wrapper.dc-manual-mode .nice-select.open {
    z-index: 1050;
}

.dc-form-wrapper.dc-manual-mode .nice-select.open .list.order-line-product-float-list {
    z-index: 1060;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dc-items-table thead th {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.dc-items-table tbody td {
    vertical-align: middle;
    padding: 0.35rem;
}

.dc-items-table .form-control-sm {
    min-width: 70px;
}

.dc-items-table .dc-col-action {
    width: 56px;
}

.dc-form-actions {
    padding-bottom: 1rem;
}

.dc-form-actions .theme-btn {
    min-width: 120px;
}

.dc-totals-row td {
    font-size: 0.9rem;
}

.dc-production-wrapper-row .dc-prod-table {
    font-size: 0.85rem;
}

.print-wrapper {
    min-height: 700px !important;
}

.table-header h3,
.table-header h4 {
    font-weight: 700;
}

.erp-new-invice .invice-detaisl {
    padding: 20px 0;
}

.commercial-invoice {
    margin-bottom: 30px;
}

.invoice-payment-details {
    margin-top: 40px;
}

.erp-new-invice {
    min-height: 650px !important;
}

.dashboard-card-body strong {
    font-size: 16px;
    font-weight: 400;
    color: #7e7e7e;
}

#monthly-statistics {
    width: 100% !important;
    max-height: 290px !important;
    min-height: 210px;
}

#salesRatio {
    width: 100% !important;
    max-height: 290px !important;
    min-height: 210px;
}

#sales-by-country {
    width: 100% !important;
    max-height: 220px !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #292be9;
}

.nav-link {
    color: #292be9;
}

.role-reset-btn {
    font-weight: bold;
    color: #292be9;
    border: 1px solid #292be9;
    padding: 0.2rem 0.5rem !important;
}

.role-reset-btn:hover {
    color: #fff !important;
    background-color: #292be9;
    border: 1px solid transparent;
}

/* Bluto-style Delivery Note print */
.delivery-note-print {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.delivery-note-print .erp-table-section {
    padding-top: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.delivery-note-print .delivery-note-print-btn {
    margin-bottom: 12px;
}

.delivery-note-letterhead {
    margin-bottom: 16px;
}

.delivery-note-letterhead-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    min-height: 36px;
}

.delivery-note-gstin {
    flex: 1;
    font-size: 13px;
    padding-top: 6px;
    min-width: 0;
}

.delivery-note-title-badge {
    flex-shrink: 0;
    background: #1a1a1a !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    padding: 9px 20px;
    border: 2px solid #1a1a1a;
    white-space: nowrap;
    line-height: 1.2;
}

.delivery-note-brand-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.delivery-note-logo-col {
    flex: 0 0 88px;
    max-width: 88px;
}

.delivery-note-logo-img {
    display: block;
    max-height: 68px;
    max-width: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.delivery-note-brand-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.delivery-note-print .delivery-note-company-name {
    font-size: 26px;
    font-weight: 700;
    color: #1f4fd8 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.delivery-note-company-line,
.delivery-note-vendor-code {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.delivery-note-vendor-code {
    margin-top: 6px;
}

.delivery-note-meta {
    margin-bottom: 16px;
    font-size: 14px;
}

.delivery-note-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    width: 100%;
    margin-bottom: 12px;
}

.delivery-note-meta-no,
.delivery-note-meta-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.delivery-note-meta-date {
    margin-left: auto;
    text-align: right;
}

.delivery-note-meta-inline {
    border-bottom: 1px dotted #333;
    padding: 0 4px 2px;
    min-width: 48px;
}

.delivery-note-meta-label {
    flex-shrink: 0;
    white-space: nowrap;
}

.delivery-note-meta-field {
    flex: 1;
    border-bottom: 1px dotted #333;
    min-width: 60px;
    padding: 0 4px 3px;
    line-height: 1.3;
}

.delivery-note-to-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.delivery-note-to-field {
    min-height: 18px;
}

.delivery-note-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.delivery-note-table th,
.delivery-note-table td {
    border: 1px solid #222 !important;
    padding: 8px 10px;
    vertical-align: middle;
    white-space: normal !important;
}

.delivery-note-table thead th {
    font-weight: 700;
    font-size: 14px;
    background: #fff !important;
    color: #111 !important;
}

.delivery-note-col-sl {
    width: 8%;
}

.delivery-note-col-particulars {
    width: 52%;
}

.delivery-note-col-size {
    width: 18%;
}

.delivery-note-col-qty {
    width: 22%;
}

.delivery-note-particulars {
    line-height: 1.45;
}

.delivery-note-total-row td {
    font-size: 15px;
}

.delivery-note-print .invoice-print-signatures {
    margin-top: 56px;
}

@media print {
    .delivery-note-print .delivery-note-print-btn {
        display: none !important;
    }

    .delivery-note-print {
        max-width: none;
    }

    .delivery-note-print .delivery-note-company-name {
        color: #1f4fd8 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .delivery-note-title-badge {
        background: #1a1a1a !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

