.new-card{
    border: 5px solid #0d0f1e;
    border-radius: 15px;
}

.login-pagebg{
    background-image: linear-gradient( 135deg, #FCCF31 10%, #F55555 100%);
}
.btn-grad {background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%)}
.btn-grad {
   margin: 10px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 20px #eee;
   border-radius: 10px;
   display: block;
 }

 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }

 .active {

    background-image: linear-gradient( 135deg, #FCCF31 10%, #F55555 100%);
    font-weight: bold;
 }


 .card-new-color1{

    border-top: 4px solid ;
    border-image:linear-gradient( 109.6deg,  rgba(255,174,0,1) 11.2%, rgba(255,0,0,1) 100.2% ) 10;
 }
 .shadow-3{
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
 }

.custom-widget-1{
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    color: #fff;
}
.custom-widget-2{
    background-image: linear-gradient( 135deg, #F761A1 10%, #8C1BAB 100%);
    color: #fff;
}

.custom-widget-3{
    background-image: linear-gradient( 135deg, #FDD819 10%, #E80505 100%);
    color: #fff ;
}

.custom-widget-4{
    background-image: linear-gradient( 135deg, #F05F57 10%, #360940 100%);
    color: #fff ;
}

.admin-new-card{
    border: 5px solid #0d0f1e;
    border-radius: 15px;
}


.admin-btn-grad {background-image: linear-gradient(to right, #000000 0%, #434343  51%, #000000  100%)}
.admin-btn-grad {
    margin: 10px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.admin-btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}
.admin-login-pagebg{
   background-color: #fff;
}

.active-admin {
   background-color: #ffffff;
    color: #000000!important;
    font-weight: bold;
    border-radius: 10px!important;
}
.active-admin:hover {
    background-color: #000000!important;
    color: #ffffff!important;
    border: 2px solid #ffffff;
}

.active-admin-1 {
    background-color: #ffffff;
    color: #000000!important;
    font-weight: bold;
    border-radius: 10px!important;
}

.active-admin-1:hover {
    background-color: #000000!important;
    color: #ffffff!important;
}

.admin-sidebar-dark-primary{
    background-color: #000000;
}

.admin-widget-black{
    background-color: #000000;
    color: #ffffff;
}

.admin-cart-header{
    border-left: 3px solid #000000;
    border-top-left-radius: 0px;
}

.admin-black{
    background-color: #000000;
}

.admin-white{
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
}
.admin-text-black{
    color: #000000;
    font-weight: bold;
}

.admin-text-white{
    color: #ffffff!important;
    font-weight: bold;
}
.admin-submit-btn-grad {background-image: linear-gradient(to right, #141E30 0%, #243B55  51%, #141E30  100%)}
.admin-submit-btn-grad {
    padding: 2px 6px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 6px;
    display: block;
    font-weight: bold;
}

.admin-submit-btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.admin-delete-rigt{
    /*border-right-radius: 8px;*/
    border-radius: 6px;
}

.admin-customer-card-bg-1{
    background-color: #1C2631;
    color: #ffffff;
}
.admin-customer-cardfooter-bg-1{
    /*background-color: #141C24;*/
    background-color: #2b4162;
    background-image: linear-gradient(315deg, #2b4162 0%, #12100e 74%);

}

.admin-border-bottom-1{
    border-bottom: 2px solid #171f29;
}

.stripe-bg{
    background-color: #6B71E3;
    color: #FFFFFF;
}

.paypal-bg{
    background-color: #3b7bbf;
    color: #FFFFFF;
}
.razorpay-bg{
    background-color: #0D94FB;
    color: #FFFFFF;
}

/* Sidebar / PDF: company logos (tall or square) without stretching */
.brand-link-site-logo {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.brand-link-site-logo .site-brand-logo {
  max-height: 52px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-link-site-logo .site-brand-logo-favicon {
  max-height: 33px;
  max-width: 33px;
}
.brand-link-site-logo .brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Truck invoice mobile-first refinements */
.truck-table-wrap {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

.truck-mobile-table th,
.truck-mobile-table td {
    vertical-align: middle;
}

.truck-action-btn {
    min-width: 120px;
}

@media (max-width: 767.98px) {
    .truck-table-wrap {
        border: 0;
        background: transparent;
    }

    .truck-mobile-table thead {
        display: none;
    }

    .truck-mobile-table,
    .truck-mobile-table tbody,
    .truck-mobile-table tr,
    .truck-mobile-table td {
        display: block;
        width: 100%;
    }

    .truck-mobile-table tr {
        border: 1px solid #dcdfe3;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    }

    .truck-mobile-table td {
        border: 0;
        padding: 0 0 10px;
    }

    .truck-mobile-table td:last-child {
        padding-bottom: 0;
    }

    .truck-mobile-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 12px;
        color: #344054;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .truck-mobile-table .form-control {
        min-height: 40px;
    }

    .truck-mobile-table .remove-truck-row,
    .truck-action-btn,
    .truck-invoice-section .btn-block {
        width: 100%;
    }
}

/* Admin finance dashboard (scoped) */
.dashboard-finance {
    background-color: #f1f3f5;
    min-height: calc(100vh - 57px);
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.dashboard-finance .dashboard-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1d21;
    margin-bottom: 0.15rem;
}

.dashboard-finance .dashboard-page-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.dashboard-finance .dashboard-date-input {
    max-width: 260px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.dashboard-finance .dashboard-kpi-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    padding: 1rem 1.1rem;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dashboard-finance .dashboard-kpi-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
    color: inherit;
}

.dashboard-finance .dashboard-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.dashboard-finance .dashboard-kpi-icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.dashboard-finance .dashboard-kpi-icon-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.dashboard-finance .dashboard-kpi-icon-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.dashboard-finance .dashboard-kpi-icon-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.dashboard-finance .dashboard-kpi-body {
    flex: 1;
    padding-left: 1rem;
    min-width: 0;
}

.dashboard-finance .dashboard-kpi-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.dashboard-finance .dashboard-kpi-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1d21;
    line-height: 1.2;
    margin: 0.2rem 0;
}

.dashboard-finance .dashboard-kpi-meta { font-size: 0.8rem; font-weight: 600; }
.dashboard-finance .dashboard-kpi-meta-orange { color: #ea580c; }
.dashboard-finance .dashboard-kpi-meta-green { color: #16a34a; }
.dashboard-finance .dashboard-kpi-meta-purple { color: #7c3aed; }

.dashboard-finance .dashboard-kpi-chevron {
    align-self: center;
    color: #ced4da;
    font-size: 0.9rem;
    padding-left: 0.35rem;
}

.dashboard-finance .dashboard-panel-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
}

.dashboard-finance .dashboard-panel-card .card-header {
    background: transparent;
    border-bottom: 1px solid #eef1f4;
    padding: 0.85rem 1.1rem;
}

.dashboard-finance .dashboard-panel-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1d21;
    margin: 0;
}

.dashboard-finance .dashboard-panel-card .card-body {
    padding: 1rem 1.1rem 1.1rem;
}

.dashboard-finance .dashboard-table-wrap {
    max-height: 280px;
    overflow: auto;
}

.dashboard-finance .dashboard-table {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.dashboard-finance .dashboard-table thead th {
    border-top: none;
    border-bottom: 1px solid #eef1f4;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.dashboard-finance .dashboard-table tbody td {
    border-top: none;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
    color: #343a40;
}

.dashboard-finance .dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.dashboard-finance .dashboard-view-all {
    font-size: 0.8rem;
    font-weight: 600;
}

.dashboard-finance .dashboard-category-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.dashboard-finance .dashboard-info-banner {
    border-radius: 10px;
    border: none;
    background: #e7f1ff;
    color: #0b4a8c;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

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

.dashboard-finance .dashboard-expense-total {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}
