// Cross Promo Widget Styles - Updated Design
.cross-promo-widget {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 24px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);

  // Header Section with Badges
  .header-section {
    margin-bottom: 16px;

    .badge-section {
      display: flex;
      gap: 6px;
      margin-bottom: 8px;

      .badge {
        display: inline-flex;
        align-items: center;
        padding: 2px 6px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 0.025em;

        &.badge-free {
          background-color: #dbeafe;
          color: #1e40af;
        }

        &.badge-recommended {
          background-color: #fef3c7;
          color: #92400e;
        }
      }
    }
  }

  // Title Section
  .title-section {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;

    .product-logo {
      height: 32px;
      width: auto;
      max-width: 120px;
      margin-bottom: 8px;
    }

    .product-title {
      font-size: 14px;
      font-weight: 600;
      color: #111827;
      margin: 0;
      line-height: 1.4;
    }
  }

  // Description Section
  .product-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px 0;
  }

  // Button Section
  .install-button {
    width: 100%;
    height: 40px;
    background: #059669;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;

    &:hover {
      background: #047857;
      transform: translateY(-1px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .install-button-content {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    svg {
      width: 16px;
      height: 16px;
    }
  }

  // Responsive design
  @media (max-width: 1200px) {
    margin-top: 16px;
    padding: 20px;

    .header-section .badge-section {
      flex-wrap: wrap;
    }

    .title-section .product-title {
      font-size: 13px;
    }

    .product-description {
      font-size: 13px;
    }

    .install-button {
      height: 36px;
      font-size: 13px;
    }
  }
}

// Add subtle animation on load
.cross-promo-widget {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
