/* =====================================================
   HERMADA SMART WMS - Premium Light Green Design System
   Light theme with green accents, glassmorphism, smooth animations
   ===================================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    --bg-primary: #f0f7f2;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f7faf8;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);

    --accent-primary: #16a34a;
    --accent-primary-hover: #15803d;
    --accent-primary-glow: rgba(22, 163, 74, 0.2);
    --accent-primary-light: rgba(22, 163, 74, 0.08);
    --accent-secondary: #059669;
    --accent-secondary-hover: #047857;
    --accent-success: #16a34a;
    --accent-success-bg: rgba(22, 163, 74, 0.1);
    --accent-danger: #dc2626;
    --accent-danger-bg: rgba(220, 38, 38, 0.08);
    --accent-warning: #d97706;
    --accent-warning-bg: rgba(217, 119, 6, 0.08);
    --accent-info: #0891b2;
    --accent-info-bg: rgba(8, 145, 178, 0.08);
    --accent-over: #7c3aed;
    --accent-over-bg: rgba(124, 58, 237, 0.08);

    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    --border-color: rgba(22, 163, 74, 0.12);
    --border-light: rgba(22, 163, 74, 0.18);
    --border-active: rgba(22, 163, 74, 0.5);
    --border-subtle: #e2e8f0;

    --sidebar-width: 260px;
    --topbar-height: 64px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(22, 163, 74, 0.15);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Force uppercase on all text inputs */
input[type="text"],
input[type="search"],
textarea {
    text-transform: uppercase;
}

input[type="text"]::placeholder,
input[type="search"]::placeholder,
textarea::placeholder {
    text-transform: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #b0c4b8;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8eaa9a;
}

/* =====================================================
   LOGIN PAGE
   ===================================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #f0f7f2 40%, #e0f2f1 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
    bottom: -120px;
    left: -120px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.login-logo h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-primary);
}

.login-logo h1 span {
    color: var(--accent-primary);
}

.login-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.login-form label i {
    margin-right: 6px;
    color: var(--accent-primary);
}

.login-error {
    margin-top: 16px;
    padding: 12px;
    background: var(--accent-danger-bg);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent-danger);
    font-size: 0.85rem;
    text-align: center;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.login-toggle {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-toggle a {
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-primary);
}

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

/* =====================================================
   FORM ELEMENTS
   ===================================================== */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="search"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    background: #ffffff;
    color: var(--text-primary);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
    background: #ffffff;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    background-color: #ffffff;
}

select option {
    background: #ffffff;
    color: var(--text-primary);
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.form-group .required::after {
    content: ' *';
    color: var(--accent-danger);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    box-shadow: var(--shadow-glow);
}

.btn-success {
    background: #059669;
    color: #fff;
}

.btn-success:hover {
    background: #047857;
}

.btn-danger {
    background: var(--accent-danger);
    color: #fff;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-warning {
    background: var(--accent-warning);
    color: #fff;
}

.btn-warning:hover {
    background: #b45309;
}

.btn-info {
    background: var(--accent-info);
    color: #fff;
}

.btn-info:hover {
    background: #0e7490;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--border-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--accent-primary-light);
    color: var(--accent-primary);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-icon:hover {
    background: var(--accent-primary-light);
    color: var(--accent-primary);
}

.btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =====================================================
   MAIN LAYOUT
   ===================================================== */
.main-app {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform var(--transition-normal);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.04);
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05) 0%, transparent 100%);
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.sidebar-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.sidebar-header h2 span {
    color: var(--accent-primary);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.nav-section {
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent-primary);
    opacity: 0.7;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    margin: 2px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.nav-item:hover {
    background: var(--accent-primary-light);
    color: var(--accent-primary);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12) 0%, rgba(22, 163, 74, 0.04) 100%);
    color: var(--accent-primary);
    font-weight: 600;
    border-left: 3px solid var(--accent-primary);
    margin-left: 5px;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--accent-danger);
    color: #fff;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.badge-count {
    background-color: var(--accent-danger);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    vertical-align: middle;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--accent-danger-bg);
    color: var(--accent-danger);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(220, 38, 38, 0.15);
}

/* --- Main Content --- */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    min-width: 0;
}

