/**
 * Custom Styles for KisaanJi Portal
 * Version 1.0.0
 */

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
    /* Agriculture Theme Colors */
    --agri-green: #2d6a4f;
    --agri-light-green: #52b788;
    --agri-dark-green: #1b4332;
    --agri-accent: #95d5b2;
    --agri-bg: #f8f9fa;

    /* Semantic Colors */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;

    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Spacing Utilities */
.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* Border Radius */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Transitions */
.transition { transition: var(--transition-base); }
.transition-fast { transition: var(--transition-fast); }

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Text Utilities */
.text-agri-green { color: var(--agri-green); }
.text-agri-light-green { color: var(--agri-light-green); }
.text-agri-dark-green { color: var(--agri-dark-green); }

.bg-agri-green { background-color: var(--agri-green); }
.bg-agri-light-green { background-color: var(--agri-light-green); }
.bg-agri-accent { background-color: var(--agri-accent); }

/* ========================================
   ENHANCED COMPONENTS
   ======================================== */

/* Enhanced Cards */
.card-enhanced {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    overflow: hidden;
}

.card-enhanced:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-enhanced .card-header {
    background-color: #fff;
    border-bottom: 3px solid var(--agri-light-green);
    font-weight: 600;
    padding: var(--spacing-lg);
}

/* Statistic Cards */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-card .stat-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Enhanced Buttons */
.btn-agri {
    background-color: var(--agri-green);
    border-color: var(--agri-green);
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.btn-agri:hover {
    background-color: var(--agri-dark-green);
    border-color: var(--agri-dark-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-agri {
    border-color: var(--agri-green);
    color: var(--agri-green);
    background-color: transparent;
}

.btn-outline-agri:hover {
    background-color: var(--agri-green);
    border-color: var(--agri-green);
    color: #fff;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--agri-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 1000;
}

.fab:hover {
    background-color: var(--agri-dark-green);
    transform: scale(1.1);
}

/* Enhanced Forms */
.form-control:focus {
    border-color: var(--agri-light-green);
    box-shadow: 0 0 0 0.25rem rgba(82, 183, 136, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--agri-dark-green);
    margin-bottom: 0.5rem;
}

.form-control-icon {
    position: relative;
}

.form-control-icon input {
    padding-left: 2.5rem;
}

.form-control-icon .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--agri-green);
}

/* Enhanced Tables */
.table-enhanced {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.table-enhanced thead th {
    background-color: var(--agri-green);
    color: #fff;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 1rem;
}

.table-enhanced tbody tr {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.table-enhanced tbody tr:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.01);
}

.table-enhanced tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
}

/* Badge Enhancements */
.badge-modern {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Progress Bar Enhancements */
.progress-modern {
    height: 1.5rem;
    border-radius: var(--radius-md);
    background-color: #e9ecef;
    overflow: visible;
}

.progress-modern .progress-bar {
    border-radius: var(--radius-md);
    position: relative;
    overflow: visible;
}

.progress-modern .progress-bar::after {
    content: attr(data-percentage);
    position: absolute;
    right: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--agri-green);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--agri-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {
    /* Mobile Navigation */
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: #fff;
        z-index: 1050;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .sidebar.show {
        left: 0;
    }

    /* Mobile Cards */
    .card {
        margin-bottom: 1rem;
    }

    /* Mobile Tables */
    .table-responsive {
        font-size: 0.875rem;
    }

    /* Mobile Buttons */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* FAB Mobile Position */
    .fab {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    /* Mobile Stat Cards */
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

/* Touch Gestures */
@media (hover: none) {
    .hover-lift:active {
        transform: translateY(-5px);
    }

    .hover-scale:active {
        transform: scale(1.05);
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --agri-bg: #1a1a1a;
    }

    body {
        background-color: var(--agri-bg);
        color: #e0e0e0;
    }

    .card {
        background-color: #2a2a2a;
        color: #e0e0e0;
    }

    .table-enhanced tbody tr {
        background-color: #2a2a2a;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    /* Hide non-essential elements */
    .no-print,
    .sidebar,
    .navbar,
    .fab,
    .btn,
    footer {
        display: none !important;
    }

    /* Optimize layout */
    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .card {
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }

    /* Print links */
    a[href]:after {
        content: " (" attr(href) ")";
    }

    /* Ensure backgrounds print */
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--agri-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--agri-light-green);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--agri-green);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--agri-light-green) #f1f1f1;
}

/* ========================================
   MODERN UI ENHANCEMENTS v2.0
   Production-ready polish added
   ======================================== */

/* === NAVBAR === */
.navbar.navbar-light.bg-white.border-bottom {
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e8f4ee !important;
    min-height: 60px;
    z-index: 1030;
    position: sticky;
    top: 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.3px;
    color: var(--agri-dark-green) !important;
}

.navbar-brand i {
    color: var(--agri-light-green);
}

/* === SIDEBAR === */
.sidebar {
    min-height: calc(100vh - 60px);
    background: #fff;
    border-right: 1px solid #eef2ee;
    box-shadow: 1px 0 8px rgba(0,0,0,0.04);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: #d4ede0 transparent;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: #d4ede0; border-radius: 4px; }

.sidebar .nav-link {
    color: #4a5568;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    margin: 0.15rem 0.6rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.sidebar .nav-link i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar .nav-link:hover {
    background: #f0faf4;
    color: var(--agri-dark-green);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--agri-green) 0%, var(--agri-light-green) 100%);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(45,106,79,0.35);
}

.sidebar .nav-link.active i {
    color: rgba(255,255,255,0.9);
}

.sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    padding: 1rem 1rem 0.35rem 1rem;
    margin-top: 0.5rem;
}

