.bg-primary-soft {
    background-color: rgba(59, 130, 246, 0.1) !important;
}

.modal-header .btn-close {
    background-color: #f8fafc;
    opacity: 1;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-header .btn-close:hover {
    background-color: #fee2e2;
    color: #ef4444;
}

.comparison-checkbox {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    accent-color: #3b82f6;
}

#btn-comparar-pulido {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
}

#btn-comparar-pulido:not(:disabled) {
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.modal-comparison-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.comparison-column {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-column.winner-column {
    border-color: #10b981;
    background: linear-gradient(to bottom, #f0fdf4, #ffffff);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1);
}

.winner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: bounceIn 0.5s ease;
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e2e8f0;
}

.comparison-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #475569;
    font-size: 2rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
}

.comparison-metric {
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.comparison-metric:hover {
    background: #ffffff !important;
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.9rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
}

.metric-highlight {
    color: #10b981 !important;
}

.comparison-progress-container {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-top: 5px;
    overflow: hidden;
}

.comparison-progress-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-comparison-grid {
        grid-template-columns: 1fr;
    }
}