/*
 * Trooworths Become an Affiliate Page Styles
 * File: trooworths-become-affiliate.css
 */

/* Hero Section */
.affiliate-hero 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.affiliate-hero::before 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png') repeat;
    opacity: 0.05;
    pointer-events: none;
}

.affiliate-hero h1 
{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.affiliate-hero .lead 
{
    opacity: 0.9;
}

/* Affiliate Types Section */
.affiliate-types-section 
{
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.affiliate-type-card 
{
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.affiliate-type-card::before 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.affiliate-type-card.shipper-card::before 
{
    background: linear-gradient(90deg, #ffc107, #ff9900);
}

.affiliate-type-card.merchant-card::before 
{
    background: linear-gradient(90deg, #28a745, #20c997);
}

.affiliate-type-card:hover 
{
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.affiliate-type-card.shipper-card:hover 
{
    border-color: #ffc107;
}

.affiliate-type-card.merchant-card:hover 
{
    border-color: #28a745;
}

.affiliate-type-card .type-badge 
{
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.affiliate-type-card.shipper-card .type-badge 
{
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #ff9900;
}

.affiliate-type-card.merchant-card .type-badge 
{
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #28a745;
}

.affiliate-type-card .type-icon 
{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.affiliate-type-card.shipper-card .type-icon 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
}

.affiliate-type-card.merchant-card .type-icon 
{
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.35);
}

.affiliate-type-card .type-icon i 
{
    font-size: 2.5rem;
    color: #ffffff;
}

.affiliate-type-card.shipper-card .type-icon i 
{
    color: #1a1a2e;
}

.affiliate-type-card h2 
{
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.affiliate-type-card .type-description 
{
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.affiliate-type-card .type-features 
{
    text-align: left;
    margin-bottom: 30px;
}

.affiliate-type-card .type-features li 
{
    padding: 10px 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.affiliate-type-card .type-features li i 
{
    margin-top: 3px;
    flex-shrink: 0;
}

.affiliate-type-card.shipper-card .type-features li i 
{
    color: #ff9900;
}

.affiliate-type-card.merchant-card .type-features li i 
{
    color: #28a745;
}

.btn-apply-shipper 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    color: #1a1a2e;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-apply-shipper:hover 
{
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: #1a1a2e;
}

.btn-apply-merchant 
{
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-apply-merchant:hover 
{
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    color: #ffffff;
}

/* Section Headers */
.section-header 
{
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 
{
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-header p 
{
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Affiliate Section */
.affiliate-section 
{
    padding: 60px 0;
}

/* Affiliate Card */
.affiliate-card 
{
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 35px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.affiliate-card:hover 
{
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.affiliate-card.shipper-theme 
{
    border-left-color: #ffc107;
}

.affiliate-card.merchant-theme 
{
    border-left-color: #28a745;
}

.affiliate-heading 
{
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.affiliate-card p 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.affiliate-card p:last-child 
{
    margin-bottom: 0;
}

.affiliate-card a 
{
    color: #0f3460;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.affiliate-card a:hover 
{
    color: #ffc107;
    text-decoration: underline;
}

.affiliate-card strong 
{
    color: #1a1a2e;
}

.affiliate-card ul,
.affiliate-card ol 
{
    color: #555555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
}

.affiliate-card li 
{
    margin-bottom: 10px;
}

/* Benefits Grid */
.benefits-section 
{
    padding: 70px 0;
    background: #ffffff;
}

.benefit-card 
{
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover 
{
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #ffc107;
}

.benefit-card .benefit-icon 
{
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-card .benefit-icon i 
{
    font-size: 1.8rem;
    color: #ff9900;
}

.benefit-card .benefit-icon.green-icon 
{
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.benefit-card .benefit-icon.green-icon i 
{
    color: #28a745;
}

.benefit-card h4 
{
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.benefit-card p 
{
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works-section 
{
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.process-card 
{
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-card .process-number 
{
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffc107;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.process-card .process-icon 
{
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
}

.process-card .process-icon i 
{
    font-size: 2rem;
    color: #0f3460;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon i 
{
    color: #1a1a2e;
}

.process-card h4 
{
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.process-card p 
{
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Connector Line */
.process-card::after 
{
    content: '';
    position: absolute;
    top: 45px;
    right: -10%;
    width: 20%;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #e9ecef);
    display: none;
}

@media (min-width: 768px) 
{
    .process-card::after 
    {
        display: block;
    }
    
    .process-card:last-child::after 
    {
        display: none;
    }
}

/* Earnings Section */
.earnings-section 
{
    padding: 70px 0;
    background: #ffffff;
}

.earnings-card 
{
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.earnings-card:hover 
{
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.earnings-card.shipper-earnings 
{
    border-top: 4px solid #ffc107;
}

.earnings-card.shipper-earnings:hover 
{
    border-color: #ffc107;
}

.earnings-card.merchant-earnings 
{
    border-top: 4px solid #28a745;
}

.earnings-card.merchant-earnings:hover 
{
    border-color: #28a745;
}

.earnings-card .earnings-icon 
{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.earnings-card.shipper-earnings .earnings-icon 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
}

.earnings-card.merchant-earnings .earnings-icon 
{
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.earnings-card .earnings-icon i 
{
    font-size: 1.8rem;
    color: #ffffff;
}

.earnings-card.shipper-earnings .earnings-icon i 
{
    color: #1a1a2e;
}

.earnings-card h3 
{
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.earnings-card .earnings-list 
{
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.earnings-card .earnings-list li 
{
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.earnings-card .earnings-list li:last-child 
{
    border-bottom: none;
}

.earnings-card .earnings-list li strong 
{
    color: #1a1a2e;
}

.earnings-card .earnings-list li .amount 
{
    font-weight: 700;
}

.earnings-card.shipper-earnings .earnings-list li .amount 
{
    color: #ff9900;
}

.earnings-card.merchant-earnings .earnings-list li .amount 
{
    color: #28a745;
}

/* Coverage Map Section */
.coverage-section 
{
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.coverage-card 
{
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.coverage-card:hover 
{
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-color: #ffc107;
}

.coverage-card h5 
{
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffc107;
}

.coverage-card ul 
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-card ul li 
{
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coverage-card ul li i 
{
    color: #28a745;
    font-size: 0.8rem;
}

/* Requirements Checklist */
.requirements-list 
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li 
{
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.requirements-list li:hover 
{
    background: #e9ecef;
}

.requirements-list li i 
{
    color: #28a745;
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.requirements-list li.shipper-req i 
{
    color: #ff9900;
}

.requirements-list li.merchant-req i 
{
    color: #28a745;
}

.requirements-list li span 
{
    color: #555;
    line-height: 1.5;
}

/* Important Notice Section */
.notice-section 
{
    background: #fff8e1;
    padding: 40px 0;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
}

.notice-card 
{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.notice-card .notice-icon 
{
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-card .notice-icon i 
{
    font-size: 1.3rem;
    color: #1a1a2e;
}

.notice-card .notice-content h5 
{
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.notice-card .notice-content p 
{
    color: #555;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Dual Column Layout */
.dual-column 
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 991.98px) 
{
    .dual-column 
    {
        grid-template-columns: 1fr;
    }
}

.dual-column .column-card 
{
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.dual-column .column-card h4 
{
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dual-column .column-card.shipper-column h4 
{
    color: #ff9900;
    border-bottom: 2px solid #ffc107;
}

.dual-column .column-card.merchant-column h4 
{
    color: #28a745;
    border-bottom: 2px solid #28a745;
}

/* CTA Section */
.cta-section 
{
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 
{
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-section .lead 
{
    opacity: 0.9;
}

.cta-section .btn-warning 
{
    background-color: #ffc107;
    border-color: #ffc107;
    color: #1a1a2e;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-warning:hover 
{
    background-color: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.cta-section .btn-success 
{
    background-color: #28a745;
    border-color: #28a745;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-success:hover 
{
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

/* Last Updated Banner */
.bg-light.border-bottom 
{
    background-color: #f8f9fa !important;
}

.bg-light.border-bottom .text-muted 
{
    font-size: 0.95rem;
}

.bg-light.border-bottom i 
{
    color: #ffc107;
}

/* Action Button in Cards */
.btn-action 
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-action.btn-primary-action 
{
    background: #1a1a2e;
    color: #ffffff;
}

.btn-action.btn-primary-action:hover 
{
    background: #0f3460;
    color: #ffc107;
}

.btn-action.btn-secondary-action 
{
    background: #f8f9fa;
    color: #1a1a2e;
    border: 1px solid #dee2e6;
}

.btn-action.btn-secondary-action:hover 
{
    background: #e9ecef;
    border-color: #ffc107;
}

.btn-action.btn-shipper-action 
{
    background: linear-gradient(135deg, #ffc107 0%, #ff9900 100%);
    color: #1a1a2e;
}

.btn-action.btn-shipper-action:hover 
{
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-action.btn-merchant-action 
{
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

.btn-action.btn-merchant-action:hover 
{
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Comparison Table */
.comparison-table 
{
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table th,
.comparison-table td 
{
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th 
{
    background: #f8f9fa;
    font-weight: 700;
    color: #1a1a2e;
}

.comparison-table th:nth-child(2) 
{
    color: #ff9900;
}

.comparison-table th:nth-child(3) 
{
    color: #28a745;
}

.comparison-table td 
{
    color: #555;
}

.comparison-table tr:hover td 
{
    background: #f8f9fa;
}

.comparison-table .check-icon 
{
    color: #28a745;
}

.comparison-table .cross-icon 
{
    color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) 
{
    .affiliate-hero 
    {
        padding: 80px 0 60px;
    }
    
    .affiliate-hero h1 
    {
        font-size: 2.5rem;
    }
    
    .affiliate-section 
    {
        padding: 40px 0;
    }
    
    .affiliate-card 
    {
        padding: 25px;
    }
    
    .affiliate-heading 
    {
        font-size: 1.3rem;
    }
    
    .affiliate-types-section,
    .benefits-section,
    .how-it-works-section,
    .earnings-section,
    .coverage-section 
    {
        padding: 50px 0;
    }
    
    .section-header h2 
    {
        font-size: 1.8rem;
    }
    
    .affiliate-type-card 
    {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) 
{
    .affiliate-hero 
    {
        padding: 60px 0 40px;
    }
    
    .affiliate-hero h1 
    {
        font-size: 2rem;
    }
    
    .affiliate-hero .lead 
    {
        font-size: 1.1rem;
    }
    
    .affiliate-section 
    {
        padding: 30px 0;
    }
    
    .affiliate-card 
    {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .affiliate-heading 
    {
        font-size: 1.2rem;
    }
    
    .affiliate-card p 
    {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .affiliate-types-section,
    .benefits-section,
    .how-it-works-section,
    .earnings-section,
    .coverage-section 
    {
        padding: 40px 0;
    }
    
    .section-header h2 
    {
        font-size: 1.5rem;
    }
    
    .affiliate-type-card 
    {
        padding: 30px 25px;
    }
    
    .affiliate-type-card .type-icon 
    {
        width: 80px;
        height: 80px;
    }
    
    .affiliate-type-card .type-icon i 
    {
        font-size: 2rem;
    }
    
    .benefit-card 
    {
        margin-bottom: 20px;
    }
    
    .process-card::after 
    {
        display: none;
    }
    
    .earnings-card 
    {
        margin-bottom: 30px;
    }
    
    .notice-card 
    {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .cta-section 
    {
        padding: 60px 0;
    }
    
    .cta-section h2 
    {
        font-size: 1.75rem;
    }
    
    .comparison-table 
    {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td 
    {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) 
{
    .affiliate-hero
    {
        margin-top: 136px;
    }
}

/* Print Styles */
@media print 
{
    .affiliate-hero 
    {
        background: #1a1a2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .affiliate-card 
    {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .cta-section 
    {
        display: none;
    }
}

/* Smooth Scroll for Anchor Links */
html 
{
    scroll-behavior: smooth;
}

/* Accessibility Focus States */
.affiliate-card a:focus 
{
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.btn-apply-shipper:focus,
.btn-apply-merchant:focus,
.btn-warning:focus 
{
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}