/* =========================================
   QuickCalc Pro — Complete Styles
   ========================================= */

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

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: rgba(26, 26, 46, 0.6);
    --bg-input: rgba(22, 33, 62, 0.8);
    --accent-green: #00d4aa;
    --accent-gold: #ffd700;
    --accent-blue: #4a90d9;
    --accent-red: #ff6b6b;
    --accent-orange: #ff8c42;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --border-color: rgba(255, 255, 255, 0.08);
    --gradient-1: linear-gradient(135deg, #00d4aa, #4a90d9);
    --gradient-2: linear-gradient(135deg, #ffd700, #ff8c00);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
}

/* Light mode (future) */
[data-theme="light"] {
    --bg-primary: #f5f5f8;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef0f5;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-input: rgba(238, 240, 245, 0.8);
    --text-primary: #1a1a2e;
    --text-secondary: #555566;
    --text-muted: #999;
    --border-color: rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   APP HEADER
   ========================================= */

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.app-header-left, .app-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.app-logo .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
}

.theme-icon {
    font-size: 1rem;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-1);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.35);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    background: var(--bg-tertiary);
}

.btn-gold {
    background: var(--gradient-2);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.35);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-full { width: 100%; }

.btn:active { transform: scale(0.98); }

/* =========================================
   APP NAVIGATION (Tabs)
   ========================================= */

.app-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.app-nav::-webkit-scrollbar { display: none; }

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    background: none;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-tab:hover {
    color: var(--text-secondary);
    background: var(--bg-card);
}

.nav-tab.active {
    color: var(--accent-green);
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
}

.nav-icon { font-size: 1.1rem; }

.pro-badge-sm {
    position: absolute;
    top: -4px;
    right: -4px;
    padding: 0.1rem 0.35rem;
    background: var(--gradient-2);
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 800;
    color: #000;
    letter-spacing: 0.05em;
}

.pro-badge-inline {
    padding: 0.15rem 0.5rem;
    background: var(--gradient-2);
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #000;
    vertical-align: middle;
    display: inline-block;
    -webkit-text-fill-color: #000;
}

/* =========================================
   MAIN CONTENT
   ========================================= */

.app-main {
    padding-top: 120px;
    padding-bottom: 2rem;
    min-height: 100vh;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active { display: block; }

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

/* =========================================
   CALCULATOR CONTAINER
   ========================================= */

.calc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.calc-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.calc-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.calc-icon.green { background: rgba(0, 212, 170, 0.15); }
.calc-icon.blue { background: rgba(74, 144, 217, 0.15); }
.calc-icon.gold { background: rgba(255, 215, 0, 0.15); }

.calc-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.calc-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FORM ELEMENTS
   ========================================= */

.calc-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

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

.currency-symbol {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 1;
    pointer-events: none;
}

.input-currency input {
    padding-left: 2.8rem;
}

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

.input-unit .unit {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
.form-input,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    outline: none;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:focus, .form-input:focus, .form-select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition: var(--transition);
}

.form-textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.form-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

/* Radio cards */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.radio-card {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.radio-card input { display: none; }

.radio-card.active,
.radio-card:has(input:checked) {
    border-color: var(--accent-green);
    background: rgba(0, 212, 170, 0.08);
}

.radio-content strong {
    display: block;
    font-size: 0.9rem;
}

.radio-content small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Slider */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-input);
    outline: none;
    margin-top: 0.5rem;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
    border: 3px solid var(--bg-primary);
}

/* =========================================
   RESULTS
   ========================================= */

