/* Fertinagro Biotech Corporate Theme */

:root {
    /* Light Mode Tokens */
    --brand-primary: #007D32;
    --brand-warning: #FFB800;
    --bg-striped: #F4F4F5;
    --border-subtle: #E5E7EB;
    --header-bg: #F8FAFC;
    --text-heading: #1A1A1B;
}

.dark {
    /* Dark Mode Tokens */
    --brand-primary: #10B981;
    /* Emerald 500 for better contrast */
    --brand-warning: #FBBF24;
    /* Amber 400 */
    --bg-striped: rgba(39, 39, 42, 0.5);
    /* Zinc 800/50 */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --header-bg: #18181b;
    /* Zinc 900 */
    --text-heading: #fafafa;
    /* Zinc 50 */
}

/* Base Surfaces */
.dark body {
    background-color: #09090b !important;
    /* Zinc 950 */
}

.dark .fi-section,
.dark .fi-ta-ctn,
.dark .fi-card {
    background-color: #18181b !important;
    /* Zinc 900 */
}

/* Table Styles */
.fi-ta-table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Striped rows */
.fi-ta-content tr:nth-child(even) {
    background-color: var(--bg-striped) !important;
}

/* Table borders */
.fi-ta-header-cell,
.fi-ta-cell {
    border-bottom: 1px solid var(--border-subtle) !important;
}

/* Table Header Aesthetics */
.fi-ta-header-cell {
    background-color: var(--header-bg) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Page Headings */
.fi-header-heading {
    font-weight: 700 !important;
    color: var(--text-heading) !important;
}

/* Table Text */
.fi-ta-cell {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Custom rounded corners and relief */
.fi-btn,
.fi-input,
.fi-select,
.fi-checkbox {
    border-radius: 0.5rem !important;
}

.dark .fi-btn {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Button Colors by Function */
.fi-btn-color-primary {
    background-color: var(--brand-primary) !important;
}

.fi-btn-color-warning {
    background-color: var(--brand-warning) !important;
}