@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* CSS Variables & Design Tokens */
:root {
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    
    /* Animation Speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Layout Constants */
    --sidebar-width: 280px;
    --header-height: 70px;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.8);
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --primary: #2563eb;
    --primary-rgb: 37, 99, 235;
    --primary-hover: #1d4ed8;
    
    --accent-success: #10b981;
    --accent-success-rgb: 16, 185, 129;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.02);
    --sidebar-shadow: 4px 0 20px rgba(0, 0, 0, 0.02);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(241, 245, 249, 0.6);
    --glass-blur: 12px;
    
    --input-bg: #f8fafc;
    --input-border: #cbd5e1;
    --input-focus-border: #2563eb;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-card: #111827;
    --bg-sidebar: #111827;
    --bg-header: rgba(17, 24, 39, 0.8);
    --border-color: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --primary: #3b82f6;
    --primary-rgb: 59, 130, 246;
    --primary-hover: #2563eb;
    
    --accent-success: #10b981;
    --accent-success-rgb: 16, 185, 129;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    --sidebar-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(31, 41, 55, 0.6);
    --glass-blur: 15px;
    
    --input-bg: #1f2937;
    --input-border: #374151;
    --input-focus-border: #3b82f6;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input, select, textarea, button {
    font-family: inherit;
}


body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    min-height: 100vh;
}

/* Font Assignments based on Direction */
[dir="rtl"] body {
    font-family: var(--font-ar);
}
[dir="ltr"] body {
    font-family: var(--font-en);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* App Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.app-sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-inline-end: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 100;
    transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
}

[dir="rtl"] .app-sidebar {
    right: 0;
}
[dir="ltr"] .app-sidebar {
    left: 0;
}

.sidebar-brand {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.brand-link {
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent-success));
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
}

.menu-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 16px 8px 8px 8px;
    font-weight: 700;
}

.menu-list {
    list-style: none;
}

.menu-item {
    margin-bottom: 4px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.menu-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: stroke var(--transition-fast);
}

.menu-link:hover {
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.menu-item.active .menu-link {
    background-color: var(--primary);
    color: #ffffff;
}

.menu-item.active .menu-link svg {
    stroke: #ffffff;
}

/* Main Content Area */
.app-content {
    flex: 1;
    margin-inline-start: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Header Styling */
.app-header {
    height: var(--header-height);
    background-color: var(--bg-header);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 90;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

/* Search Bar in Header */
.header-search {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 8px 16px;
    padding-inline-start: 40px;
    border-radius: 20px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--text-primary);
    outline: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.search-input:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
[dir="rtl"] .search-icon {
    right: 14px;
}
[dir="ltr"] .search-icon {
    left: 14px;
}

/* Actions in Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.btn-icon:hover {
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Search Results Popover */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-results-list {
    list-style: none;
    padding: 8px 0;
}

.search-result-item a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background var(--transition-fast);
}

.search-result-item a:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
}

/* Language Toggle Button with Text */
.btn-lang {
    padding: 0 16px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-lang:hover {
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

/* Mobile Menu Toggle */
.btn-menu {
    display: none; /* Desktop hidden */
}

/* Main Container Padding */
.main-wrapper {
    padding: 40px;
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Dashboard Home Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.dashboard-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px -10px rgba(var(--primary-rgb), 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
}

/* Breadcrumbs & Titles */
.page-header-wrapper {
    margin-bottom: 30px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

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

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.page-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.5;
}

/* Calculator Workspace Split Layout */
.calculator-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

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

.form-label {
    display: block;
    font-size: 0.925rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px;
}

[dir="rtl"] .form-select {
    background-position: left 16px center;
    padding-left: 40px;
}
[dir="ltr"] .form-select {
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select:focus {
    border-color: var(--input-focus-border);
}

/* Suffix and Prefix on Inputs */
.input-suffix {
    position: absolute;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}
[dir="rtl"] .input-suffix {
    left: 16px;
}
[dir="ltr"] .input-suffix {
    right: 16px;
}

[dir="rtl"] .has-suffix .form-input {
    padding-left: 50px;
}
[dir="ltr"] .has-suffix .form-input {
    padding-right: 50px;
}

/* Range Sliders */
.range-slider-group {
    display: flex;
    flex-direction: column;
}

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

.range-value-display {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.form-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    margin: 10px 0;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-fast);
}

.form-range::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Calculate Buttons */
.btn-primary {
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 16px -4px rgba(var(--primary-rgb), 0.3);
}

/* Results Card Styles */
.results-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: calc(var(--header-height) + 30px);
}

.results-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.result-highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--accent-success-rgb), 0.05));
    border: 1px dashed rgba(var(--primary-rgb), 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.result-highlight-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-weight: 600;
}

