.page-wrapper {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2rem;
}

.car-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.car-table th,
.car-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.car-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.car-table tbody tr {
    transition: all 0.3s ease;
}

.car-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
}

.car-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.car-image:hover {
    transform: scale(1.1);
}

.profile-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cost-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #28a745;
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Profile Box Styles */
.profile-box {
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.profile-header h3 {
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.close-btn {
    color: #6c757d;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: #f8f9fa;
    color: #dc3545;
    border-color: #dc3545;
    transform: rotate(90deg);
}

.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid #667eea;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.profile-info {
    width: 100%;
    max-width: 400px;
}

.profile-content p {
    margin: 6px 0;
    font-size: 0.95rem;
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.profile-content p:last-child {
    border-bottom: none;
}

.profile-content strong {
    min-width: 110px;
    color: #495057;
    font-weight: 600;
}

.profile-content span {
    color: #212529;
}

/* Responsive Design */
@media (max-width: 768px) {
    .car-table {
        font-size: 0.85rem;
    }
    
    .car-table th,
    .car-table td {
        padding: 10px 8px;
    }
    
    .car-image {
        width: 80px;
        height: 60px;
    }
    
    .profile-box {
        margin: 20px 10px;
        padding: 15px;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
    }
}