/* Variables CSS */
:root {
    --primary-color: #00A878;
    --primary-dark: #008060;
    --primary-light: #E8F5F1;
    --secondary-color: #2C3E50;
    --text-color: #2C3E50;
    --text-light: #6C757D;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9F9;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 168, 120, 0.2);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-primary-small {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

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

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 4rem 0;
    padding-top: 9rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.step-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.step-path {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-promise {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.promise-icon {
    font-size: 2.5rem;
}

.promise-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-large {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Objectif Section */
.objectif {
    padding: 5rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.objectif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objectif-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.objectif-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: white;
}

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

.objectif-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.objectif-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modules Section */
.modules {
    padding: 5rem 0;
    background: var(--bg-light);
}

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.module-card:hover {
    box-shadow: var(--shadow-hover);
}

.module-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, white 0%, var(--primary-light) 100%);
}

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

.module-number {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.module-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

.module-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.module-objective {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.module-content {
    margin-bottom: 1.5rem;
}

.module-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.module-content ul {
    list-style-position: inside;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.module-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.module-example,
.module-important,
.module-tips {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.module-important {
    background: var(--white);
    border: 2px solid var(--primary-color);
}

.module-exercise {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.module-myowo {
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.myowo-icon {
    font-size: 2rem;
}

.myowo-text {
    flex: 1;
}

/* myOWO Integration Section */
.myowo-integration {
    padding: 5rem 0;
    background: white;
}

.integration-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
}

.comparison-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.comparison-card.after {
    background: var(--white);
    border: 2px solid var(--primary-color);
}

.comparison-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.comparison-card ul {
    list-style-position: inside;
}

.comparison-card li {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.comparison-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.integration-message {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.integration-message p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
}

/* Certification Section */
.certification {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.certification-content {
    max-width: 700px;
    margin: 0 auto;
}

.certification-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: white;
    color: var(--primary-color);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-hover);
}

.badge-icon {
    font-size: 3rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.certification h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.certification p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.certification-requirements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.requirement-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--bg-light);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-section p {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #CCCCCC;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 7.5rem;
    }

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

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

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .objectif-grid {
        grid-template-columns: 1fr;
    }

    .integration-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-arrow {
        transform: rotate(90deg);
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

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

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .hero-promise {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }
}

/* ========================================
   STYLES DES CALCULATEURS FINANCIERS
   ======================================== */

.calculator-container {
    background: #f8f9fa;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
}

.calculator-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculator-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Grille des inputs */
.calculator-inputs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calculator-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.calculator-input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.calculator-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 168, 120, 0.1);
}

.calculator-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Résultats */
.calculator-results {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.calculator-results h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.result-grid {
    display: grid;
    gap: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-label {
    font-size: 1rem;
    opacity: 0.9;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 900;
    transition: all 0.3s;
}

.result-value.result-updated {
    animation: pulse 0.5s ease;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Highlight pour le prix de vente final */
.result-highlight {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.result-highlight .result-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.result-highlight .result-value {
    font-size: 2.5rem;
    color: #FFD700;
}

/* Feedback */
.calculator-feedback {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 1.5rem;
    display: none;
    line-height: 1.6;
}

.feedback-danger {
    background: #ffe6e6;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.feedback-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.feedback-ok {
    background: #e7f3ff;
    color: #004085;
    border-left: 4px solid #007bff;
}

.feedback-good {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.feedback-excellent {
    background: #fff9e6;
    color: #856404;
    border-left: 4px solid #FFD700;
}

/* Tableau de trésorerie */
.cashflow-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cashflow-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.cashflow-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
}

.cashflow-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cashflow-table tr:hover {
    background: #f8f9fa;
}

.cashflow-table tr.negative-balance {
    background: #ffe6e6;
}

.cashflow-table .positive {
    color: #28a745;
    font-weight: 600;
}

.cashflow-table .negative {
    color: #d32f2f;
    font-weight: 600;
}

.cashflow-table .balance-cell {
    font-size: 1.1rem;
}

/* Aide contextuelle */
.calculator-help {
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 1.2rem;
    margin-top: 1.5rem;
    border-radius: var(--radius-sm);
}

.calculator-help h5 {
    color: #004085;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.calculator-help p {
    color: #004085;
    margin: 0;
    line-height: 1.6;
}

.calculator-help ul {
    margin: 0.5rem 0 0 1.5rem;
    color: #004085;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-container {
        padding: 1.5rem;
    }

    .calculator-title {
        font-size: 1.3rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .result-highlight .result-value {
        font-size: 2rem;
    }

    .cashflow-table {
        font-size: 0.9rem;
    }

    .cashflow-table th,
    .cashflow-table td {
        padding: 0.7rem 0.5rem;
    }

    /* Tableau responsive - scroll horizontal */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Tableaux responsive sans wrapper HTML */
    .cashflow-table,
    .simulation-table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        min-width: 720px;
    }
}

/* Animation d'apparition */
.calculator-container {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   OUTIL MON BUDGET PRIORITAIRE
   ======================================== */

.budget-tool-container {
    background: #ffffff;
    border: 2px solid #00A878;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.budget-tool-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.budget-tool-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.budget-section {
    margin-bottom: 2.5rem;
}

.budget-section-title {
    font-size: 1.2rem;
    color: #00A878;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.budget-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.budget-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: end;
}

.budget-form-group {
    display: flex;
    flex-direction: column;
}

.budget-label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.budget-input,
.budget-select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.budget-input:focus,
.budget-select:focus {
    outline: none;
    border-color: #00A878;
}

.budget-add-btn {
    background: #00A878;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.budget-add-btn:hover {
    background: #008c65;
    transform: translateY(-2px);
}

.budget-list {
    margin-top: 1rem;
}

.budget-empty {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-style: italic;
}

.budget-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #00A878;
    transition: all 0.3s;
}

.budget-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.budget-item-essentiel {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.budget-item-important {
    border-left-color: #ffc107;
    background: #fffef5;
}

.budget-item-secondaire {
    border-left-color: #28a745;
    background: #f5fff5;
}

.budget-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.budget-item-amount {
    color: #666;
    font-size: 0.95rem;
}

.budget-item-monthly {
    color: #00A878;
    font-weight: 600;
    font-size: 0.9rem;
}

.budget-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.budget-delete-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.budget-priority-group {
    margin-bottom: 1.5rem;
}

.budget-priority-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.budget-summary {
    background: linear-gradient(135deg, #00A878 0%, #008c65 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.budget-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.budget-summary-total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.budget-summary-label {
    font-size: 1rem;
}

.budget-summary-value {
    font-size: 1.2rem;
    font-weight: 600;
}

.budget-summary-positive {
    color: #d4edda;
}

.budget-summary-negative {
    color: #f8d7da;
}

.budget-feedback {
    background: #e8f5f1;
    border-left: 4px solid #00A878;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.budget-feedback p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.budget-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.budget-action-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.budget-action-primary {
    background: #00A878;
    color: white;
}

.budget-action-primary:hover {
    background: #008c65;
    transform: translateY(-2px);
}

.budget-action-secondary {
    background: #6c757d;
    color: white;
}

.budget-action-secondary:hover {
    background: #5a6268;
}

.budget-action-danger {
    background: #dc3545;
    color: white;
}

.budget-action-danger:hover {
    background: #c82333;
}

.simulation-intro {
    background: #e8f5f1;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.simulation-intro p {
    margin: 0.5rem 0;
}

.simulation-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.simulation-table thead {
    background: #00A878;
    color: white;
}

.simulation-table th,
.simulation-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.simulation-table th {
    font-weight: 600;
}

.simulation-row-negative {
    background: #fff5f5;
}

.text-positive {
    color: #28a745;
    font-weight: 600;
}

.text-negative {
    color: #dc3545;
    font-weight: 600;
}

.simulation-analysis {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.budget-help {
    background: #e8f5f1;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.budget-help h5 {
    color: #00A878;
    margin-bottom: 1rem;
}

.budget-help ul {
    margin: 0;
    padding-left: 1.5rem;
}

.budget-help li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .budget-form-row {
        grid-template-columns: 1fr;
    }

    .budget-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .budget-delete-btn {
        align-self: flex-end;
    }

    .budget-actions {
        flex-direction: column;
    }

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

    .simulation-table {
        font-size: 0.85rem;
    }

    .simulation-table th,
    .simulation-table td {
        padding: 0.5rem 0.25rem;
    }
}