/* Pricing Page Styles */

/* ======================================
   Comparison Table - Clear & Defined Layout
   Fixed column alignment issue
   ====================================== */

.table.comparison-table {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid #e0e0e0;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bs-table-bg: white;
    table-layout: fixed;
    width: 100%;
}

/* Header Row - Clear tier labels */
.table.comparison-table > thead > tr > th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-weight: 700;
    padding: 1rem 0.5rem;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center;
    vertical-align: middle;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    --bs-table-bg: transparent;
    box-shadow: none !important;
    width: 14%;
}

/* First column wider for feature names */
.table.comparison-table > thead > tr > th:first-child {
    text-align: left;
    padding-left: 1.25rem;
    font-size: 0.8rem;
    width: 22%;
}

.table.comparison-table > thead > tr > th:last-child {
    border-right: none !important;
}

/* Body Rows - Clear structure */
.table.comparison-table > tbody > tr {
    transition: background-color 0.15s ease;
}

.table.comparison-table > tbody > tr:nth-child(odd) {
    background-color: #ffffff !important;
    --bs-table-bg: #ffffff;
}

.table.comparison-table > tbody > tr:nth-child(even) {
    background-color: #f7f8fc !important;
    --bs-table-bg: #f7f8fc;
}

.table.comparison-table > tbody > tr:hover {
    background-color: #eef1ff !important;
    --bs-table-bg: #eef1ff;
}

/* All Cells - Fixed widths and clear borders */
.table.comparison-table th,
.table.comparison-table td {
    text-align: center;
    vertical-align: middle;
    padding: 0.875rem 0.5rem;
    border-bottom: 1px solid #e8e8e8 !important;
    border-right: 1px solid #e8e8e8 !important;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table.comparison-table th:last-child,
.table.comparison-table td:last-child {
    border-right: none !important;
}

.table.comparison-table > tbody > tr > td {
    background: inherit !important;
    --bs-table-bg: inherit;
}

/* Feature Name Column - Left aligned, darker background */
.table.comparison-table .feature-name {
    text-align: left !important;
    font-weight: 600;
    color: #2c3e50;
    padding-left: 1.25rem !important;
    background-color: #f0f2f5 !important;
    border-right: 2px solid #d0d5dd !important;
    font-size: 0.85rem;
}

/* Value styling - block display for proper alignment */
.table.comparison-table td:not(.feature-name) {
    font-weight: 500;
    color: #495057;
}

/* Check marks - Green and bold */
.table.comparison-table .feature-included {
    color: #198754 !important;
    font-size: 1rem;
    font-weight: 600;
}

.table.comparison-table .feature-included i {
    font-size: 1.2rem;
}

/* X marks - Muted red */
.table.comparison-table .feature-not-included {
    color: #dc3545 !important;
    font-size: 1rem;
    opacity: 0.6;
}

/* Limited/text values - Simple color, no pill */
.table.comparison-table .feature-limited {
    color: #6c5c00 !important;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: transparent !important;
}

/* Price row styling */
.table.comparison-table tbody tr:first-child td:not(.feature-name) {
    font-weight: 700;
    font-size: 0.95rem;
    color: #667eea;
}

/* Support row differentiation */
.table.comparison-table tbody tr:last-child {
    border-top: 2px solid #e0e0e0 !important;
}
