.btn-sm-custom{
    padding: 5px 7px !important;
}
.table th, .table td{
    padding: 0.7rem 0.9375rem !important;
}

.auth-page .auth-left-wrapper {
    width: 100%;
    height: 100%;
    background-image: url('../images/login-bg.jpg') !important;
    background-size: cover;
    background-position: 85% 50%;
}

.edit-icon,
.view-icon,
.trash-icon{
    background: transparent;
    border: none;
}

.edit-icon{ color: #007bff!important;}
.view-icon{ color: #17a2b8!important;}
.trash-icon{ color: #dc3545!important;}

.edit-icon svg,
.view-icon svg,
.trash-icon svg{
    width: 20px;
    height: 20px;
}

@page {
    size: A4 landscape;
    margin: 12mm 15mm;
    background-color: #f8fafc;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
}
.header {
    margin-bottom: 25px;
    display: table;
    width: 100%;
}
.header-title {
    display: table-cell;
    vertical-align: middle;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}
.header-date {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}
.date-badge {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #bfdbfe;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
}

/* KPI Cards Grid using Table Layout */
.kpi-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 12px 0;
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: 25px;
}
.kpi-card {
    display: table-cell;
    width: 20%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px;
    height: 100px;
    vertical-align: top;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.kpi-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    margin-bottom: 20px;
    display: block;
}
.kpi-value {
    font-size: 24px;
    font-weight: 600;
    color: #2563eb;
    display: block;
}

/* Content Row Layout */
.main-row {
    display: table;
    width: 100%;
    margin-bottom: 25px;
}
.chart-container-left {
    display: table-cell;
    width: 65%;
    padding-right: 12px;
    vertical-align: top;
}
.chart-container-right {
    display: table-cell;
    width: 35%;
    padding-left: 12px;
    vertical-align: top;
}
.dashboard-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    min-height: 260px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.card-title,
.card .card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: capitalize;
}

/* CSS Simulated Charts */
.bar-chart-sim {
    display: table;
    width: 100%;
    height: 160px;
    border-bottom: 1px solid #cbd5e1;
    padding-top: 20px;
}
.bar-col {
    display: table-cell;
    vertical-align: bottom;
    text-align: center;
    padding: 0 10px;
}
.bar-fill {
    background-color: #2563eb;
    border-radius: 4px 4px 0 0;
    margin: 0 auto;
    width: 35px;
}
.bar-fill.sales { background-color: #10b981; height: 60px; }
.bar-fill.others { background-color: #94a3b8; height: 15px; }
.bar-fill.ebroch { background-color: #2563eb; height: 140px; }
.bar-fill.design { background-color: #cbd5e1; height: 8px; }
.bar-fill.const { background-color: #1e40af; height: 50px; }
.bar-label {
    font-size: 10px;
    color: #64748b;
    margin-top: 8px;
    display: block;
}

/* Distribution breakdown rows */
.breakdown-row {
    margin-bottom: 12px;
    font-size: 12px;
}
.breakdown-label {
    display: inline-block;
    width: 130px;
    color: #475569;
}
.breakdown-progress {
    display: inline-block;
    width: 120px;
    background-color: #f1f5f9;
    height: 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 10px;
}
.progress-bar {
    height: 8px;
    border-radius: 4px;
}

/* Table Section */
.table-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.table-header {
    padding: 15px 20px;
    border-b: 1px solid #f1f5f9;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    background-color: #ffffff;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.data-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.data-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}
.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}
.badge-published { background-color: #f0fdf4; color: #166534; }
.badge-review { background-color: #fffbeb; color: #92400e; }