/* ============================================
   Car Rental Pricing Tiers Visualization
   ============================================ */

/* Main container */
.pricing-policy-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Section header */
.pricing-policy-header {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    text-align: center;
}

/* Table wrapper - using CSS Grid */
.pricing-table {
    display: grid;
    grid-template-rows: auto auto;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

/* Table rows */
.pricing-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0;
}

/* Header row styling */
.pricing-table-header {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

/* Body row styling */
.pricing-table-body {
    background: #ffffff;
}

/* Individual cells */
.pricing-cell {
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    font-size: 14px;
    white-space: nowrap;  /* Prevent wrapping */
}

.pricing-cell:last-child {
    border-right: none;
}

/* Header cells */
.pricing-table-header .pricing-cell {
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    font-size: 14px;
}

/* Price label cell (first column in price row) */
.pricing-cell-label {
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

/* Price value cells */
.pricing-cell-price {
    font-weight: 700;
    color: #059669;
    font-size: 18px;  /* Larger for better readability */
    letter-spacing: -0.5px;  /* Tighter spacing for numbers */
    transition: all 0.2s ease;
}

/* Hover effect for body row */
.pricing-table-body:hover {
    background: linear-gradient(to right, #f0fdf4 0%, #ffffff 100%);
}

/* Hover effect for price cells */
.pricing-table-body:hover .pricing-cell-price {
    color: #047857;
    transform: scale(1.02);
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .pricing-policy-section {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .pricing-policy-header {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .pricing-cell {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .pricing-cell-label {
        font-size: 13px;
    }
    
    .pricing-cell-price {
        font-size: 16px;  /* Still larger on tablet */
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .pricing-policy-section {
        padding: 12px;
    }
    
    .pricing-policy-header {
        font-size: 14px;
    }
    
    .pricing-cell {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .pricing-cell-label {
        font-size: 12px;
    }
    
    .pricing-cell-price {
        font-size: 15px;  /* Readable on mobile */
    }
}

