/* VoltShift Ontario CSS - Modern Premium Glassmorphic Design */

:root {
    --bg-dark: #070b19;
    --bg-card: rgba(25, 32, 56, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --primary-color: #06b6d4; /* Teal */
    --accent-color: #8b5cf6; /* Electric Purple */
    --amber-color: #f59e0b;
    --rose-color: #f43f5e;
    --success-color: #10b981;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Background Animated Orbs */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 80%);
    top: -100px;
    right: -50px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 80%);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(80px, 50px) scale(1.15);
    }
}

/* App Container Layout */
.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
}

/* Sidebar Styling */
.sidebar-panel {
    width: 380px;
    background: rgba(13, 17, 33, 0.7);
    border-right: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    backdrop-filter: blur(30px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
}

.brand-text h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 600;
}

.sidebar-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form controls */
.controls-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-group-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-section h2 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-header label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.value-display {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.input-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Range Inputs */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
    cursor: pointer;
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Toggle Switch */
.toggle-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.toggle-info label {
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider {
    background-color: var(--success-color);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Main Content Panel */
.analytics-content {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

/* Dashboard Stats Cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stats-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (max-width: 900px) {
    .stats-column {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 20px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.25);
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.stat-delta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.text-green {
    color: var(--success-color);
}

.text-teal {
    color: var(--primary-color);
}

/* Visual / Glass Card Styling */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-teal {
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.chart-container {
    position: relative;
    height: 320px;
    width: 100%;
}

/* Educational / Rate Info Layout */
.grid-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 1100px) {
    .grid-details-row {
        grid-template-columns: 1fr;
    }
}

.info-card h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.rate-table {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.rate-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    width: 120px;
    text-align: center;
}

.ulo-overnight {
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary-color);
}

.ulo-weekend {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-color);
}

.ulo-mid {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber-color);
}

.ulo-on {
    background: rgba(244, 63, 94, 0.15);
    color: var(--rose-color);
}

.rate-hours {
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    margin-left: 1.2rem;
}

.rate-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.strategy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.strategy-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.strategy-list i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.strategy-list strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.strategy-list p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    body {
        flex-direction: column;
    }
    
    .sidebar-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2rem 1.5rem;
    }
    
    .analytics-content {
        padding: 2rem 1.5rem;
    }
}

/* New VoltShift Features Styling */

/* Utilities */
.flex-column {
    display: flex;
    flex-direction: column;
}
.gap-1-5 {
    gap: 1.5rem;
}

/* File Upload OCR styling */
.file-upload-container {
    position: relative;
    width: 100%;
}

.file-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border: 2px dashed rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.file-upload-zone i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.file-upload-zone span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Scanning Loader styling */
.ocr-scanning-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.05);
    overflow: hidden;
    position: relative;
}

.scanner-bar {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    position: absolute;
    top: 0;
    left: 0;
    animation: scan 2s infinite ease-in-out;
    box-shadow: 0 0 8px var(--accent-color);
}

.scanning-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Manual Bill Inputs */
.manual-bill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.bill-input-box {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.bill-input-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 0.2rem 0;
    font-weight: 600;
}

.manual-bill-input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    padding: 0.4rem;
    font-size: 0.85rem;
    text-align: center;
    outline: none;
}

/* Space Check Grid */
.space-input-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.space-input-box {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.space-input-box label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.input-unit-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0 0.5rem;
}

.space-input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    padding: 0.4rem 0;
    font-size: 0.85rem;
    outline: none;
}

.input-unit-wrapper span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Market Battery Card Recommendations */
.market-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.market-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.market-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.market-card.selected {
    border-color: var(--primary-color);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.market-card.selected::before {
    content: "ACTIVE";
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--primary-color);
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.market-card.disabled {
    opacity: 0.5;
    border-color: rgba(244, 63, 94, 0.2);
    cursor: not-allowed;
}

.market-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.market-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.market-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.market-card-brand {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-card-dimensions {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dimension-badge {
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.dimension-badge.fit {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.dimension-badge.no-fit {
    background: rgba(244, 63, 94, 0.15);
    color: var(--rose-color);
}

.market-card-specs {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.market-card-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.market-card-spec-item span:first-child {
    color: var(--text-secondary);
}

.market-card-spec-item span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.market-card-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

/* Detailed Metrics Table */
.detailed-metrics-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 200px 120px 1fr;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    font-size: 0.85rem;
}

.table-row.header-row {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.table-row strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.table-row span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.table-desc {
    color: var(--text-secondary) !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    font-size: 0.8rem;
}

/* Market Link styling */
.market-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

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

/* Wizard Layout & Flows */
.wizard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.wizard-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s ease-in-out forwards;
}

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

.welcome-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.welcome-hero h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.section-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.daily-avg-badge {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.daily-avg-badge span {
    color: var(--text-secondary);
}

.submit-action-bar {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.action-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    padding: 1rem 2.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.action-btn.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: none;
}

.action-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.navigation-buttons {
    display: flex;
    margin-top: 1rem;
}

.navigation-buttons.flex-row {
    flex-direction: row;
}

.navigation-buttons.justify-between {
    justify-content: space-between;
}

.text-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.text-btn:hover {
    color: var(--text-primary);
}

.step-header {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
}

.step-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.step-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.roi-analysis-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .inputs-grid, .roi-analysis-grid {
        grid-template-columns: 1fr;
    }
}

/* Dropdown Select styles */
.select-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: border-color 0.2s ease;
}

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

.select-input option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Energy Profile Summary Card */
.energy-summary-card {
    border-left: 4px solid var(--primary-color);
}

.energy-summary-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.summary-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.summary-stat-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.summary-stat-item strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .summary-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

/* Ratio Statement Banner */
.ratio-statement-banner {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
}

.ratio-statement-banner i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.ratio-statement-banner strong {
    color: var(--primary-color);
}

/* Margin utilities */
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }

/* ROI Details Grid (Ontario Rebates & Energy Partners) */
.roi-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .roi-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Stepper Navigation Tabs */
.wizard-nav-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    padding: 0.4rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
}

.nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
    background: rgba(6, 182, 212, 0.12);
    color: var(--primary-color);
    border-color: rgba(6, 182, 212, 0.25);
    font-weight: 600;
}

.tab-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-tab.active .tab-num {
    background: var(--primary-color);
    color: var(--bg-dark);
}

@media (max-width: 768px) {
    .nav-tab {
        padding: 0.6rem;
    }
    .tab-label {
        display: none;
    }
    .tab-num {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}