.calc-results {
    animation: slideIn 0.4s ease-out;
}

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

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.result-card.main-result {
    border-color: rgba(0, 212, 170, 0.2);
    background: rgba(0, 212, 170, 0.05);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.result-value.green { color: var(--accent-green); }

.result-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.results-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-card.mini {
    padding: 1rem;
    margin-bottom: 0;
}

.result-card.mini .result-value {
    font-size: 1.25rem;
}

/* Result tip */
.result-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.tip-icon { font-size: 1.2rem; flex-shrink: 0; }

.result-tip p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =========================================
   TAX BREAKDOWN
   ========================================= */

.tax-breakdown {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.tax-breakdown h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tax-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

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

.tax-item .tax-name { color: var(--text-secondary); }
.tax-item .tax-value { font-weight: 600; }

/* =========================================
   PROFIT CHART
   ========================================= */

.profit-chart {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.chart-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.bar-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 110px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease-out;
}

.bar-fill.red { background: var(--accent-red); }
.bar-fill.orange { background: var(--accent-orange); }
.bar-fill.yellow { background: var(--accent-gold); }
.bar-fill.blue { background: var(--accent-blue); }
.bar-fill.green { background: var(--accent-green); }

.bar-value {
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
    color: var(--text-secondary);
}

/* =========================================
   BUDGET ITEMS
   ========================================= */

.budget-item {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.budget-item-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
}

.budget-item .remove-item {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 107, 107, 0.1);
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.budget-item .remove-item:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* =========================================
   PDF PREVIEW
   ========================================= */

.pdf-preview-card {
    background: #ffffff;
    color: #333;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #00d4aa;
    margin-bottom: 1rem;
}

.preview-header strong { font-size: 1rem; }
.preview-header span { color: #666; font-size: 0.8rem; }

.preview-client {
    padding: 0.5rem 0;
    color: #555;
    margin-bottom: 0.75rem;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.preview-total {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
    font-size: 1.1rem;
    border-top: 2px solid #00d4aa;
    margin-top: 0.5rem;
}

/* =========================================
   DASHBOARD
   ========================================= */

.dashboard-content {
    display: grid;
    gap: 1.5rem;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.summary-card:hover {
    border-color: rgba(0, 212, 170, 0.2);
    box-shadow: var(--shadow-glow);
}

.summary-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.summary-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.summary-value { font-size: 1.5rem; font-weight: 800; }
.summary-value.green { color: var(--accent-green); }

.dashboard-history,
.dashboard-chart {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

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

.history-header h3 { font-size: 1rem; font-weight: 700; }

.history-list { max-height: 400px; overflow-y: auto; }

.history-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.history-empty small { font-size: 0.8rem; }

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.history-item:hover {
    border-color: rgba(0, 212, 170, 0.2);
}

.history-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.history-item-icon {
    font-size: 1.2rem;
}

.history-item-info .history-type {
    font-size: 0.85rem;
    font-weight: 600;
}

.history-item-info .history-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.history-item-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-green);
}

.history-item-delete {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0.25rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.history-item-delete:hover { color: var(--accent-red); }

/* Simple chart */
.simple-chart {
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 1rem 0;
}

.chart-empty {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 3rem 0;
}

.chart-bar-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.chart-column-bar {
    width: 100%;
    max-width: 40px;
    border-radius: 6px 6px 0 0;
    background: var(--gradient-1);
    min-height: 4px;
    transition: height 0.6s ease;
}

.chart-column-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}

.chart-column-value {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.dashboard-chart h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* =========================================
   MODAL
   ========================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: scaleIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.modal-icon { font-size: 3rem; margin-bottom: 1rem; }

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-content > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.modal-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-price {
    margin-bottom: 1.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.new-price small {
    font-size: 1rem;
    font-weight: 400;
}

.modal-note {
    display: block;
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* =========================================
   TOAST
   ========================================= */

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: toastIn 0.3s ease forwards;
}

@keyframes toastIn {
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.toast.hide {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
    to { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

.toast-icon { font-size: 1rem; }
.toast-text { font-size: 0.9rem; font-weight: 500; }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .app-header { padding: 0.5rem 1rem; }
    .app-main { padding-top: 110px; }
    
    .calc-header h1 { font-size: 1.2rem; }
    
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .result-value { font-size: 2rem; }
    .result-card.mini .result-value { font-size: 1.1rem; }
    
    .results-breakdown {
        grid-template-columns: 1fr 1fr;
    }
    
    .radio-group { grid-template-columns: 1fr; }
    
    .dashboard-summary {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .nav-label { display: none; }
    .nav-icon { font-size: 1.3rem; }
    
    .bar-label { min-width: 85px; font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .results-breakdown {
        grid-template-columns: 1fr;
    }
    
    .budget-item-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-summary {
        grid-template-columns: 1fr;
    }
    
    .app-header-right .btn-gold span:not(.btn-text) {
        display: none;
    }
}

/* =========================================
   SCROLLBAR
   ========================================= */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-green);
}

/* =========================================
   SELECTION
   ========================================= */

::selection {
    background: rgba(0, 212, 170, 0.3);
    color: var(--text-primary);
}