/* --- Top Bar --- */
.topbar {
    height: var(--topbar-height);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb span {
    color: var(--accent-primary);
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-clock {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.topbar-clock i {
    margin-right: 6px;
    color: var(--accent-primary);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.topbar-user .user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.topbar-user .user-info {
    line-height: 1.3;
}

.topbar-user .user-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.topbar-user .user-role {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 500;
}

/* --- Page Content --- */
.page-content {
    flex: 1;
    padding: 24px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.page-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* =====================================================
   CARDS & WIDGETS
   ===================================================== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--stat-color, var(--accent-primary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-card.blue {
    --stat-color: #3b82f6;
}

.stat-card.blue .stat-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-card.green {
    --stat-color: var(--accent-primary);
}

.stat-card.green .stat-icon {
    background: var(--accent-success-bg);
    color: var(--accent-primary);
}

.stat-card.amber {
    --stat-color: var(--accent-warning);
}

.stat-card.amber .stat-icon {
    background: var(--accent-warning-bg);
    color: var(--accent-warning);
}

.stat-card.red {
    --stat-color: var(--accent-danger);
}

.stat-card.red .stat-icon {
    background: var(--accent-danger-bg);
    color: var(--accent-danger);
}

.stat-card.cyan {
    --stat-color: var(--accent-info);
}

.stat-card.cyan .stat-icon {
    background: var(--accent-info-bg);
    color: var(--accent-info);
}

/* =====================================================
   DATA TABLE
   ===================================================== */
.table-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #ffffff;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* PAGINATION UTILITY */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}
.pagination-info {
    color: var(--text-secondary);
}
.pagination-controls {
    display: flex;
    gap: 6px;
    align-items: center;
}
.pagination-controls .btn-sm {
    padding: 4px 10px;
    font-size: 0.8rem;
    min-width: 32px;
}
.pagination-controls .btn-primary {
    pointer-events: none;
}
.pagination-dots {
    color: var(--text-secondary);
    padding: 0 4px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table thead {
    background: linear-gradient(135deg, #f0fdf4 0%, #f7faf8 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
    background: rgba(22, 163, 74, 0.04);
}

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

.data-table .text-right {
    text-align: right;
}

.data-table .text-center {
    text-align: center;
}

.data-table .text-nowrap {
    white-space: nowrap;
}

/* Table action buttons */
.table-actions {
    display: flex;
    gap: 6px;
}

.table-actions .btn-sm {
    padding: 4px 8px;
    font-size: 0.75rem;
}

/* --- Status Badges --- */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-belum {
    background: var(--accent-warning-bg);
    color: var(--accent-warning);
}

.badge-proses {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.badge-selesai {
    background: var(--accent-success-bg);
    color: var(--accent-success);
}

.badge-danger {
    background: var(--accent-danger-bg);
    color: var(--accent-danger);
}

.badge-over {
    background: var(--accent-over-bg);
    color: var(--accent-over);
}

.badge-aktif {
    background: var(--accent-success-bg);
    color: var(--accent-success);
}

.badge-nonaktif {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

/* --- Table Toolbar --- */
.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.table-toolbar .search-box {
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-width: 250px;
    transition: border-color var(--transition-fast);
}

.table-toolbar .search-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-glow);
}

.table-toolbar .search-box i {
    padding: 0 12px;
    color: var(--accent-primary);
}

.table-toolbar .search-box input {
    border: none;
    background: none;
    padding: 9px 12px 9px 0;
    flex: 1;
    outline: none;
}

.table-toolbar .search-box input:focus {
    box-shadow: none;
}

.table-toolbar .filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.table-toolbar select {
    min-width: 140px;
}

/* Big search box for Cari Lokasi */
.search-big {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.15rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: #ffffff;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
    text-transform: uppercase;
}

.search-big:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-primary-glow);
}

.search-big::placeholder {
    text-transform: none;
    color: var(--text-muted);
}

/* =====================================================
   SMART ALERTS (Blinking red for low stock)
   ===================================================== */
.alert-table {
    border: 2px solid var(--accent-danger);
}

.alert-table th {
    background: rgba(220, 38, 38, 0.06) !important;
}

.alert-row-blink {
    animation: alertBlink 1.5s ease-in-out infinite;
}

@keyframes alertBlink {

    0%,
    100% {
        background: transparent;
    }

    50% {
        background: rgba(220, 38, 38, 0.04);
    }
}

.stock-habis {
    color: var(--accent-danger);
    font-weight: 700;
}

.stock-menipis {
    color: var(--accent-warning);
    font-weight: 600;
}

.stock-normal {
    color: var(--accent-success);
}

.stock-over {
    color: var(--accent-over);
    font-weight: 600;
}

.stock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-bar-fill {
    height: 6px;
    border-radius: 3px;
    background: var(--accent-success);
    transition: width var(--transition-normal);
}

.stock-bar-fill.low {
    background: var(--accent-warning);
}

.stock-bar-fill.critical {
    background: var(--accent-danger);
}

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.25s ease;
}

.modal.modal-lg {
    max-width: 900px;
}

.modal.modal-xl {
    max-width: 1100px;
}

.modal-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    background: var(--accent-danger-bg);
    color: var(--accent-danger);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   LIVE SEARCH DROPDOWN
   ===================================================== */
.live-search-container {
    position: relative;
}

.live-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    max-height: 250px;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
    display: none;
}

.live-search-dropdown.active {
    display: block;
}

.live-search-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.live-search-item:hover,
.live-search-item.focused {
    background: rgba(22, 163, 74, 0.06);
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item .item-primary {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.88rem;
}

.live-search-item .item-secondary {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* =====================================================
   FILE IMPORT
   ===================================================== */
.file-import-zone {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-tertiary);
}

.file-import-zone:hover,
.file-import-zone.dragover {
    border-color: var(--accent-primary);
    background: rgba(22, 163, 74, 0.04);
}

.file-import-zone i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.file-import-zone p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-import-zone .hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.import-preview {
    margin-top: 16px;
}

.import-result {
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-top: 12px;
    font-size: 0.88rem;
}

.import-result.success {
    background: var(--accent-success-bg);
    color: #065f46;
}

.import-result.error {
    background: var(--accent-danger-bg);
    color: #991b1b;
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: 420px;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 3.5s forwards;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    color: #ffffff;
}

.toast.success {
    background: #059669;
    border-left: 4px solid #047857;
}

.toast.error {
    background: #dc2626;
    border-left: 4px solid #b91c1c;
}

.toast.warning {
    background: #d97706;
    border-left: 4px solid #b45309;
}

.toast.info {
    background: #0891b2;
    border-left: 4px solid #0e7490;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

/* =====================================================
   TABS
   ===================================================== */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    font-family: inherit;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--accent-primary);
    background: var(--accent-primary-light);
}

.tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    background: var(--accent-primary-light);
}

.tab-btn .badge {
    margin-left: 8px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* =====================================================
   CHART (Dashboard)
   ===================================================== */
.chart-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fafffe;
    border: 1px solid var(--border-color);
}

.chart-wrapper canvas {
    display: block;
    width: 100%;
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
.print-container {
    display: none;
}

@media print {

    /* Default: A4 */
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    /* F4 (Folio) override — triggered by body[data-print-paper="F4"] */
    body[data-print-paper="F4"] {}

    @page {
        size: 215.9mm 330mm;
        margin: 10mm;
    }

    body * {
        visibility: hidden;
    }

    .print-container,
    .print-container * {
        visibility: visible;
    }

    .print-container {
        display: block !important;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        background: #fff;
        color: #000;
        z-index: 9999;
    }

    .print-page {
        page-break-after: always;
        padding: 10px;
        font-family: 'Inter', Arial, sans-serif;
    }

    .print-page:last-child {
        page-break-after: auto;
    }

    .print-header {
        text-align: center;
        border-bottom: 2px solid #000;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }

    .print-header h2 {
        font-size: 16pt;
        margin-bottom: 4px;
    }

    .print-header p {
        font-size: 9pt;
        color: #555;
    }

    .print-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 9pt;
    }

    .print-info div {
        line-height: 1.6;
    }

    .print-section {
        margin-bottom: 10px;
    }

    .print-section h3 {
        font-size: 10pt;
        padding: 4px 8px;
        margin-bottom: 4px;
        border-left: 4px solid #000;
    }

    .print-section.gbt h3 {
        background: #e8f4e8;
        border-color: #2e7d32;
    }

    .print-section.gk h3 {
        background: #fff3e0;
        border-color: #e65100;
    }

    .print-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 8.5pt;
    }

    .print-table th,
    .print-table td {
        border: 1px solid #ccc;
        padding: 3px 6px;
        text-align: left;
    }

    .print-table th {
        background: #f5f5f5;
        font-weight: 600;
    }

    .print-footer {
        text-align: center;
        font-size: 8pt;
        color: #888;
        border-top: 1px solid #ccc;
        padding-top: 4px;
        margin-top: 10px;
    }
}

/* =====================================================
   ORDER LOCKED (Insufficient stock)
   ===================================================== */
.order-locked {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    background: rgba(220, 38, 38, 0.03) !important;
}

.order-locked td {
    color: var(--text-muted) !important;
}

.order-locked::after {
    content: '⚠ Stok Kurang';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--accent-danger);
    font-weight: 700;
    background: var(--accent-danger-bg);
    padding: 3px 8px;
    border-radius: 4px;
}

/* =====================================================
   CHECKBOX
   ===================================================== */
.checkbox-custom {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-subtle);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    background: #ffffff;
}

.checkbox-custom:checked {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.checkbox-custom:checked::after {
    content: '✓';
    position: absolute;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =====================================================
   PICKING LIST with rack locations
   ===================================================== */
.picking-instruction {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    margin: 2px 0;
}

.picking-instruction.gbt {
    background: rgba(22, 163, 74, 0.08);
    color: #047857;
}

.picking-instruction.gk {
    background: rgba(217, 119, 6, 0.08);
    color: #b45309;
}

.picking-instruction i {
    font-size: 0.9rem;
}

.rack-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rack-badge.gbt {
    background: rgba(22, 163, 74, 0.1);
    color: #047857;
}

.rack-badge.gk {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

/* =====================================================
   EMPTY STATE
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* =====================================================
   LOADING SPINNER
   ===================================================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   SIDEBAR OVERLAY (for mobile when sidebar is open)
   ===================================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 104;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* --- Tablet & small desktop (≤1024px) --- */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 105;
        top: 0;
        bottom: 0;
        height: 100%;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100vw;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .modal.modal-xl {
        max-width: 95vw;
    }

    .modal.modal-lg {
        max-width: 90vw;
    }
}

/* --- Mobile landscape & small tablet (≤768px) --- */
@media (max-width: 768px) {
    html {
        font-size: 13.5px;
    }

    .page-content {
        padding: 16px;
    }

    .topbar {
        padding: 0 12px;
        height: 56px;
    }

    .topbar-left {
        gap: 8px;
    }

    .topbar-right {
        gap: 10px;
    }

    .topbar-user .user-info {
        display: none;
    }

    .breadcrumb {
        font-size: 0.82rem;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .page-header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .table-toolbar .search-box {
        min-width: 100%;
    }

    .table-toolbar .filter-group {
        flex-wrap: wrap;
    }

    .table-toolbar select {
        min-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal {
        margin: 8px;
        max-height: 90vh;
        border-radius: var(--radius-md);
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-footer {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .modal-footer .btn {
        flex: 1;
        min-width: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card .stat-value {
        font-size: 1.4rem;
    }

    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .card {
        padding: 16px;
        border-radius: var(--radius-md);
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-container {
        padding: 12px;
    }

    /* Touch-friendly inputs */
    input[type="text"],
    input[type="password"],
    input[type="number"],
    input[type="email"],
    input[type="date"],
    input[type="search"],
    input[type="file"],
    select,
    textarea {
        padding: 12px 14px;
        font-size: 16px;
        /* prevents iOS zoom on focus */
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .btn-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .btn-group .btn {
        flex: 1 1 auto;
        width: auto;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 10px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .toast-container {
        bottom: 12px;
        right: 12px;
        left: 12px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        font-size: 0.82rem;
    }

    .data-table {
        font-size: 0.78rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }

    .table-actions {
        flex-direction: column;
        gap: 4px;
    }

    .table-actions .btn-sm {
        width: 100%;
        justify-content: center;
    }

    .search-big {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .file-import-zone {
        padding: 20px;
    }

    .file-import-zone i {
        font-size: 2rem;
    }

    .empty-state {
        padding: 32px 16px;
    }

    .empty-state i {
        font-size: 2.5rem;
    }

    .picking-instruction {
        font-size: 0.78rem;
        padding: 5px 8px;
    }
}

/* --- Mobile portrait (≤480px) --- */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .topbar-clock {
        display: none;
    }

    .topbar {
        height: 50px;
    }

    .page-content {
        padding: 12px;
    }

    .page-header {
        margin-bottom: 16px;
    }

    .page-header h1 {
        font-size: 1.15rem;
    }

    .page-header p {
        font-size: 0.82rem;
    }

    .login-card {
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }

    .login-logo img {
        width: 64px;
        height: 64px;
    }

    .login-logo h1 {
        font-size: 1.4rem;
    }

    .modal {
        margin: 0;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        max-height: 92vh;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        animation: slideUpMobile 0.3s ease;
    }

    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .stat-card .stat-value {
        font-size: 1.3rem;
    }

    .stat-card .stat-label {
        font-size: 0.75rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-group {
        gap: 6px;
    }

    .data-table th,
    .data-table td {
        padding: 6px 8px;
        font-size: 0.72rem;
    }

    .topbar-right {
        gap: 6px;
    }

    .sidebar-header h2 {
        font-size: 1rem;
    }

    .toast {
        padding: 10px 14px;
        font-size: 0.78rem;
    }
}

/* --- Very small screens (≤360px) --- */
@media (max-width: 360px) {
    html {
        font-size: 12px;
    }

    .login-card {
        padding: 20px 14px;
    }

    .login-logo h1 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    .page-content {
        padding: 8px;
    }
}

@keyframes slideUpMobile {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Touch device improvements --- */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .stat-card:hover {
        transform: none;
    }

    .nav-item {
        padding: 12px 20px;
    }

    .btn-icon {
        padding: 10px;
        font-size: 1.2rem;
    }

    .checkbox-custom {
        width: 22px;
        height: 22px;
    }

    .data-table tbody tr:hover {
        background: transparent;
    }

    .nav-item:hover {
        background: transparent;
    }

    .nav-item:active {
        background: var(--accent-primary-light);
    }

    .btn:active {
        transform: scale(0.97);
    }
}
/* =====================================================
   ROLE-BASED ACCESS CONTROL (UI HIDING)
   ===================================================== */
body[data-role="picker"] #btn-new-opname,
body[data-role="picker"] #btn-add-customer,
body[data-role="picker"] #btn-import-customer,
body[data-role="picker"] #btn-add-product,
body[data-role="picker"] #btn-import-product,
body[data-role="picker"] #btn-add-location,
body[data-role="picker"] #btn-inbound-submit,
body[data-role="picker"] #btn-add-order-item,
body[data-role="picker"] #btn-submit-order,
body[data-role="picker"] #btn-pindah-gudang,
body[data-role="picker"] #btn-pindah-rak,
body[data-role="picker"] .btn-danger,
body[data-role="picker"] button[onclick^="edit"],
body[data-role="picker"] button[onclick^="delete"],
body[data-role="picker"] button[onclick^="finalize"],
body[data-role="picker"] button[onclick^="showAddItemFisikModal"],
body[data-role="picker"] button[onclick^="updateFisik"] {
    display: none !important;
}

/* Ensure read-only visual feedback for picker on tables */
body[data-role="picker"] table td button:not(.btn-success):not([onclick^="view"]) {
    display: none !important;
}
/* --- UI Tweaks Mobile --- */
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) {
    .responsive-grid {
        grid-template-columns: 1fr;
    }
    input, select, textarea, .form-control {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
    .laporan-date {
        font-size: 10px !important;
    }
    .laporan-status .badge-status {
        font-size: 9px !important;
        padding: 2px 4px !important;
    }
    .search-big {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}
.pagination-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.pagination-fixed button {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
}
.pagination-fixed button.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}
.pagination-fixed button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- UI Tweaks Mobile (Lebih Ringkas) --- */
@media (max-width: 768px) {
    .btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
        min-height: 34px !important;
    }
    .btn-icon {
        padding: 6px !important;
    }
    .search-big, .table-toolbar .search-box input {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    .table-toolbar .search-box i {
        padding: 0 8px !important;
    }
    .table-actions .btn-sm {
        padding: 4px 8px !important;
        font-size: 12px !important;
        min-height: 28px !important;
    }
}
