/* ==========================================================================
   SHANI FINSERVE - Financial Calculator Platform
   Premium Fintech Design System
   ========================================================================== */

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --secondary-dark: #047857;
    --accent-color: #0891b2;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic Colors */
    --success-color: #10b981;
    --success-light: #d1fae5;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --danger-color: #ef4444;
    --danger-light: #fee2e2;
    --info-color: #06b6d4;
    --info-light: #cffafe;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.modal-open {
    overflow: auto;
    padding-right: 0 !important;
}

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

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

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-muted { color: var(--gray-500) !important; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.brand-name {
    font-size: 1.25rem;
    color: var(--gray-900);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--gray-100);
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.hero-title {
    font-size: 2.75rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    z-index: 3;
}

.search-input {
    height: 56px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding-left: 3rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* ==========================================================================
   CATEGORY TABS
   ========================================================================== */
.category-section {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.category-tabs-wrapper {
    -webkit-overflow-scrolling: touch;
}

.category-tabs {
    gap: 0.5rem;
}

.category-tabs .nav-link {
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.category-tabs .nav-link:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.category-tabs .nav-link.active {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   CALCULATOR CARDS
   ========================================================================== */
.calculators-section {
    padding: 3rem 0;
}

.calculator-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.calculator-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.calculator-card:hover .card-icon {
    transform: scale(1.1);
}

.calculator-card .card-icon.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary-color);
}

.calculator-card .card-icon.green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--secondary-color);
}

.calculator-card .card-icon.orange {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--warning-color);
}

.calculator-card .card-icon.purple {
    background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
    color: #7c3aed;
}

.calculator-card .card-icon.cyan {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: var(--info-color);
}

.calculator-card .card-icon.pink {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #ec4899;
}

.calculator-card .card-icon.red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: var(--danger-color);
}

.calculator-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.calculator-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

.calculator-card .card-arrow {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.calculator-card:hover .card-arrow {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(4px);
}

/* Category colors for card borders */
.calculator-card[data-category="investments"] {
    border-left: 4px solid var(--primary-color);
}

.calculator-card[data-category="loans"] {
    border-left: 4px solid var(--secondary-color);
}

.calculator-card[data-category="tax"] {
    border-left: 4px solid var(--warning-color);
}

.calculator-card[data-category="government"] {
    border-left: 4px solid var(--info-color);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    background: var(--gray-50);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0 auto;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 4rem 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-card h3 {
    color: var(--white);
}

.cta-card .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.cta-card .btn-light:hover {
    background: var(--gray-100);
}

.cta-card .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cta-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
    background: var(--gray-900);
    margin-top: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand .brand-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.footer-links {
    list-style: none;
}

.footer-links li a {
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--gray-800);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   CALCULATOR DETAIL PAGE
   ========================================================================== */
.breadcrumb-section {
    background: var(--gray-100);
    padding: 0.75rem 0;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--gray-500);
}

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

.breadcrumb-item.active {
    color: var(--gray-700);
}

.calculator-detail-section {
    padding: 3rem 0;
}

/* Input Card */
.input-card {
    position: sticky;
    top: 80px;
}

.input-card .card-header {
    border-bottom: 1px solid var(--gray-200);
}

.calculator-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.input-group-text {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    font-weight: 500;
}

.form-control,
.form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

/* Range Slider */
.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.form-range::-moz-range-track {
    background: var(--gray-200);
    height: 6px;
    border-radius: var(--radius-full);
}

/* Result Summary Card */
.result-summary-card {
    background: var(--white);
    overflow: hidden;
}

.result-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.result-item {
    text-align: center;
}

.result-item h3 {
    font-size: 1.75rem;
    transition: all var(--transition-base);
}

.result-item.animate h3 {
    animation: countUp 0.5s ease-out;
}

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

/* Chart Card */
.chart-card,
.insights-card {
    background: var(--white);
}

#chartToggle .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.chart-container {
    position: relative;
    height: 350px;
}

/* Table Styles */
.table-container {
    max-height: 400px;
    overflow-y: auto;
}

.table {
    font-size: 0.9375rem;
}

.table thead {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.table thead th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-300);
    white-space: nowrap;
}

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

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody td {
    vertical-align: middle;
    border-color: var(--gray-200);
}

/* Insights Card */
.insights-card {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #fde047;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
}

.insight-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.insight-item:last-child {
    margin-bottom: 0;
}

.insight-icon {
    width: 40px;
    height: 40px;
    background: var(--warning-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warning-color);
    flex-shrink: 0;
}

.insight-content h6 {
    font-size: 0.9375rem;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.insight-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Action Buttons */
.action-buttons {
    margin-top: 1.5rem;
}

.action-buttons .btn {
    padding: 0.75rem 1.5rem;
}

/* ==========================================================================
   RELATED CALCULATORS
   ========================================================================== */
.related-section {
    background: var(--gray-50);
}

.related-calculator {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.related-calculator:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.related-calculator .icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.related-calculator h6 {
    font-size: 0.9375rem;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.related-calculator p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ==========================================================================
   DISCLAIMER
   ========================================================================== */
.disclaimer-section {
    background: var(--gray-50);
}

.disclaimer-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.disclaimer-box h6 {
    color: var(--gray-700);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    font-weight: 500;
    border-radius: var(--radius);
    padding: 0.625rem 1.25rem;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-text {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.alert-success {
    background: var(--success-light);
    color: var(--secondary-dark);
}

.alert-warning {
    background: var(--warning-light);
    color: #b45309;
}

.alert-danger {
    background: var(--danger-light);
    color: #b91c1c;
}

.alert-info {
    background: var(--info-light);
    color: #0e7490;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.slide-up {
    animation: slideUp 0.4s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

/* Staggered animations for cards */
.calculator-card:nth-child(1) { animation-delay: 0.05s; }
.calculator-card:nth-child(2) { animation-delay: 0.1s; }
.calculator-card:nth-child(3) { animation-delay: 0.15s; }
.calculator-card:nth-child(4) { animation-delay: 0.2s; }
.calculator-card:nth-child(5) { animation-delay: 0.25s; }
.calculator-card:nth-child(6) { animation-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .input-card {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .result-item h3 {
        font-size: 1.5rem;
    }

    .chart-container {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-input {
        height: 48px;
    }

    .category-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .calculator-card {
        padding: 1.25rem;
    }

    .calculator-card .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .calculator-card h5 {
        font-size: 0.9375rem;
    }

    .calculator-card p {
        font-size: 0.8125rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .cta-card {
        padding: 2rem !important;
    }

    .cta-card h3 {
        font-size: 1.25rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .brand-name {
        font-size: 1.125rem;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .calculator-icon-wrapper {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .result-item h3 {
        font-size: 1.25rem;
    }

    .chart-container {
        height: 250px;
    }

    .input-card .card-body {
        padding: 1rem;
    }

    .input-card .card-header,
    .input-card .card-footer {
        padding: 1rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}
