/* Risk Management Guide - Specific Styles */

/* Risk Explanation */
.risk-explanation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.explanation-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.explanation-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.explanation-card p {
    color: #1e40af;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Importance Grid */
.importance-grid {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

.importance-grid h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.importance-items {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.importance-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.importance-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.importance-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.importance-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Statistics Comparison */
.statistics-comparison {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

.statistics-comparison h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row.comparison-header {
    background: #f8fafc;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-cell {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Golden Rules */
.golden-rules {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.rule-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.rule-card.featured {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.rule-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.rule-card.featured .rule-number {
    background: #10b981;
}

.rule-card h3 {
    color: #1f2937;
    margin: 1rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.rule-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
}

.rule-example {
    background: #f1f5f9;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #475569;
    text-align: left;
}

.rules-summary {
    margin-top: 2rem;
}

.rules-summary h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.summary-box {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border: 2px solid #fcd34d;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.summary-box p {
    color: #92400e;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Position Sizing */
.position-sizing {
    margin-top: 2rem;
}

.sizing-explanation {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.sizing-explanation h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.sizing-explanation p {
    color: #1e40af;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.sizing-formula {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sizing-formula h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.formula-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    width: fit-content;
    margin: auto;
}

.formula {
    background: #1f2937;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.formula-explanation ul {
    margin: 0;
    padding-left: 1.25rem;
}

.formula-explanation li {
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.sizing-examples {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sizing-examples h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.example-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.example-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
}

.example-details {
    margin-bottom: 1rem;
}

.example-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.example-row.total {
    border-top: 2px solid #1f2937;
    font-weight: 700;
    margin-top: 0.5rem;
    color: #10b981;
}

.example-note {
    font-size: 0.875rem;
    font-style: italic;
    color: #6b7280;
    margin: 0;
    text-align: center;
}

/* Calculator */
.sizing-calculator {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

.sizing-calculator h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.calculator-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.input-group label {
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
}

.input-group input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.calculator-result {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-result button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculator-result button:hover {
    background: #2563eb;
}

.result-display {
    min-height: 200px;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.result-success {
    color: #10b981;
}

.result-success h4 {
    color: #065f46;
    margin-bottom: 1rem;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

/* Stop-Loss Strategies */
.stop-loss-strategies {
    margin-top: 2rem;
}

.strategy-overview {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.strategy-overview h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.strategy-overview p {
    color: #1e40af;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.strategy-types {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.strategy-types h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.strategy-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.strategy-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.strategy-card.featured {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.strategy-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.strategy-details p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pros, .cons {
    padding: 1rem;
    border-radius: 6px;
}

.pros {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.cons {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.pros h5 {
    color: #166534;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.cons h5 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pros ul, .cons ul {
    margin: 0;
    padding-left: 1rem;
}

.pros li {
    color: #166534;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.cons li {
    color: #dc2626;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.stop-loss-tips {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.stop-loss-tips h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.tip-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.tip-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.tip-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.tip-card li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Diversification */
.diversification {
    margin-top: 2rem;
}

.diversification-explanation {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.diversification-explanation h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.diversification-explanation p {
    color: #1e40af;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.diversification-types {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.diversification-types h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.diversification-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.diversification-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.diversification-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.diversification-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.sector-examples, .region-examples, .asset-examples, .time-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sector-examples span, .region-examples span, .asset-examples span, .time-examples span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.recommendation {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 0.75rem;
    color: #166534;
    font-size: 0.875rem;
}

.portfolio-examples {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

.portfolio-examples h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.portfolio-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.portfolio-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
}

.portfolio-allocation {
    margin-bottom: 1rem;
}

.allocation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.allocation-bar {
    height: 20px;
    border-radius: 4px;
    min-width: 20px;
}

.allocation-item span:last-child {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.portfolio-characteristics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-characteristics span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Trading Psychology */
.trading-psychology {
    margin-top: 2rem;
}

.psychology-intro {
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.psychology-intro h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.psychology-intro p {
    color: #92400e;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

.emotional-biases {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.emotional-biases h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.bias-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.bias-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.bias-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.1);
}

.bias-card h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.bias-card p {
    color: #4b5563;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.bias-example {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #dc2626;
    font-style: italic;
}

.emotional-control {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.emotional-control h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.control-strategies {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.strategy-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.strategy-section h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.strategy-section ul {
    margin: 0;
    padding-left: 1.25rem;
}

.strategy-section li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.trading-journal {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.trading-journal h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.journal-explanation {
    background: #f0f9ff;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.journal-explanation p {
    color: #1e40af;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.journal-template h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

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

.field-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
}

.field-group strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.field-group ul {
    margin: 0;
    padding-left: 1rem;
}

.field-group li {
    color: #4b5563;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

/* Tools & Broker Section */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.comparison-card.featured {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.comparison-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.broker-info img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.broker-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.rating {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.risk-management-features {
    text-align: left;
    margin-bottom: 2rem;
}

.risk-management-features h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.risk-management-features ul {
    margin: 0;
    padding-left: 1.25rem;
}

.risk-management-features li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.broker-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.broker-actions .btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.broker-actions .btn-primary {
    background: #3b82f6;
    color: white;
}

.broker-actions .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.broker-actions .btn-secondary {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.broker-actions .btn-secondary:hover {
    background: #3b82f6;
    color: white;
}

.additional-tools {
    margin-top: 2rem;
}

.additional-tools h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.tool-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.tool-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.tool-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-features span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .comparison-cell {
        text-align: left;
        padding: 0.25rem 0;
    }
    
    .calculator-box {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .control-strategies {
        grid-template-columns: 1fr;
    }
    
    .template-fields {
        grid-template-columns: 1fr;
    }
    
    .golden-rules {
        grid-template-columns: 1fr;
    }
    
    .examples-grid,
    .strategy-grid,
    .diversification-grid,
    .portfolio-grid,
    .bias-grid,
    .tools-grid,
    .tips-grid,
    .importance-items {
        grid-template-columns: 1fr;
    }
} 