
        :root {
    --primary: #3b82f6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #1f2937;
}

body {
    background-color: #f3f4f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
}

.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Return Cards Styling */
.return-card {
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.return-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Stats Cards */
.stats-card {
    border-radius: 12px;
    transition: transform 0.2s;
    cursor: pointer;
    border: none;
    color: white;
}

.stats-card:hover {
    transform: translateY(-3px);
}

/* Text colors for returns */
.return-positive {
    color: #10b981 !important;
    font-weight: bold;
    font-size: 16px;
}

.return-negative {
    color: #ef4444 !important;
    font-weight: bold;
    font-size: 16px;
}

.return-neutral {
    color: #6c757d !important;
    font-weight: bold;
    font-size: 16px;
}

.return-label {
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 600;
}

.return-date {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 5px;
}

/* Current price specific */
.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #3b82f6;
}

.price-change-positive {
    color: #10b981;
    font-size: 12px;
}

.price-change-negative {
    color: #ef4444;
    font-size: 12px;
}

.price-date {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 5px;
}

/* Card body padding */
.return-card .card-body,
.stats-card .card-body,
#current-price-card .card-body {
    padding: 15px 10px;
}

.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    color: #ff6400;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-tabs .nav-link:hover {
    color: #0d6efd;
    border: none;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background: transparent;
    border-bottom: 3px solid #0d6efd;
}

.time-preset-btn {
    margin: 0 4px;
    border-radius: 8px;
    font-size: 12px;
    padding: 0.375rem 1rem;
    cursor: pointer;
}

.time-preset-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.chart-container {
    min-height: 450px;
    position: relative;
}

.table-responsive {
    max-height: 500px;
    overflow-y: auto;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: var(--primary);
    color: white;
    z-index: 10;
}

.table-sm td, .table-sm th {
    padding: 0.5rem;
    font-size: 12px;
}

.positive-cell {
    color: #10b981;
    font-weight: 600;
}

.negative-cell {
    color: #ef4444;
    font-weight: 600;
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-custom {
    background-color: #ffffff;
    color: #ff6600;
    border: 1px solid #4747a1;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #0d6efd;
    color: #ffffff;
    border-color: #0d6efd;
}

/* Force chart container sizes */
#chart-container {
    min-height: auto !important;
}

#price-canvas {
    height: 350px !important;
    width: 100% !important;
    max-height: 350px !important;
}

/* Mobile screens */
@media (max-width: 768px) {
    #price-canvas {
        height: 450px !important;
        max-height: 450px !important;
    }
}

/* Custom Cards */
.custom-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.custom-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Header styles */
.header-green {
    background-color: #d4ead7;
    color: #064420;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    font-size: 11px;
}

.header-red {
    background-color: #f7e5ea;
    color: #800000;
    font-weight: 600;
    padding: 10px;
    text-align: center;
    font-size: 11px;
}

/* Body style */
.body-white {
    background-color: #ffffff;
    color: #000000;
    padding: 15px 10px;
    text-align: center;
}

.body-white .card-value {
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0;
}

.body-white .text-positive {
    color: #10b981;
}

.body-white .text-negative {
    color: #ef4444;
}

.body-white .small-text {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 5px;
}

/* Stats card values */
#best-year, #worst-year, #avg-year, #positive-years {
    font-size: 13px !important;
    font-weight: 600;
}
/* Form controls - Blue outline */
.form-control:focus,
.form-select:focus,
.btn:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

/* Default border color */
.form-control,
.form-select {
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: #9ca3af;
}

/* ===== Breadcrumb ===== */
        .breadcrumb-wrap {
            background: #f8f9fa;
            padding: 10px 15px;
            border-radius: 6px;
            margin-bottom: 15px;
            border: 1px solid #e5e5e5;
            font-size: 14px;
        }

        .breadcrumb {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }

        .breadcrumb li {
            display: flex;
            align-items: center;
        }

        .breadcrumb li + li:before {
            content: "›";
            color: #999;
            margin: 0 8px;
        }

        .breadcrumb a {
            color: #4747a1;
            text-decoration: none;
            font-weight: 500;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb .active {
            color: #ff6400;
            font-weight: 600;
        }

        /* ===== Section Divider ===== */
        .section-divider {
            border-top: 1px dashed #d0d0d0;
            margin: 40px 0;
        }

        /* ===== Global Reset & Body ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f0f2f5;
            padding: 20px;
            color: #1a1a2e;
        }

        /* ===== Container ===== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: #ffffff;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        }

        /* ===== Button-Style H2 Headings ===== */
        .heading-btn {
            font-size: 20px;
            font-weight: 700;
            color: #ff6400;
            background: #f8f5f0;
            padding: 10px 20px 8px 20px;
            border-radius: 8px 8px 0 0;
            border-bottom: 3px solid #4747a1;
            display: inline-block;
            margin-top: 30px;
            margin-bottom: 10px;
            letter-spacing: -0.3px;
        }

        /* ===== Paragraph Text ===== */
        .para-text {
            font-size: 14px;
            font-weight: 400;
            color: #333;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        /* ===== H3 Headings ===== */
        h3 {
            font-size: 18px;
            font-weight: 600;
            color: #1a237e;
            margin-top: 25px;
            padding-bottom: 8px;
            border-bottom: 2px solid #1a237e;
        }

        /* ===== Table Styles ===== */
        .table-responsive {
            overflow-x: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        thead th {
            background: #43a140 !important;
            color: #ffffff !important;
            font-weight: 700;
            padding: 12px 15px;
            text-align: center;
            border: 1px solid #43a140;
        }

        tbody td {
            padding: 10px 15px;
            text-align: center;
            border-bottom: 1px solid #e0e0e0;
            color: #333;
        }

        tbody tr:hover {
            background: #f5f5f5;
        }

        /* ===== Helper Text ===== */
        .helper-text {
            margin-top: 20px;
            padding: 15px 20px;
            background: #e8f5e9;
            border-left: 4px solid #43a140;
            border-radius: 5px;
            color: #2e7d32;
            font-weight: 600;
            text-align: center;
            font-size: 14px;
        }

        /* ===== Section Title Wrapper ===== */
        .section-title {
            margin-bottom: 5px;
        }

        /* ===== Horizontal Rule ===== */
        hr {
            margin: 30px 0;
            border: 0;
            border-top: 2px solid #f0f0f0;
        }

        /* ===== Pivot Box ===== */
        .pivot-box {
            background: #f8f9fa;
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 4px solid #ff6400;
        }

        .pivot-box p {
            margin: 5px 0;
        }

        .pivot-box strong {
            color: #1a237e;
        }

        /* ===== LTP Display ===== */
        .ltp-display {
            background: #e3f2fd;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.2rem;
        }

        .ltp-display span {
            font-weight: bold;
            color: #0d47a1;
            font-size: 1.4rem;
        }

        /* ===== Mobile Responsive ===== */
        @media (max-width: 768px) {
            .container {
                padding: 20px;
            }
            .breadcrumb-wrap {
                font-size: 13px;
                padding: 8px 12px;
            }
            .heading-btn {
                font-size: 17px;
                padding: 8px 15px 6px 15px;
            }
            .para-text {
                font-size: 13px;
            }
            table {
                font-size: 12px;
            }
            thead th,
            tbody td {
                padding: 8px 10px;
            }
            .pivot-box {
                padding: 10px;
            }
        }