/**
 * User Profile Styles
 * 
 * @package ParkBooking
 */

.pb-profile-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* === Profile Header === */
.pb-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 40px;
}

.pb-profile-avatar img {
    border-radius: 50%;
    border: 4px solid white;
}

.pb-profile-info h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.pb-profile-info p {
    margin: 0;
    opacity: 0.9;
}

/* === Bookings Section === */
.pb-bookings-section h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #2d3748;
}

/* === Filters === */
.pb-booking-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pb-filter-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
}

.pb-filter-btn:hover {
    border-color: #667eea;
}

.pb-filter-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* === Booking Cards === */
.pb-bookings-list {
    display: grid;
    gap: 20px;
}

.pb-booking-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

.pb-booking-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.pb-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.pb-booking-number {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-booking-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.pb-status-upcoming {
    background: #c6f6d5;
    color: #22543d;
}

.pb-status-past {
    background: #e2e8f0;
    color: #2d3748;
}

.pb-status-cancelled {
    background: #fed7d7;
    color: #742a2a;
}

.pb-booking-price strong {
    color: #667eea;
    font-size: 20px;
}

.pb-booking-details {
    margin-bottom: 16px;
}

.pb-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
    color: #4a5568;
}

.pb-detail-icon {
    font-size: 20px;
    width: 24px;
}

.pb-booking-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.pb-booking-actions .pb-btn {
    flex: 1;
    text-align: center;
}

/* === No Bookings === */
.pb-no-bookings {
    text-align: center;
    padding: 60px 20px;
    background: #f7fafc;
    border-radius: 12px;
}

.pb-no-bookings p {
    color: #718096;
    margin-bottom: 20px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .pb-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pb-booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .pb-booking-actions {
        flex-direction: column;
    }
}
