/* AFFILIATES.CSS
    Stylesheet for the public affiliate page (php/affiliates.php)
*/

.page-content p {
    text-align: left;
}

.page-content .highlight {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(0, 123, 255, 0.05);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 8px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.step {
    padding: 1.5rem;
    background-color: #222;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
}

.step h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.step p {
    margin: 0;
    font-size: 1.05rem;
}

/* Earnings Chart Styles */
.earnings-chart-section {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 2rem;
}

.earnings-chart {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.earnings-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    font-size: 1rem;
}

.earnings-table thead {
    background-color: var(--primary-color);
    color: white;
}

.earnings-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.earnings-table td {
    padding: 0.9rem 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

.earnings-table tbody tr {
    transition: background-color 0.2s ease;
}

.earnings-table tbody tr:nth-child(odd) {
    background-color: #222;
}

.earnings-table tbody tr:nth-child(even) {
    background-color: #1a1a1a;
}

.earnings-table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.earnings-table td:first-child {
    font-weight: 700;
    color: var(--primary-color);
}

.earnings-table td:nth-child(2) {
    color: #4CAF50;
    font-weight: 600;
}

.earnings-table td:nth-child(3) {
    color: #FFD700;
    font-weight: 600;
}

/* Mobile responsiveness for earnings table */
@media screen and (max-width: 768px) {
    .earnings-table {
        font-size: 0.85rem;
    }
    
    .earnings-table th,
    .earnings-table td {
        padding: 0.6rem 0.5rem;
    }
    
    .earnings-table th {
        font-size: 0.95rem;
    }
}
