/* Simple Partner Offers Layout */
.partner-offer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0.5rem;
}

/* Header Section */
.offer-header {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: center;
    min-height: 300px;
}

.header-left {
    position: relative;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.partner-logo-container {
    position: absolute;
    top: 0;
    left: 0;
}

.partner-logo {
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.offer-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    line-height: 1.3;
}

.offer-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

/* Offer Summary */
.offer-summary {
    background: #f8f9fa;
    border: 2px solid #1F6A95;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.offer-amount {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.amount-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.amount-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1F6A95;
    margin-bottom: 0.25rem;
}

.amount-note {
    font-size: 0.9rem;
    color: #666;
}

.offer-details {
    margin-bottom: 1rem;
}

.detail-item {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.offer-badges {
    margin-bottom: 1rem;
}

.offer-badge {
    background: #1F6A95;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0.25rem;
}

.offer-badge.urgency {
    background: #dc3545;
}

.cta-button {
    background: #1F6A95;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.cta-button:hover {
    background: #164f73;
    color: white !important;
    text-decoration: none;
}

.risk-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* Pro Tip Section */
.pro-tip-section {
    background: #e8f4fd;
    border: 1px solid #1F6A95;
    border-left: 4px solid #1F6A95;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
}

.pro-tip-content h3 {
    color: #1F6A95;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.pro-tip-content p {
    margin: 0;
    font-weight: 500;
}

/* Content Grid */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 2rem;
}

.content-main {
    min-width: 0;
}

.content-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: #1F6A95;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Tables */
.odds-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.odds-table th {
    background: #f8f9fa;
    padding: 0.75rem;
    text-align: left;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
}

.odds-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.odds-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Steps */
.steps-list {
    margin: 1rem 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.step-number {
    background: #1F6A95;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Stocks Grid */
.stocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.stock-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
}

/* Costs */
.costs-list {
    margin: 1rem 0;
}

.cost-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.cost-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cost-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cost-status.avoidable {
    background: #d4edda;
    color: #155724;
}

.cost-status.unavoidable {
    background: #f8d7da;
    color: #721c24;
}

.cost-solution {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* Table of Contents Styling */
.custom-toc {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.custom-toc .toc-title {
    font-size: 18px;
    font-weight: bold;
    color: #1F6A95;
    margin-bottom: 15px;
}

.custom-toc .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-toc .toc-item {
    margin-bottom: 8px;
    margin-left: 20px;
}

.custom-toc .toc-link {
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 5px 0;
    transition: all 0.2s ease;
    font-weight: normal;
    color: #1F6A95;
}

.custom-toc .toc-link:hover {
    text-decoration: underline;
}

/* Sidebar CTA */
.sidebar-cta {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .partner-logo-container {
        position: static;
        margin-bottom: 1rem;
    }
    
    .partner-offer-container {
        padding: 1rem 0.5rem;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .offer-title {
        font-size: 1.75rem;
        margin-top: 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: -1;
        position: static;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .cost-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}