.founder-calculator-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #111827;
}

.calculator-header p {
    color: #6b7280;
    margin: 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.founder-card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.2s ease;
}

.founder-card:hover {
    border-color: #6366f1;
}

.remove-founder {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.remove-founder:hover {
    color: #ef4444;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #374151;
}

.helper-text {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-style: italic;
}

.input-group input[type="text"],
.input-group input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.input-group input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.slider-value {
    font-size: 12px;
    color: #6366f1;
    font-weight: 700;
    float: right;
}

.calculator-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #4f46e5;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.results-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #e5e7eb;
}

.results-section h3 {
    text-align: center;
    margin-bottom: 25px;
}

.results-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.result-item {
    background: #eef2ff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 150px;
    border: 2px solid #6366f1;
}

.result-name {
    font-size: 14px;
    color: #4338ca;
    display: block;
    margin-bottom: 5px;
}

.result-percent {
    font-size: 28px;
    font-weight: 800;
    color: #1e1b4b;
}

.calculation-breakdown {
    margin-top: 25px;
    text-align: center;
    color: #9ca3af;
}

/* Tool Navigation */
.tools-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.nav-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    background: #f3f4f6;
    color: #111827;
}

.nav-tab.active {
    background: #6366f1;
    color: white;
}

/* Salary Calculator Dashboard */
.salary-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.card h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input {
    width: auto !important;
}

/* Results Dashboard */
.results-section.dashboard {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
}

.summary-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.risk-high {
    color: #ef4444;
}

.risk-medium {
    color: #f59e0b;
}

.risk-low {
    color: #10b981;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    margin-bottom: 30px;
}

.flags-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flags-list li {
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    border-left: 4px solid #ccc;
}

.flag-red {
    background: #fef2f2;
    border-color: #ef4444 !important;
    color: #991b1b;
}

.flag-yellow {
    background: #fffbeb;
    border-color: #f59e0b !important;
    color: #92400e;
}

.flag-green {
    background: #f0fdf4;
    border-color: #10b981 !important;
    color: #166534;
}

.commentary-box {
    background: #111827;
    color: #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    border-left: 4px solid #6366f1;
}

/* Visualization */
.runway-scenarios {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.scenario {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 15px;
}

.bar-container {
    background: #f3f4f6;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: #6366f1;
    width: 0%;
    transition: width 0.5s ease;
}

.scenario.highlight .bar {
    background: #111827;
}

/* Print Media */
@media print {

    .no-print,
    .tools-navigation,
    .calculator-actions,
    .input-section {
        display: none !important;
    }

    .founder-tools-container {
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .results-section.dashboard {
        display: block !important;
        border: none !important;
    }

    .commentary-box {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #ccc !important;
    }
}

@media (max-width: 768px) {

    .salary-calculator-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .summary-top {
        grid-template-columns: 1fr;
    }
}

/* --- Business Idea Reality Checker --- */

.reality-checker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

/* Checker Options */
.checkbox-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.option-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 100px;
}

.option-card:hover {
    border-color: #a5b4fc;
    background: #fdfbff;
}

.option-card.selected {
    border-color: #6366f1;
    background: #eef2ff;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.1);
}

.option-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.opt-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
    font-weight: 500;
}

.option-card.selected .opt-text {
    color: #1e1b4b;
    font-weight: 600;
}

.opt-score {
    display: none;
    /* Hidden by default, useful for debugging or if user wants to see values later */
    font-size: 10px;
    color: #9ca3af;
    align-self: flex-end;
}

.flag-alert {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Report Card Styling */
#rc-res-report {
    background: #fff;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #111827;
    font-family: inherit;
    white-space: pre-wrap;
}

.recommendation-section h2 {
    font-size: 32px;
    letter-spacing: -0.5px;
}