/* Van Rental Plugin - Minimal CSS */

.van-rental-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.van-rental-grid.van-grid-1 { grid-template-columns: 1fr; }
.van-rental-grid.van-grid-2 { grid-template-columns: repeat(2, 1fr); }
.van-rental-grid.van-grid-3 { grid-template-columns: repeat(3, 1fr); }
.van-rental-grid.van-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .van-rental-grid { grid-template-columns: 1fr !important; }
}

.van-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.van-card:hover {
    transform: translateY(-2px);
}

.van-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.van-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.van-placeholder-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.van-card-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.van-card-status.available { background: #28a745; }
.van-card-status.rented { background: #dc3545; }
.van-card-status.maintenance { background: #ffc107; color: #000; }

.van-card-content {
    padding: 15px;
}

.van-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.van-title a {
    color: #333;
    text-decoration: none;
}

.van-title a:hover {
    color: #0073aa;
}

.van-price {
    margin-bottom: 10px;
}

.van-price .price-amount {
    font-size: 20px;
    font-weight: bold;
    color: #0073aa;
}

.van-price .price-period {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.van-details {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.van-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.van-taxonomies {
    margin-bottom: 15px;
}

.van-category-tag,
.van-location-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin: 2px;
}

.van-card-actions {
    display: flex;
    gap: 8px;
}

.van-view-btn,
.van-book-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.van-view-btn {
    background: #666;
    color: white;
    text-decoration: none;
}

.van-view-btn:hover {
    background: #555;
    color: white;
    text-decoration: none;
}

.van-book-btn {
    background: #00AFA5;
    color: white;
    text-decoration: none;
}

.van-book-btn:hover {
    background: #F26E21;
    color: white;
    text-decoration: none;
}