.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;
    background-color: #f0f0f0;
}

.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;
}

.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;
}

.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;
}

/* Light dashboard tweak (test append) */
.erp-state-overview-section {
    background: #f7fbff
}

/* Dashboard: lighter, more colorful theme overrides */
:root {
    --dash-bg: #f7fbff;
    --card-bg: #ffffff;
    --muted: #6b7280;
    --accent-1: #7dd3fc;
    /* baby blue */
    --accent-2: #fbcfe8;
    /* pink */
    --accent-3: #fdba74;
    /* orange */
    --accent-4: #bbf7d0;
    /* mint */
    --accent-5: #c7b8ff;
    /* lavender */
    --accent-6: #fde68a;
    /* soft yellow */
}

.erp-state-overview-section {
    background: linear-gradient(135deg, #f7fbff 0%, #fff7f0 50%, #f7fff5 100%);
    padding: 22px 0 10px;
}

.erp-overview-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.erp-overview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
    background: linear-gradient(135deg, rgba(125,211,252,0.12), rgba(199,184,255,0.10));
}

.erp-overview-item p {
    color: var(--muted);
    margin: 0
}

.erp-overview-item h6 {
    margin: 0;
    font-size: 18px;
    color: #111827
}

.erp-overview-item .overview-icon {
    min-width: 48px;
    min-height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.erp-overview-item .overview-icon img {
    width: 28px;
    height: 28px
}

/* pastel color palette for each overview item */
.erp-overview-item:nth-child(1) .overview-icon {
    background: linear-gradient(135deg, var(--accent-1), #e0f2fe)
}

.erp-overview-item:nth-child(2) .overview-icon {
    background: linear-gradient(135deg, var(--accent-2), #fff0f6)
}

.erp-overview-item:nth-child(3) .overview-icon {
    background: linear-gradient(135deg, var(--accent-3), #fff7ed)
}

.erp-overview-item:nth-child(4) .overview-icon {
    background: linear-gradient(135deg, var(--accent-4), #f0fdf4)
}

.erp-overview-item:nth-child(5) .overview-icon {
    background: linear-gradient(135deg, var(--accent-5), #f3f0ff)
}

.erp-overview-item:nth-child(6) .overview-icon {
    background: linear-gradient(135deg, var(--accent-6), #fffbeb)
}

.erp-overview-item:nth-child(7) .overview-icon {
    background: linear-gradient(135deg, #ffd7d7, #fff0f0)
}

.erp-overview-item:nth-child(8) .overview-icon {
    background: linear-gradient(135deg, #dbeafe, #eef2ff)
}

.erp-overview-item:nth-child(9) .overview-icon {
    background: linear-gradient(135deg, #d1fae5, #ecfdf5)
}

.erp-overview-item:nth-child(10) .overview-icon {
    background: linear-gradient(135deg, #fde68a, #fff7ed)
}

.erp-overview-item:nth-child(11) .overview-icon {
    background: linear-gradient(135deg, #fbcfe8, #fff0f6)
}

.erp-overview-item:nth-child(12) .overview-icon {
    background: linear-gradient(135deg, #c7b8ff, #f5f3ff)
}

.dashboard-card {
    background: transparent;
    border: none
}

.dashboard-card .dashboard-card-header {
    background: linear-gradient(90deg, #ffffffcc, #fbfdff);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.03)
}

.dashboard-card .dashboard-card-body {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 18px;
    margin-top: 8px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04)
}

.erp-graph-box {
    background: transparent
}

/* Make selects lighter */
.dashboard-card .nice-select,
.graph-nice-select {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e6eef9;
    padding: 6px 10px
}

/* Slightly larger, friendlier typography */
.dashboard-card .dashboard-card-header h4,
.dashboard-card .dashboard-card-header h5 {
    color: #0f172a;
    font-weight: 600
}

/* Ensure tables on dashboard are airy */
.dashboard-card table.table {
    background: transparent
}