.result-highlight-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.results-breakdown {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.breakdown-label {
    color: var(--text-secondary);
}

.breakdown-val {
    font-weight: 700;
    color: var(--text-primary);
}

.chart-wrapper {
    margin-top: 30px;
    height: 220px;
    width: 100%;
}

/* Article Styles (Below calculator) */
.article-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    margin-inline-start: 24px;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 8px;
}

.article-alert {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-inline-start: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
    color: var(--text-secondary);
}

.article-alert h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 6px;
}

/* Footer Section */
.app-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
    padding: 30px 40px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary);
}

/* Standard Calculator UI Specifics */
.calc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.calc-display {
    grid-column: span 4;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 20px;
    text-align: right;
    font-size: 2rem;
    font-family: var(--font-en); /* Keep standard numbers aligned */
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-formula {
    font-size: 1rem;
    color: var(--text-muted);
    min-height: 24px;
    margin-bottom: 4px;
}

.btn-calc {
    padding: 18px 0;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.btn-calc:hover {
    background-color: var(--border-color);
}

.btn-calc.operator {
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-weight: 700;
}

.btn-calc.operator:hover {
    background-color: var(--primary);
    color: white;
}

.btn-calc.equals {
    background-color: var(--accent-success);
    color: white;
    font-weight: 700;
}

.btn-calc.equals:hover {
    background-color: #059669;
}

.btn-calc.clear {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--accent-danger);
}

.btn-calc.clear:hover {
    background-color: var(--accent-danger);
    color: white;
}

/* History log layout */
.history-log-container {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
    background-color: var(--input-bg);
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.history-item:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

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

.history-expr {
    color: var(--text-secondary);
}

.history-res {
    font-weight: 700;
    color: var(--primary);
}

.history-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Hide/Show for Sidebar Drawer */
@media (max-width: 768px) {
    .app-sidebar {
        transform: translateX(-100%);
    }
    [dir="rtl"] .app-sidebar {
        transform: translateX(100%);
    }
    
    .app-sidebar.active {
        transform: translateX(0) !important;
    }
    
    .app-content {
        margin-inline-start: 0;
    }
    
    .btn-menu {
        display: flex; /* Visible burger menu */
    }
    
    .header-search {
        display: none; /* Hide Search bar on narrow mobile, rely on a modal/sidebar list */
    }
    
    .main-wrapper {
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}

/* Floating overlay when sidebar drawer is open */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 95;
    display: none;
}
.sidebar-overlay.active {
    display: block;
}

/* Premium Financial Data Tables & Side-by-Side inputs */
.table-container {
    margin-top: 30px;
    overflow-x: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: start;
    font-size: 0.95rem;
}

.data-table th, .data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: rgba(var(--primary-rgb), 0.04);
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

[dir="rtl"] .data-table th {
    text-align: right;
}
[dir="ltr"] .data-table th {
    text-align: left;
}

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

.data-table tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.02);
}

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

.data-table .summary-row {
    background-color: rgba(var(--primary-rgb), 0.06);
    font-weight: 700;
}

.data-table .summary-row td {
    border-top: 2px solid var(--primary);
    color: var(--primary);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 576px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

