/**
 * Maxxis Rewards - Profile Styles
 * Clean card-based layout for profile management
 */

/* Profile Container */
.maxxis-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 120px;
}

/* Profile Header */
.maxxis-profile-header {
    margin-bottom: 25px;
}

.maxxis-profile-header h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.maxxis-profile-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Profile Grid */
.maxxis-profile-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Profile Sections */
.maxxis-profile-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.maxxis-profile-section .section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

.maxxis-profile-section .section-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Riders Table */
.riders-table-container {
    overflow-x: auto;
}

.riders-table {
    width: 100%;
    border-collapse: collapse;
}

.riders-table thead {
    background: #f8f9fa;
}

.riders-table th {
    text-align: left;
    padding: 12px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    border-bottom: 2px solid #e6e6e6;
}

.riders-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.riders-table tbody tr:hover {
    background: #f8f9fa;
}

.rider-class-badge {
    display: inline-block;
    background: #e8f4fd;
    color: #0c5460;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.race-number {
    font-weight: 700;
    color: #FF5400;
}

.no-riders {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Cashback Status Cards */
.cashback-status-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.status-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
}

.status-card.available {
    background: #00be0f7a;
}

.status-card.pending {
    background: #0d1f5130;
}

.status-card.approved,
.status-card.redeemed {
    background: #f1f1f1;
}

.status-card.expired {
    background: #f1f1f1;
}

.status-icon {
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
}

.status-content h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.status-content .status-label {
    margin: 4px 0 0;
    font-size: 13px;
    color: #666;
}

.status-content .status-date {
    margin: 2px 0 0;
    font-size: 12px;
    color: #999;
}

/* View Rider Button */
.view-rider-btn {
    background: #f4f6f9;
    border: 1px solid #e0e0e0;
    color: #333;
}

.view-rider-btn:hover {
    background: #e6e9ed;
}

/* Responsive */
@media (max-width: 767px) {
    .cashback-status-cards {
        grid-template-columns: 1fr;
    }
    
    .riders-table thead {
        display: none;
    }
    
    .riders-table tr {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #e6e6e6;
    }
    
    .riders-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 15px;
        border: none;
    }
    
    .riders-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        font-size: 12px;
    }
}
