/* ============================================================
   Khet Platform - Premium Commercial Agricultural Portal Styles
   Clean, Daylight-Readable, High-Trust Indian Agri UI
   ============================================================ */

:root {
    --khet-primary: #15803d;
    --khet-primary-dark: #14532d;
    --khet-primary-light: #22c55e;
    --khet-accent: #d97706;
    --khet-bg: #f8fafc;
    --khet-card: #ffffff;
    --khet-border: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f1f5f9;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hindi Devanagari Typography Tuning */
.font-hindi {
    font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
}

/* Premium Pro Cards with Crisp Daylight Separation */
.pro-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 1rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 20px -3px rgba(16, 185, 129, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* Rate Boards & Tables */
.mandi-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.mandi-table th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.mandi-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.875rem;
}

.mandi-table tr:hover td {
    background-color: #f8fafc;
}

/* Crop Chips & Pills */
.crop-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease-in-out;
}

.crop-chip:hover {
    background-color: #ecfdf5;
    border-color: #059669;
    color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.15);
}

/* Badges */
.badge-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.badge-green {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-blue {
    background-color: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

/* Floating WhatsApp Button */
.whatsapp-fab {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 40;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.45);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px -3px rgba(37, 211, 102, 0.6);
}

@media (min-width: 768px) {
    .whatsapp-fab {
        bottom: 2rem;
        right: 2rem;
    }
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background-color: #ffffff;
    border-top: 1px solid #cbd5e1;
    display: none;
    align-items: center;
    justify-content: space-around;
    z-index: 50;
    box-shadow: 0 -4px 10px -1px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1023px) {
    .mobile-bottom-nav {
        display: flex !important;
    }
}

@media (min-width: 1024px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}