/* === MAIN CONTENT AREA === */
main.col-md-10 {
    background: #f5f7f5;
    min-height: calc(100vh - 60px);
}

/* === CARDS === */
.card {
    border: 1px solid #eef2ee;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 1.25rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.card-header {
    background: #fff;
    border-bottom: 2px solid var(--agri-accent);
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--agri-dark-green);
}

.card-body {
    padding: 1.25rem;
}

/* Gradient Stat Cards */
.stat-card-green {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white;
    border: none;
}

.stat-card-blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
}

.stat-card-orange {
    background: linear-gradient(135deg, #c2410c 0%, #f97316 100%);
    color: white;
    border: none;
}

.stat-card-purple {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

.stat-card-teal {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    border: none;
}

.stat-card-red {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    color: white;
    border: none;
}

/* === TABLES === */
.table {
    font-size: 0.875rem;
}

.table thead th {
    background: linear-gradient(135deg, var(--agri-dark-green) 0%, var(--agri-green) 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
}

.table tbody tr {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f1;
}

.table tbody tr:hover {
    background-color: #f0faf4;
}

.table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f1;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fafcfa;
}

/* === BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, var(--agri-green) 0%, var(--agri-light-green) 100%);
    border: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--agri-dark-green) 0%, var(--agri-green) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45,106,79,0.35);
    border: none;
}

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

.btn-secondary { border-radius: 8px; font-weight: 500; }
.btn-success { border-radius: 8px; font-weight: 500; }
.btn-danger { border-radius: 8px; font-weight: 500; }
.btn-warning { border-radius: 8px; font-weight: 500; }
.btn-info { border-radius: 8px; font-weight: 500; }
.btn-outline-primary { border-radius: 8px; font-weight: 500; }
.btn-outline-secondary { border-radius: 8px; font-weight: 500; }
.btn-outline-danger { border-radius: 8px; font-weight: 500; }

/* === BADGES === */
.badge {
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3em 0.65em;
    letter-spacing: 0.02em;
}

/* === FORMS === */
.form-control, .form-select {
    border: 1.5px solid #d1dbd1;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #fcfcfc;
}

.form-control:focus, .form-select:focus {
    border-color: var(--agri-light-green);
    box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
    background: white;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}

.input-group-text {
    border: 1.5px solid #d1dbd1;
    background: #f5f7f5;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* === PAGE HEADER === */
.page-header {
    background: #fff;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-left: 4px solid var(--agri-light-green);
}

.page-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--agri-dark-green);
    margin: 0;
}

/* === ALERTS === */
.alert {
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    border-left: 4px solid;
}

.alert-success { border-left-color: #10b981; background: #f0fdf9; color: #065f46; }
.alert-danger { border-left-color: #ef4444; background: #fff5f5; color: #991b1b; }
.alert-warning { border-left-color: #f59e0b; background: #fffbeb; color: #92400e; }
.alert-info { border-left-color: #3b82f6; background: #eff6ff; color: #1e40af; }

/* === PAGINATION === */
.pagination {
    gap: 0.25rem;
}

.pagination .page-link {
    border-radius: 8px;
    border: 1.5px solid #d1dbd1;
    color: var(--agri-green);
    font-size: 0.875rem;
    padding: 0.45rem 0.85rem;
    transition: all 0.15s ease;
}

.pagination .page-item.active .page-link {
    background: var(--agri-green);
    border-color: var(--agri-green);
    color: white;
}

.pagination .page-link:hover {
    background: #f0faf4;
    border-color: var(--agri-light-green);
    color: var(--agri-dark-green);
}

/* === DROPDOWN MENUS === */
.dropdown-menu {
    border: 1px solid #eef2ee;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    padding: 0.5rem;
    font-size: 0.875rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: #374151;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: #f0faf4;
    color: var(--agri-dark-green);
}

.dropdown-divider {
    margin: 0.35rem 0.5rem;
    border-color: #e8f4ee;
}

/* === MODAL === */
.modal-content {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--agri-dark-green) 0%, var(--agri-green) 100%);
    color: white;
    border-radius: 14px 14px 0 0;
    padding: 1.25rem 1.5rem;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-weight: 600;
    font-size: 1.05rem;
}

/* === LOADING STATE === */
.loading-overlay {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
}

/* === BACK TO TOP === */
#backToTop {
    background: var(--agri-green);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(45,106,79,0.4);
    bottom: 2rem;
    right: 2rem;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 1000;
    position: fixed;
}

#backToTop:hover {
    background: var(--agri-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45,106,79,0.5);
}

/* === FILTER TABS === */
.nav-tabs .nav-link {
    border-radius: 8px 8px 0 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    border-color: transparent;
    padding: 0.55rem 1rem;
    transition: all 0.15s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--agri-green);
    border-color: transparent;
    background: #f0faf4;
}

.nav-tabs .nav-link.active {
    color: var(--agri-dark-green);
    background: white;
    border-color: #dee2e6 #dee2e6 white;
    font-weight: 600;
}

/* === FOOTER === */
footer {
    background: #fff;
    border-top: 1px solid #eef2ee;
    font-size: 0.825rem;
    color: #9ca3af;
    padding: 1rem 0;
    margin-top: auto;
}

/* === EMPTY STATES === */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

/* === TRUST SCORE / STATUS BADGES === */
.trust-score-high { color: #16a34a; }
.trust-score-medium { color: #d97706; }
.trust-score-low { color: #dc2626; }

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 767px) {
    .page-header { border-left: none; border-top: 4px solid var(--agri-light-green); }
    .card-body { padding: 1rem; }
    .table thead th, .table tbody td { padding: 0.65rem 0.75rem; }
    .btn { font-size: 0.825rem; }
}
