/* Alizale Compare Table - 2 Column Layout */

.alizale-compare {
    max-width: 700px;
    margin: 0 auto;
    font-family: inherit;
}

.compare-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Header Section */
.compare-header {
    display: flex;
    align-items: stretch;
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    position: relative;
}

.compare-header .compare-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    text-align: center;
}

.compare-header .alizale-col {
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.12));
}

.compare-header img {
    max-width: 80px;
    height: auto;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.compare-header .alizale-col img {
    transform: scaleX(-1);
}

.compare-header .product-name {
    font-weight: 600;
    font-size: 16px;
    color: #444;
}

/* VS Badge - centered between columns */
.compare-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.compare-vs .vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    background: #fff;
    border-radius: 50%;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Vertical divider line */
.compare-header::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

/* Body Section */
.compare-body {
    position: relative;
}

/* Vertical divider for body */
.compare-body::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #f0f0f0;
    transform: translateX(-50%);
    z-index: 1;
}

.compare-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.compare-row:last-child {
    border-bottom: none;
    background: linear-gradient(to bottom, #f5f5f5, #fafafa);
}

.compare-row:last-child .alizale-col {
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.12));
}

.compare-row:last-child .feature-text {
    font-weight: 600;
    color: #444;
}

.compare-row:hover {
    background: rgba(0,0,0,0.01);
}

.compare-body .compare-col {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 10px;
}

.compare-body .alizale-col {
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.04), rgba(76, 175, 80, 0.08));
    justify-content: flex-start;
}

.compare-body .regular-col {
    justify-content: flex-end;
}

/* Feature text */
.feature-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #555;
}

/* Icons */
.alizale-compare .icon-yes,
.alizale-compare .icon-no {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'AlizalehIcons';
    font-size: 9px;
    font-weight: normal;
    color: #fff;
}

.alizale-compare .icon-yes {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.alizale-compare .icon-yes::before {
    content: "\e90b";
    display: block;
    line-height: 1;
    margin-top: 2px;
}

.alizale-compare .icon-no {
    background: linear-gradient(135deg, #ccc, #bbb);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.alizale-compare .icon-no::before {
    content: "✕";
    font-family: inherit;
    font-weight: 700;
    font-size: 11px;
}

/* Mobile Responsive */
@media (max-width: 550px) {
    .compare-header .compare-col {
        padding: 16px 12px;
    }

    .compare-header img {
        max-width: 60px;
    }

    .compare-header .product-name {
        font-size: 14px;
    }

    .compare-vs .vs-badge {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .compare-body .compare-col {
        padding: 12px 10px;
        gap: 8px;
    }

    .feature-text {
        font-size: 12px;
    }

    .alizale-compare .icon-yes,
    .alizale-compare .icon-no {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }

    .alizale-compare .icon-no::before {
        font-size: 9px;
    }
}

/* Very small screens - stack text below icon */
@media (max-width: 400px) {
    .compare-body .compare-col {
        flex-direction: column;
        text-align: center;
        padding: 14px 8px;
        gap: 6px;
    }

    .compare-body .alizale-col,
    .compare-body .regular-col {
        justify-content: center;
    }
}
