/* Reinvestment Opportunity Specific Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
}

.reinvestment-content {
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.reinvestment-intro,
.available-funds,
.reinvestment-options,
.reinvestment-benefits,
.reinvestment-actions {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.reinvestment-intro h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
    text-align: center;
    line-height: 1.3;
}

.reinvestment-intro p {
    font-size: 1.1rem;
    color: #57606a;
    max-width: 700px;
    margin: 0 auto 10px auto;
    line-height: 1.6;
    text-align: center;
}

.available-funds h2,
.reinvestment-options h2,
.reinvestment-benefits h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.funds-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #e6f7ff;
    border: 2px dashed #0d6efd;
    border-radius: 12px;
    text-align: center;
}

.funds-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 10px;
}

.funds-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 5px;
}

.funds-source {
    font-size: 0.9rem;
    color: #57606a;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.option-card {
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0d6efd;
}
.option-card:nth-child(2) .option-icon { color: #20c997; }
.option-card:nth-child(3) .option-icon { color: #fd7e14; }


.option-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #34495e;
}

.option-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #57606a;
    margin-bottom: 20px;
    flex-grow: 1;
}

.option-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.option-btn.primary {
    background-color: #0d6efd;
    color: white;
}
.option-btn.primary:hover {
    background-color: #0b5ed7;
}

.option-btn.secondary {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}
.option-btn.secondary:hover {
    background-color: #dee2e6;
}

.reinvestment-benefits ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.reinvestment-benefits li {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    border-left: 4px solid #20c997;
    position: relative;
}
.reinvestment-benefits li::before {
    content: "✓";
    color: #20c997;
    font-weight: bold;
    margin-right: 10px;
}


.reinvestment-benefits li strong {
    color: #2c3e50;
}

.reinvestment-actions {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.reinvestment-actions .cta-button, 
.reinvestment-actions .secondary-button {
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 220px;
}

.reinvestment-actions .cta-button {
    background: #20c997; /* Green for positive action */
    color: white;
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.2);
}
.reinvestment-actions .cta-button:hover {
    background: #1a9c7f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 201, 151, 0.3);
}

.reinvestment-actions .secondary-button {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}
.reinvestment-actions .secondary-button:hover {
    background: #dee2e6;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .reinvestment-intro h1 {
        font-size: 1.8rem;
    }
    .reinvestment-intro p {
        font-size: 1rem;
    }
    .available-funds h2, 
    .reinvestment-options h2,
    .reinvestment-benefits h2 {
        font-size: 1.4rem;
    }

    .funds-amount {
        font-size: 1.8rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .option-card {
        padding: 20px;
    }

    .reinvestment-benefits ul {
        grid-template-columns: 1fr;
    }

    .reinvestment-actions {
        flex-direction: column;
        gap: 15px;
    }
    .reinvestment-actions .cta-button, 
    .reinvestment-actions .secondary-button {
        width: 100%;
        min-width: auto;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
     .reinvestment-content {
        padding: 15px 0;
    }
    .reinvestment-intro, 
    .available-funds,
    .reinvestment-options,
    .reinvestment-benefits,
    .reinvestment-actions {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    .reinvestment-intro h1 {
        font-size: 1.5rem;
    }
    .reinvestment-intro p {
        font-size: 0.9rem;
    }
    .available-funds h2, 
    .reinvestment-options h2,
    .reinvestment-benefits h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    .funds-icon {
        font-size: 2rem;
    }
    .funds-amount {
        font-size: 1.5rem;
    }
    .funds-source {
        font-size: 0.85rem;
    }
    .option-card h3 {
        font-size: 1.1rem;
    }
    .option-card p {
        font-size: 0.9rem;
    }
    .reinvestment-benefits li {
        font-size: 0.9rem;
    }
}